X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SARE_SUB_ENC_UTF8 X-Spam-Check-By: sourceware.org Message-ID: <4A1419B5.3060703@dronecode.org.uk> Date: Wed, 20 May 2009 15:54:45 +0100 From: Jon TURNEY User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: iconv: Xft UTF-8 rendering References: <49FA6EE6 DOT 4050603 AT users DOT sourceforge DOT net> In-Reply-To: <49FA6EE6.4050603@users.sourceforge.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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/