VincentWei / MiniGUI

A modern and mature cross-platform window system for embedded systems and smart IoT devices.
http://www.minigui.com
GNU General Public License v3.0
676 stars 157 forks source link

你好,想问一下阿拉伯语的支持 #95

Closed htk719809837 closed 1 year ago

htk719809837 commented 1 year ago

目前阿拉伯语在static和button之类的控件上有自适应镜像靠右显示呢,如果有的话有没有例子可以参考

VincentWei commented 1 year ago

mg-tests 仓库的 4.0 目录下,有相关接口的使用示例,比如 drawgryphstringexbasicshapingengine。您可以根据自己的需要封装这些接口,替换掉这些控件中对 TextOutDrawText 等接口的调用。

还可以参考如下文档:

https://github.com/VincentWei/minigui-docs/blob/master/supplementary-docs/Showing-Text-in-Complex-or-Mixed-Scripts.md

htk719809837 commented 1 year ago

谢谢