Skip to content
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 display unicode? #54

Closed
Angluca opened this issue Aug 27, 2014 · 4 comments
Closed

How to display unicode? #54

Angluca opened this issue Aug 27, 2014 · 4 comments

Comments

@Angluca
Copy link

Angluca commented Aug 27, 2014

Hi, How do it if I want echo Chinese.

@floooh
Copy link
Owner

floooh commented Aug 27, 2014

not possible currently, and will be quite far in the future because this would require a proper text rendering module which isn't high on my todo list atm (because it either needs to pull in huge code dependencies like FreeType, or huge distance field font texture asset files which would slow down emscripten startup)

if you know of any minimalistic, self contained, text rendering system I'd like to know though (smaller then FreeType) :)

@Angluca
Copy link
Author

Angluca commented Aug 27, 2014

stb_truetype?
https://github.com/nothings/stb
and nanovg use it.
https://github.com/memononen/nanovg

@floooh
Copy link
Owner

floooh commented Aug 27, 2014

Oooh, that look great! I wanted to integrate nanovg at some point in the future anyway.

@Angluca
Copy link
Author

Angluca commented Aug 28, 2014

Right, Like it!

@Angluca Angluca closed this as completed Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants