太郎君

Results 66 comments of 太郎君

华文黑体.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...

1.use PingFang Regular.ttf ![usepingfang](https://user-images.githubusercontent.com/12316965/27180156-8b0ff10c-5204-11e7-8c4f-3383991aaac0.jpeg) 2.华文黑体.ttf ![usehuawen](https://user-images.githubusercontent.com/12316965/27180181-b239e512-5204-11e7-93d8-8849bbbc9397.jpeg)

the PingFang Regular.ttf you can achieve use the following link. [https://github.com/ctrngk/backup/blob/master/PingFang%20Regular.ttf](url)

I just updated to the latest version, the effect is the same.

iOS sandbox prevents access to system's ttf. so I use a memFont, which parsing from CGFont. You can try this ttf file, the effect is the same. [PingFang-Regular.ttf.zip](https://github.com/memononen/fontstash/files/1179124/PingFang-Regular.ttf.zip)

adtional, freetype2 and stb_truetype has the same effect.

thank you very much!

Another question, I cannot understand the role of xoff and yoff. If has a pictures of glyph and texAtlas will be fine. struct FONSglyph { unsigned int codepoint; int index;...

Probably my understanding of stbtt_GetGlyphBitmapBox(..., x0, y0, x1, y1) is wrong. Is x0 = bearingX, y0 = bearingY?

> I face the same problem, I want to resize this to 288 too,have you solve this problem? 看来老铁也是在训练 wav2lip288呀,貌似这个地方改不了,只能多做一次resize