You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to show Simplified Chinese, I tried several different ttf files. I found that set the same size, use different ttf file, the text size of the display difference. Should we need to read out some parameters from ttf file and set to fontstash?
The text was updated successfully, but these errors were encountered:
华文黑体.ttf is bigger than UILabel, use the same fontsize.
诺基亚致美粗黑.ttf is same size with UILabel font size, , use the same fontsize.
PingFang Regular.ttf is smaller than UILabel, use the same fontsize.
Can you send a screenshot? Can you see the same difference in a text editor? I'm not sure about chinese characters, but western fonts can have different x-height and k-height. Which makes the fonts look different visually even if the size is the same.
In order to show Simplified Chinese, I tried several different ttf files. I found that set the same size, use different ttf file, the text size of the display difference. Should we need to read out some parameters from ttf file and set to fontstash?
The text was updated successfully, but these errors were encountered: