> On 24Dec2015, at 11:23, Tony Mechelynck <
antoine.m...@gmail.com> wrote:
>
> On Monday, December 21, 2015 at 2:50:01 AM UTC+1, Kenneth R. Beesley wrote:
>> Problem: supplementary character rendering problem, MacVim 7.4(87)
>>
>> MacVim is running for me (gvim flavor), but supplementary characters look like they are displayed double-width.
>> These same supplementary characters, from the same (mono) font, used to work. Something has changed,
>> and I haven’t quite tracked it down. Any help would be much appreciated.
>>
>> <snip>
>
> If this means version 7.4.087 of the underlying Vim code, then it is just over a year old (11/11/2013) and in that time many water has gone under the bridge: the current patchlevel is 7.4.979. You can check it by running ":version" (without the quotes of course), mone says:
>
> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 19 2015 17:08:28)
> Included patches: 1-979
Hi Tony,
Thanks for the response.
It’s snapshot 87. I just downloaded a new version that contains patches 1-972, and I see the same
problem. I can fix the problem by simply reverting back to 7.3.
The problem that I reported with 7.4 shapshot 87 was confirmed by René Kōcher, who wrote
I don’t think that the “temporay Deseret Range” is relevant here. My glyphs are in the official Deseret Range,
and always have been, in a
monospace font that used to work, but now the glyphs get rendered as if they had a space after them. (There
is no space in the buffer, unless you actually enter a space. It just appears to be a rendering problem for any
glyph with a supplementary code point value.) And it’s not just Deseret characters; I see the same broken
behavior for rendering Shavian characters, which are also in the supplementary area.
>
> I still use the Bitstream Vera Sand Mono font and I have no problems with it; however I don't use it for Deseret, only Latin, Cyrillic, and more rarely Greek and Arabic. I tried switching to FreeMono but strangely enough Vim is the only application which misplaces that font's composing characters so I've come back.
The issue seems to be tied to the rendering of characters from the supplementary area. So you won’t see it with Latin,
Cyrillic, Greek or Arabic characters, which are all in the BMP. Using something like Fontforge, try copying a glyph to the supplementary
area of your font of choice (at some code point value HHHHHHHH) and then entering it in a gvim buffer using Ctrl-V UHHHHHHHH
See how it’s rendered.
>
> The Unicode ranges are periodically updated, but only by addition and IIUC the Vim code is periodically updated so it can use the proper values for singlewidth/doublewidth, for what is the canonical case conjugate of what, what is a printing character and what is as yet unassigned, etc.
Again, I don’t think that it has anything to do with updated Unicode ranges. See the note above by René
about how a commit to support emojis apparently broke the rendering of supplementary characters, producing
the rendering problem that I reported.
Best wishes, and thanks for all your efforts to support a great editor,
Ken
>
> Best regards,
> Tony.
>
> --
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit
http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups "vim_mac" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
vim_mac+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.