Skip to content

Commit

Permalink
Lato is now the new game font. Initially, this will be limited to GUI…
Browse files Browse the repository at this point in the history
…2, but as tech is updated in the project, we hope to make Lato the new default everywhere in the game.
  • Loading branch information
ancestral committed Mar 30, 2016
1 parent de270e4 commit 353a9c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
12 changes: 6 additions & 6 deletions data/gui/macros/_initial.cfg
Expand Up @@ -29,7 +29,7 @@
# If the text is too high it returns the top side.
# Rounding happens to the bottom side.
#define GUI__TEXT_VERTICALLY_CENTRED
"(if(text_height < height, (height - text_height + 1) / 2, 0))"
"(if(text_height < height, (height - text_height - 2) / 2, 0))"
#enddef

#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOR
Expand Down Expand Up @@ -291,21 +291,21 @@
#enddef

#define GUI_NORMAL__FONT_SIZE__TINY
10
13
#enddef

#define GUI_NORMAL__FONT_SIZE__SMALL
12
15
#enddef

#define GUI_NORMAL__FONT_SIZE__DEFAULT
14
17
#enddef

#define GUI_NORMAL__FONT_SIZE__LARGE
18
20
#enddef

#define GUI_NORMAL__FONT_SIZE__TITLE
20
22
#enddef
11 changes: 9 additions & 2 deletions data/hardwired/fonts.cfg
Expand Up @@ -4,13 +4,20 @@
# This is marked as translatable, to allow translators to
# provide different font orders: one just has to install the
# missing fonts without needing to change the gmo files
order=_ "DejaVuSans.ttf,Andagii.ttf,DroidSansJapanese.ttf,DroidSansFallbackFull.ttf,Junicode-Regular.ttf"
family_order=_ "DejaVu Sans,Andagii,Droid Sans Japanese,Droid Sans Fallback,Junicode"
order=_ "Lato-Regular.ttf,DejaVuSans.ttf,Andagii.ttf,DroidSansJapanese.ttf,DroidSansFallbackFull.ttf,Junicode-Regular.ttf"
family_order=_ "Lato"

# Used by GUI2 only, hence no [font] blocks for these. The font files are
# also automatically determined.
family_order_monospace=_ "DejaVu Sans Mono"

[font]
name="Lato-Regular.ttf"
bold_name="Lato-Bold.ttf"
italic_name="Lato-Italic.ttf"
codepoints="32-126,160-831,834,837-879,885,890-893,900-902,904-906,908,910-929,931-974,976-1158,1160-1299,3647,7424-7626,7678-7835,7838,7840-7929,7936-7957,7960-7965,7968-8005,8008-8013,8016-8023,8025,8027,8029,8031-8048,8050,8052,8054,8056,8058,8060,8064-8116,8118-8122,8124-8125,8127-8132,8134-8136,8138,8140-8146,8150-8154,8157-8162,8164-8170,8172-8173,8178-8180,8182-8184,8186,8188,8190,8194-8208,8210-8226,8230,8239-8240,8242-8244,8249-8250,8252-8254,8260,8286-8287,8304-8305,8308-8340,8352-8373,8376-8378,8413,8453,8467,8470-8471,8480,8482,8494,8498,8525-8526,8531-8543,8579-8580,8592-8601,8616,8706,8710,8719,8721-8722,8725,8729-8730,8734-8735,8745,8747,8776,8800-8801,8804-8805,8962,8976,8992-8993,9312-9331,9450-9460,9471-9472,9474,9484,9488,9492,9496,9633,9642-9643,9674-9676,9679,9702,9728,9788,9833,10102-10111,11360-11372,11380-11383,11799,42775-42778,42784-42785,63743,64256-64260,65056-65059,65279"
[/font]

[font]
name="DejaVuSans.ttf"
bold_name="DejaVuSans-Bold.ttf"
Expand Down

0 comments on commit 353a9c3

Please sign in to comment.