TrueType and OpenType text rendering prototype #6652
mcendu
started this conversation in
Show and tell
Replies: 1 comment
-
|
licensing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to make TrueType and OpenType fonts usable in osu!framework games. I've hacked up a prototype for this; the code is publicly available.
The prototype rasterizes TrueType and OpenType outlines on the fly using FreeType, with support for variable fonts.
This is what things look like so far:
The main benefit of TrueType/OpenType compared to BMFont is the potential to save space, by using a single variable font instead of atlases for multiple weights. This could make it feasible to distribute multiple weights of large fonts, like Noto Sans CJK.
Any comments and code reviews are welcome.
Beta Was this translation helpful? Give feedback.
All reactions