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

freetype渲染有点问题,truetype内置的bitmap字体数字和字母渲染不正常,中文正常。矢量字体全部正常 #868

Open
Engrtao opened this issue Feb 23, 2024 · 1 comment

Comments

@Engrtao
Copy link

Engrtao commented Feb 23, 2024

PS C:\Users\danieltao\Desktop\freetype_test> .\build.release.bat 
size=12, unicode('0')

0   0
0   0
0   0
0   0







PS C:\Users\danieltao\Desktop\freetype_test> .\build.release.bat 
size=12, unicode('1')

 00
  0
  0


PS C:\Users\danieltao\Desktop\freetype_test> .\build.release.bat 
size=12, unicode(好)
 0    00000 
 0        0 
00000    0  
 0  0   0   
 0  0   0   
 0  0 00000 
 0 0    0
 0 0    0
  0     0
 0 0    0
0   0  00
@Engrtao
Copy link
Author

Engrtao commented Feb 23, 2024

字体文件:https://github.com/andot/zfull-for-yosemite/blob/master/fonts/Zfull-GB.ttf

另外在在画图软件上使用这个字体是正常的:

image

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

1 participant