11/7/2022 0 Comments Tamil unicode fonts"Ignoring" not in the sense of not displaying them at all, but laying out the next character on top of the extruding part of the current character, overwriting it. Adding to this, Vim seems to consider them monospace anyway, and chooses a particular fixed width for all of them, ignoring the rest of them (the red area in the characters here: ). This one I think isn't really Vim's fault, but I'm hoping people here might have a workaround or a suggestion anyway: Tamil fonts, even those claim to be monospace, never seem to really have a fixed width (again, I've tried all available monospace fonts, plus installing GNU FreeMono for this). Notepad++ seems to manage this combining properly, while gVim on the same computer using the same font doesn't.Ģ. This would work, for eg., with French or German accents (afaik), but in languages like Tamil there are individual variations on what should be done when particular combining characters are combined with particular base characters, and "just lay them on top of each other" doesn't really work. What is happening in the Vim screenshot is that the 'combining characters', instead of being combined using the Unicode rules, are apparently just being overlayed upon the base character. TAMIL UNICODE FONTS CODEThe left version is rendering by Notepad++, with the same font selected as Vim (in this case, it was 'Source Code Pro', but the same is the case with 'Courier New' or 'Dejavu Sans Mono' or even 'FreeMono' from GNU. Here's an example: showing on the left how the characters are supposed to be rendered, and on the right how they end up being rendered by Vim. There seems to be two issues with rendering of Tamil text in gVim 7.4 (running on Windows 7).ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |