FreeType 支持从右到左的语言

发布于 2024-11-16 10:18:31 字数 109 浏览 9 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

长亭外,古道边 2024-11-23 10:18:31

我相信您正在寻找的是一个文本布局库,例如 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文