In article <[EMAIL PROTECTED]>, Leo <[EMAIL PROTECTED]> writes:

[...]
> > For instance, this cause flickering:
> >
> > emacs-unicode --enable-font-backend -fn 'dejavu sans mono:pixelsize=16'
> >
> > but these don't cause flickering:
> >
> > emacs-unicode --enable-font-backend -fn 'dejavu sans mono:pixelsize=24'
> > emacs-unicode --enable-font-backend -fn 'lucidatypewriter:pixelsize=16'
> >
> > I think the reason is that font-height of "dejavu sans
> > mono:pixelsize=16" is somehow shorter than the glyph '|' in
> > that font.  So, every time Emacs redraw '|', the upper and
> > lower lines are also redrawn which leads to the whole buffer
> > redrawing.  For instance, when I replace all occurence of
> > "?\|" in lisp/play/hanoi.el with "?i", even this:
> >
> > emacs-unicode --enable-font-backend -fn 'dejavu sans mono:pixelsize=16'
> >
> > stops flickering.

> I can confirm this. Do you think that's a bug in dejavu sans mono?

I'm not sure until I re-read my code about handling Xft
fonts.   There's a possibility that I made some mistake on
calculating font/glyph metrics.

---
Kenichi Handa
[EMAIL PROTECTED]


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to