iconv: Xft UTF-8 rendering

Jon TURNEY jon.turney@dronecode.org.uk
Wed May 20 14:54:00 GMT 2009


Yaakov (Cygwin/X) wrote:
> I'm having some issues with iconv, Xft, and UTF-8 rendering.  Could you
> please help me look into this:
> 
> http://sourceware.org/bugzilla/show_bug.cgi?id=10122
> 
> The easiest of those to reproduce is probably blackbox:
> 
> http://cygwin-ports.svn.sourceforge.net/viewvc/cygwin-ports/ports/trunk/x11/blackbox/
> 
> If you omit 0.70.1-disable-unicode-fonts.patch, build blackbox, and run
> it within a standard X display (not multiwindow), you'll see what I
> mean; you don't have to install it to run it for this purpose.
> 
> Right now, I want to figure out if the problem is with Cygwin, iconv,
> libXft, or these packages (although I doubt the latter).  Any assistance
> you can provide would be appreciated.

I think iconv is exonerated.  This seems to be breakage due to a sizeof(wchar_t) == 4 
assumption in blackbox.  The file in question has a trolltech copyright on it so it 
wouldn't surprise me if the same code turns up in Qt :-)

I've an attached an example patch to fix it in bugzilla.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list