suragch / mongol

Mongolian vertical script widgets for Flutter apps
https://pub.dev/packages/mongol
BSD 3-Clause "New" or "Revised" License
70 stars 15 forks source link

输入框换行后有空格导致顶部不齐 #36

Closed maxiaodegithub closed 1 year ago

maxiaodegithub commented 1 year ago

输入内容后自动换行和手动换行后,第二列往后头部都会有一个空格,导致第一列跟后面的列对不齐。

suragch commented 1 year ago

能加个截图吗?

maxiaodegithub commented 1 year ago

image 这种包含特殊字符的情况,改怎么对齐

suragch commented 1 year ago

那是什么字符? 可以发文字版吗?我想测试一下

maxiaodegithub commented 1 year ago

试试这段文字 ( ᠬᠥᠮᠥᠨ ᠎ᠳ᠋ᠦ᠍ ᠪᠠᠷᠢᠵᠤ ᠵᠣᠯᠭᠠᠵᠤ ᠪᠣᠯᠣᠨ᠎ᠠ) ᠱᠢᠷ᠎ᠠ ᠦᠩᠭᠡ︱ ᠱᠢᠷ᠎ᠠ ᠨᠠᠷᠠᠨ᠂ ᠠᠯᠢᠪᠠ ᠮᠠᠭᠤ ᠪᠥᠬᠥᠨ ᠎ᠢ ᠵᠠᠢᠯᠠᠭᠤᠯᠬᠤ ᠎ᠶᠢᠨ ᠪᠡᠯᠭᠡᠳᠡᠯ ( ᠵᠥᠪᠬᠡᠨ ᠪᠠᠭᠱᠢ ᠳᠠᠭᠠᠨ ᠯᠠ ᠪᠠᠷᠢᠵᠤ ᠪᠣᠯᠣᠨ᠎ᠠ)

suragch @.***> 于2023年3月21日周二 12:56写道:

那是什么字符? 可以发文字版吗?我想测试一下

— Reply to this email directly, view it on GitHub https://github.com/suragch/mongol/issues/36#issuecomment-1477281184, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEU7AUJZQ3TQS5KXRWYRO33W5EYI5ANCNFSM6AAAAAATZ6EHT4 . You are receiving this because you authored the thread.Message ID: @.***>

suragch commented 1 year ago

我无法重现问题。 这是直接添加到示例应用程序中的样子:

Screen Shot 2023-03-22 at 17 30 35

可以在一个简单的 flutter 项目中重现问题吗?

maxiaodegithub commented 1 year ago

是字体的原因导致的不能对齐的问题。