-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to include Custom Fonts? #472
Comments
Use nvgCreateFont method to load extra font(.ttf) files. example code :
|
Nice, this looks like a handy thing to have an example for in the codebase. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just want to use a new ttf Font, because the default font do not support CJK.
but I do not find any API to load a new font, so How to include Custom Fonts?
in NanoGUI document, I find something.
Does this mean I have to recomplie NanoGUI?
but I don't want to recomplie this library, who can help me please。 /(ㄒoㄒ)/~~
The text was updated successfully, but these errors were encountered: