FreeType 支持从右到左的语言
FreeType 是否支持使用从右到左的语言,例如希伯来语?如果我先反转字符串,我可以让它正确显示,但这效率不高。那么我要问的是有没有一种方法可以配置 FreeType 自动将希伯来语字符串从右到左右移?
Does FreeType support the use of right-to-left languages, like Hebrew? I can get it to display correctly if I just reverse the string first, but this isn't as efficient. So what I am asking is there a way to configure FreeType to automatically right a Hebrew string right to left?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信您正在寻找的是一个文本布局库,例如 Pango 请参阅 http://www.pango.org
FreeType 专注于从字体文件中提取字形数据;由用户来实现特定于语言的内容,例如文本的布局。
I believe what you are looking for is a text layout library, e.g Pango see http://www.pango.org
FreeType focuses on the extraction of the glyph data from a font file; it is up to the user to implement the language specific stuff such as the layout of the text.