Ted Unangst
2014-02-15 06:00:24 UTC
I've noticed something odd when using true type fonts in xterm. When a
region of text is highlighted in a color, it sometimes disappears.
When the next block of text changes color, it's back. This is perhaps
easiest to observe in vim where random keywords disappear from code,
but can also be observed running pygmentize. Scrolling or refreshing
the screen with ^L makes it come back, but sometimes other text
disappears.
i.e., consider the following snippet.
const char *
foo(void) {
return "string";
I open this in vim, and it looks like:
const char *
foo(void) {
return ;
oops, my string disappeared. I redraw, and now it looks like
const char *
foo( ) {
return "string";
oops, void has disappeared.
I haven't gotten this to occur with a fixed font. Unfortunately, I
only started using true type fonts this week, so I'm not sure when
this started occuring or what update my have caused it.
region of text is highlighted in a color, it sometimes disappears.
When the next block of text changes color, it's back. This is perhaps
easiest to observe in vim where random keywords disappear from code,
but can also be observed running pygmentize. Scrolling or refreshing
the screen with ^L makes it come back, but sometimes other text
disappears.
i.e., consider the following snippet.
const char *
foo(void) {
return "string";
I open this in vim, and it looks like:
const char *
foo(void) {
return ;
oops, my string disappeared. I redraw, and now it looks like
const char *
foo( ) {
return "string";
oops, void has disappeared.
I haven't gotten this to occur with a fixed font. Unfortunately, I
only started using true type fonts this week, so I'm not sure when
this started occuring or what update my have caused it.