Skip to content

Commit

Permalink
Add better default font settings
Browse files Browse the repository at this point in the history
Return the default font to Terminus

Make the (over)map font square
  • Loading branch information
ifreund committed Jan 31, 2020
1 parent 3deaec3 commit 4d4dbef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
27 changes: 14 additions & 13 deletions data/fontdata.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"fontblending": false,
"fontwidth": 8,
"fontheight": 16,
"fontsize": 16,
"typeface": "unifont",
"map_fontwidth": 8,
"map_fontheight": 16,
"map_fontsize": 16,
"map_typeface": "unifont",
"overmap_fontwidth": 8,
"overmap_fontheight": 16,
"overmap_fontsize": 16,
"overmap_typeface": "unifont"
"//1": "If more than one font is specified for a typeface the list is treated as a fallback order.",
"//2": "unifont will always be used as a 'last resort' fallback even if not listed here.",
"typeface": [
"Terminus",
"unifont"
],
"map_typeface": [
"Terminus",
"unifont"
],
"overmap_typeface": [
"Terminus",
"unifont"
]
}
4 changes: 2 additions & 2 deletions src/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ void options_manager::add_options_graphics()

add( "MAP_FONT_WIDTH", "graphics", translate_marker( "Map font width" ),
translate_marker( "Set the map font width. Requires restart." ),
8, 100, 8, COPT_CURSES_HIDE
8, 100, 16, COPT_CURSES_HIDE
);

add( "MAP_FONT_HEIGHT", "graphics", translate_marker( "Map font height" ),
Expand All @@ -1696,7 +1696,7 @@ void options_manager::add_options_graphics()

add( "OVERMAP_FONT_WIDTH", "graphics", translate_marker( "Overmap font width" ),
translate_marker( "Set the overmap font width. Requires restart." ),
8, 100, 8, COPT_CURSES_HIDE
8, 100, 16, COPT_CURSES_HIDE
);

add( "OVERMAP_FONT_HEIGHT", "graphics", translate_marker( "Overmap font height" ),
Expand Down

0 comments on commit 4d4dbef

Please sign in to comment.