Skip to content

Commit

Permalink
Medium font for state names
Browse files Browse the repository at this point in the history
  • Loading branch information
kocio-pl committed Dec 27, 2018
1 parent 4f23825 commit 939bf59
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions fonts.mss
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,44 @@ regular text and can be used for emphasis. Fallback is a regular style.
@book-fonts;

/*
Medium text is heavier than regular text, but ligther than bold.
Fallback is a regular style.
*/
@medium-fonts: "Noto Sans Medium",
"Noto Sans CJK JP Medium",
"Noto Sans Armenian Medium",
"Noto Sans Bengali UI Medium",
"Noto Sans Cham Medium",
"Noto Sans Cherokee Medium",
"Noto Sans Devanagari UI Medium",
"Noto Sans Ethiopic Medium",
"Noto Sans Georgian Medium",
"Noto Sans Gujarati UI Medium",
"Noto Sans Gurmukhi UI Medium",
"Noto Sans Hebrew Medium",
"Noto Sans Kannada UI Medium",
"Noto Sans Khmer UI Medium",
"Noto Sans Lao UI Medium",
"Noto Sans Malayalam UI Medium",
"Noto Sans Myanmar UI Medium",
"Noto Sans Oriya UI Medium",
"Noto Sans Sinhala UI Medium",
"Noto Sans Sinhala Medium",
"Noto Sans Symbols Medium",
"Noto Sans Tamil UI Medium",
"Noto Sans Telugu UI Medium",
"Noto Sans Thaana Medium",
"Noto Sans Thai UI Medium",
"Noto Sans Tibetan Medium",

"Noto Sans Arabic UI Medium",

"Noto Naskh Arabic UI Medium",

"DejaVu Sans Medium",

@book-fonts;
/*
Italics are only available for the base font, not the other scripts.
For a considerable number of labels this style will make no difference to the regular style.
*/
Expand Down
2 changes: 1 addition & 1 deletion placenames.mss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
text-line-spacing: -1.5; // -0.15 em
text-margin: 7.0; // 0.7 em
text-fill: @state-labels;
text-face-name: @oblique-fonts;
text-face-name: @medium-fonts;
text-halo-fill: @standard-halo-fill;
text-halo-radius: @standard-halo-radius * 1.5;
text-placement: interior;
Expand Down

0 comments on commit 939bf59

Please sign in to comment.