Getting bitmap only fonts #5482
elwyos
started this conversation in
Build/Link/Run/Fonts issues ONLY!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been trying to use a pixel font with CJK glyphs (so the size is quite big) but there's a "bitmap only" version of the font available that's less than a quarter of the size. The caveat is that it only works with some engines (godot for example), and it turns out that it doesn't display properly at imgui.
From the description of the bitmap only font:
LanaPixel_BitmapOnly.zip - Bitmap-only TTF containing all available glyphs. The TTF is 561 KiB. This is by far the smallest version of the font available, but many game engines try to use the nonexistent outlines instead of the bitmaps and thus do not display the font correctly.
I was wondering if there are ways to make it work with the bitmap only version? Perhaps programatically somehow processing individual glyph? I imagine 2.5mb might be worth thinking about..
Beta Was this translation helpful? Give feedback.
All reactions