-
Notifications
You must be signed in to change notification settings - Fork 25
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
Chinese font seams doesn't work #41
Comments
` using System; namespace DX.SpaceLineTrack.Test
}` |
this is my code.It only displays "This is" . |
Hi @zengxiuhao, QuickFont works by loading font characters into a texture, and then draws the characters from that texture. This means that we need to load every character we want to use into the font texture before we can use it. There are 2 solutions to this:
At the moment, QuickFont only supports Solution 1, which means that all characters used in the program need to be preloaded. |
Hi!opcon .Recently,I have a problem where the text don't display clearly in the Opentk's window. |
This is my project picture. Another is text demo |
contras with text demo in previous code,my project calculate the modelview matrix by scale matrix * rotate matrix*translate.the font project matrix was replaced by camera's view matrix *project matrix. |
|
Hi @zengxiuhao, I'm sorry, but I don't have enough information to help you solve this problem. One fix could be increasing the font size when you create the font itself - although this will take more memory. If you are able to upload a minimal working example of this issue that I can compile locally, I can take a deeper look into it. Cheers |
Closing as no further input |
thank you for your quickfont library!It makes me easier to complete the task.
Nowadays,I copy Sh0rti's code for test. It can normally display opentk window.
but when I modify the text by chinese character.It does't work, the window display the background color.
how can I do to display chinese character in opentk window?
The text was updated successfully, but these errors were encountered: