Thursday, May 31, 2018

Re: statusline, display hand-defined IPA or other arbitrary text for character under cursor

On 31/05/2018 18:46, Kenneth Reid Beesley wrote:
> On Wednesday, May 30, 2018 at 2:03:21 PM UTC-6, Kenneth Reid Beesley wrote:

> My problem now is that I can input the hiragana characters, but the glyphs must be coming from some default font in the operating system (I'm using MacVim). The glyphs are wider than the glyphs in the mono font specified with 'set guifont', and so the cursor doesn't align properly with the glyphs. The buffer has a mixture of Roman character glyphs (from the mono font) and wider hiragana glyphs (from who-knows-where).

Do you have a specific sequence of glyphs to help us reproduce your
issue? I have tried mixing Latin with 0x3072 and 0x3073 (e.g.,
xひyびwひzび), but what I see is that upon moving over such strings
the cursor becomes as wide (or as narrow) as the underlying character.
So, I do not understand what "the cursor doesn't align properly with the
glyphs" means. To me, it looks aligned.

Btw, have you played with "Use Core Text Renderer" in the Preferences?
Try setting/unsetting the option, then open a new document window.

You might also check ':help ambiwidth'.

Life.

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: