Re: [dev] st utf8 printing

From: Eckehard Berns <ecki-suckless_AT_ecki.to>
Date: Fri, 13 Apr 2012 08:32:37 +0200

On Thu, Apr 12, 2012 at 05:09:09PM -0500, Stephen Paul Weber wrote:
> Somebody claiming to be Eckehard Berns wrote:
> >I tried to find information regarding a bug in XmbDrawImageString using
> >Google and found a comment in Vim's gui_x11.c that suggests that that
> >function isn't quite sound. Vim actually converts the string to wide
> >chars and uses XDrawImageString16 instead in gui_x11.c.
>
> Interesting. I wonder what they do for characters that don't fit in 16bits?

Vim draws placeholder chars for anything it can't display. But nobody
uses the pure X11 GUI of Vim anyway. You either use Vim in a terminal
or the GTK+ GUI (which - as far as I can tell - uses Pango to draw
text).

-- 
Eckehard Berns
Received on Fri Apr 13 2012 - 08:32:37 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 13 2012 - 08:36:05 CEST