The International Simutrans Forum

Development => Bug Reports => Known bugs and features => Topic started by: tastytea on May 09, 2024, 01:08:31 PM

Title: r11164 - font fallback to .bdf does not work
Post by: tastytea on May 09, 2024, 01:08:31 PM
i compiled simutrans (using make) on gentoo linux with:

USE_FREETYPE=
USE_FONTCONFIG=

which should work, if i interpret the email from roboron correctly? the strace output looks like a font (cyr.bdf) is loaded but later it says that no fonts are found. the error does not appear with freetype enabled.

openat(AT_FDCWD, "font/cyr.bdf", O_RDONLY) = 4
[...]
write(2, "dr_fatal_notify: ERROR: No fonts"..., 40dr_fatal_notify: ERROR: No fonts found!
Title: Re: r11164 - font fallback to .bdf does not work
Post by: prissi on May 09, 2024, 01:28:00 PM
Freetype is now required to run a non-commandline server build.
Title: Re: r11164 - font fallback to .bdf does not work
Post by: Roboron on May 09, 2024, 01:31:00 PM
Freetype is now required (it will be the one that loads the BDF fonts if no other is found), but the 124 makefile was not updated to reflect this and you can technically compile without it, only for Simutrans to fail to load fonts.

Also see https://forum.simutrans.com/index.php/topic,22961.0.html