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

关于泰语异常显示的问题 #121

Open htk719809837 opened 1 year ago

htk719809837 commented 1 year ago

你好,5.0.11中,泰语文本顶部的符号缺失了,可以用 #120 问题单中的代码复现,任意给定泰语顶部带有符号帽子的字体即可复现;例如:วันเสาร์,即可复现。 同样为不等宽字体。32位环境

VincentWei commented 1 year ago

泰语的 vowel 规则比较复杂,DrawText 及 TextOut 接口很难正确处理。您可以试试 MiniGUI 5.0 中针对复杂语言提供的相关接口:

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

VincentWei commented 1 year ago

看了一下代码,如果只是 vowel 处理,应该可以解决。稍等一下哈。

VincentWei commented 1 year ago

已修复。主要更新内容见:

https://github.com/VincentWei/MiniGUI/commit/43101379ed03370df0e287403eea31be354bccf5