delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/20/10:54:42

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 <jon DOT turney AT dronecode DOT org DOT uk>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019