- UID
- 2
- 积分
- 8682
- 帖子
- 2905
- 主题
- 199
- 论坛币
- 11756
- 威望
- 16
- EP值
- 2349
- MP值
- 15
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 2597 小时
- 最后登录
- 2024-8-28
|
Too bad, I just cannot get the same result of text layout from tcaxLib, cairo, magick, none of them produce the same result, +-1 pixel error occurs by chance. Only a few font may produce the same result. : (
And what's worse, it seems that the font size definition of ASS (or say VSFilter) is no good. See,
Font Size Set to 50, ASS - red, TCAS - blue
Conclusion: if we use FT_SIZE_REQUEST_TYPE_REAL_DIM, the TCAS result can fit better to ASS, but the result of text is too small (smaller than a font size with 50 should be). However the good news is that, with most Japanese fonts, both of the definitions are OK. Sigh~~
|
|