int main(int argc,char **argv)
{
/* this is a comment showing A followed by a superscript *: A ⃰ */
return 0;
}
Bram Moolenaar wrote:
> Charles Campbell wrote:
>
>> Tony Mechelynck wrote:
>>> In Bitstream Vera Sans Mono 8 in gvim 8.0.600 for GTK3 (which I just
>>> made using "make reconfig" after an update of the python2, python3 and
>>> IIRC lua packages), U+20F0 is present in the buffer and gvim
>>> recognises it as a composing character, but its display is easy to
>>> miss: AFAICT only 3 pixels are in the foreground colour, at top right
>>> of the character cell, in this shape (shown here by one asterisk per
>>> pixel):
>>> **
>>> *
>>>
>>> When the cursor is on it, ga and g8 give the expected values below the
>>> status line.
>>>
>> Hello:
>>
>> The glyph doesn't have much to show, but frequently its not showing
>> anything. Sometimes when I press ctrl-L for a refresh it will appear.
>> Sometimes.
> I suspect the glyph draws pixels outside of the character cell. Vim then
> erases them when drawing another character. This has happened with some bold
> fonts as well (there is special redrawing logic for that).
> You can try moving the cursor in both directions over the character to see what
> happens.
>
Oddly enough, when I move the cursor through the
space+superscript-asterisk (ie. built by a space followed by a 20f0x
character),
it disappears (it had been showing after a ctrl-L). I tried moving the
cursor left, right, up, and down, and all directions make the character
disappear.
A ctrl-L with the cursor atop the character prevents the appearance of
the superscript asterisk.
I also tried Ben's idea about using the linespace option; unfortunately,
that had no effect on the visibility of the superscript-asterisk.
I've attached a small file showing the issue when used with a guifont of
"Luxi Mono Bold 11".
Regards,
Chip Campbell
--
--
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.
Wednesday, May 24, 2017
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment