News:

Want to praise Simutrans?
Your feedback is important for us ;D.

r11164 - font fallback to .bdf does not work

Started by tastytea, May 09, 2024, 01:08:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tastytea

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!

prissi

Freetype is now required to run a non-commandline server build.

Roboron

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