14 Commits

Author SHA1 Message Date
Kevin Granade 99a226ad45 Remove Roboto as a default font
It's proportional and breaks a bunch of menus because we use fixed-width alignment pervasively.
2025-09-29 09:47:53 -07:00
moxian f6c71bc5e9 update paths to moved docs 2025-01-14 12:39:38 -08:00
Daniel Brooks 675bad55e7 set the default Roboto font to Light hinting instead of Auto 2025-01-01 09:55:49 +10:00
CLIDragon 48d62863e9 Make font hinting user-configurable.
* Configure default hinting for Terminus and Roboto to better values.
* Document font options in docs/FONT_OPTIONS.md
* Fix the slight blurriness of Terminus on ImGui which was caused by
  not hinting in bitmap mode.
2024-12-31 14:43:43 +10:00
Daniel Brooks da464d07a2 WIP font stuff for ImGui
Make ImGui use Roboto by default, and the Freetype rasterizer. Load
both the configured gui font and the normal monospaced font for use by
ImGui. Make item descriptions use the mono font for drawing ASCII artwork.

Fixes #76420
2024-09-18 11:20:36 -07:00
Binrui Dong d233c4fe3c Resume shipping Terminus TTF font 2021-10-08 16:10:33 +08:00
Binrui Dong 2fe4cabe08 Switch to VecTerminus font 2021-10-01 17:55:37 +08:00
ZhilkinSerg a00d447220 Rework font loading to use file paths instead of font names 2020-11-09 16:52:12 +03:00
Isaac Freund 5d5194c4ff Return the default font to Terminus and slightly improve fallback handling (#37573)
* Always load unifont as a fallback

This prevents users from shooting themselves in the foot by selecting a
different font and removing unifont from their font list

* Add better default font settings

Return the default font to Terminus

Make the (over)map font square
2020-01-31 09:38:35 +03:00
KorGgenT dd92b01d4d lint data\fontdata.json 2019-01-15 19:50:32 -05:00
DanmakuDan 0afcde57a3 Update default values in fontdata.json and font_loader.h to prevent tiny
overmap font usage on new game installations.
2017-09-15 20:19:26 -05:00
Kevin Granade 503c0ccd7a Merge remote-tracking branches 'origin/pr/19961' and 'origin/pr/19965'
* origin/pr/19961:
  Add an overload of input_manager::get_input_event without parameters
  Remove last version of curses_getch
  Merge curses_getch into input_manager::get_input_event.
  Remove the getch implementations in cursesport.cpp
  Copy implementation of input_manager::get_input_event to wincurses.cpp
  Properly implement the wait_for_any_key function
  Remove unused function.
  Use input manager in outpt.cpp instead of raw getch
  Use input manager in debug.cpp instead of raw getch
  Add and use a dedicated wait_for_any_key function
  Use InputManager::get_input_event instead of plain getch

* origin/pr/19965:
  Add unifont as default SDL font
2017-01-11 23:20:34 -08:00
Brett Dong ccab39d793 Add unifont as default SDL font 2017-01-07 11:39:09 +08:00
Thomas Kirsten c32070d248 Add a second font for the map terrain.
Font data is now loaded from a data/fontadata.json. Entries there override entries from the original data file.
It allows a normal font and a font used to display the w_terrain window in the game.
2014-03-14 18:16:04 +01:00