You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MacVim does not display Tibetan Text properly #995
Even though in latest OS X versions there has been no problems with Tibetan text display, and even though MacVim uses the standard NSTextView, it still fails to display Tibetan text properly, just like Terminal.app used to many OS X versions ago.
To Reproduce: Open MacVim and input some relatively complex Tibetan text like ཧཱུྃ། or བསྒྲིགས་པ་. In order to see what it should look like, open TextEdit and input the same text.
This is current MacVim, unsatisfactory:
This is Terminal.app in OS X Mojave, bad kerning, but satisfactory:
It's true, that some font parameters are not loaded from font correctly, but not many people was interested in it earlier. You can try to modify linespace manually to make things a bit smoother for now.
Could you share with us a bit more information, such as some texts and the font you use (it's home page is preferable and tell if it's free-to-use (it'll be much harder to test the same over a paid one)
MacVim actually doesn’t use NSTextView by default and uses CoreText renderer to get more flexibility in how it renders text. I will need to take a look but this is likely similar to other font issues we have had.
Activity
eirnym commentedon Dec 23, 2019
@madmansnest Thank you for an issue,
It's true, that some font parameters are not loaded from font correctly, but not many people was interested in it earlier. You can try to modify
linespacemanually to make things a bit smoother for now.eirnym commentedon Dec 23, 2019
Could you share with us a bit more information, such as some texts and the font you use (it's home page is preferable and tell if it's free-to-use (it'll be much harder to test the same over a paid one)
madmansnest commentedon Dec 23, 2019
Text Example:
ཧཱུྃ༔ ཨོ་རྒྱན་ཡུལ་གྱི་ནུབ་བྱང་མཚམས༔
པདྨ་གེ་སར་སྡོང་པོ་ལ༔
ཡ་མཚན་མཆོག་གི་དངོས་གྲུབ་བརྙེས༔
པདྨ་འབྱུང་གནས་ཞེས་སུ་གྲགས༔
འཁོར་དུ་མཁའ་འགྲོ་མང་པོས་བསྐོར༔
ཁྱེད་ཀྱི་རྗེས་སུ་བདག་བསྒྲུབ་ཀྱི༔
བྱིན་གྱིས་བརླབ་ཕྱིར་གཤེགས་སུ་གསོལ༔
གུ་རུ་པདྨ་སིདྡྷི་ཧཱུྃ༔
Font download page:
https://collab.its.virginia.edu/wiki/tibetan-script/Jomolhari.html
ychin commentedon Dec 24, 2019
MacVim actually doesn’t use NSTextView by default and uses CoreText renderer to get more flexibility in how it renders text. I will need to take a look but this is likely similar to other font issues we have had.
Fix composing characters renderered at an offset
Fix CoreText clipping issues with tall texts
Fix composing characters renderered at an offset
Fix CoreText clipping issues with tall texts
Fix composing characters renderered at an offset
Fix CoreText clipping issues with tall texts
Fix composing characters renderered at an offset
Fix CoreText clipping issues with tall texts
MacVim Release 176