Closed zbuc closed 1 year ago
I tried putting my font files in a subdirectory, e.g.:
font_mapping.set_default(asset_server.load("fonts/lato-light.kttf"));
With the fonts directory containing all the necessary files:
fonts
lato-light.kayak_font lato-light.kttf lato-light.kttf-cached.png lato-light.png lato-light.ttf
However the font won't render when loading from a subdirectory like this.
If I move all the lato-light* files to the parent assets directory and load the kttf from there it renders as expected:
lato-light*
assets
font_mapping.set_default(asset_server.load("lato-light.kttf"));
I tried putting my font files in a subdirectory, e.g.:
With the
fonts
directory containing all the necessary files:However the font won't render when loading from a subdirectory like this.
If I move all the
lato-light*
files to the parentassets
directory and load the kttf from there it renders as expected: