opcon / QuickFont

A Modern OpenGL Font Rendering Library for OpenTK

Home Page:https://github.com/opcon/QuickFont

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to support Chinese rendering?

feifeizuo opened this issue · comments

Hi,
This is a wonderful library. I want use it to render Chinese. But it seems characterset don't containt chinese.
So is it possible to support chinese characterset ?
Thanks.

Hi @feifeizuo,

Currently QuickFont does not support loading characters on demand. Instead, all the desired characters are loaded into memory when the QFont object is created. If you need only some Chinese characters, then you can specify them manually, see my reply to a previous issue here: #41 (comment) for some more information on this.

The correct way to render Chinese characters is to load them on demand, when the program needs to draw them. This on-the-fly loading could be implemented into QuickFont, but is not currently. I am happy to point you in the right direction / answer any questions you have about doing this.

Cheers

Hi @opcon

Thanks for you reply. I will learn the font rendering information, read quickfont source code. And then think about how doing this.

No worries! If you have questions about the architecture of QuickFont, I'm happy to help!