Post Thursday, 8th June 2017, 23:10

How to properly set fonts in 0.20? (crawlrc)

I'm having a problem with attempting to set the fonts in DCSS 0.20, under Linux (Kubuntu 17.04). Normally, with earlier versions, setting the fonts was easy, through the .crawlrc file. Now, however, when I use my older .crawlrc file to set them, the position and scaling of the fonts are all messed up. It's easier to show than tell, though:


I don't remember this happening with earlier versions. Is there something that's changed with 0.20? I'd like to be able to make the fonts larger because they're a bit too small to easily read on my monitor.

This is the code I have in my .crawlrc file:

tile_font_crt_file = /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
tile_font_crt_size = 18

tile_font_stat_file = /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
tile_font_stat_size = 16

tile_font_msg_file = /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
tile_font_msg_size = 16

tile_font_tip_file = /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
tile_font_tip_size = 16

tile_font_lbl_file = /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf
tile_font_lbl_size = 16

#tile_font_ft_light = false