X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DDE58BE.4080801@ece.cmu.edu>
Date: Thu, 26 May 2011 09:42:22 -0400
From: Ryan Johnson <ryanjohn@ece.cmu.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: mintty fonts (was: Re: setup and mintty)
References: <BANLkTinQZLfPxYZSE+1UdaYY7KydDxcT2A@mail.gmail.com> <4DDD6DD8.9060601@ece.cmu.edu> <BANLkTin8OMkQkbmUhsERNWnYvw8=mjPCDw@mail.gmail.com> <20110526060957.GY848@calimero.vinschen.de> <4DDE42ED.5000000@cwilson.fastmail.fm> <20110526131958.GC28752@calimero.vinschen.de>
In-Reply-To: <20110526131958.GC28752@calimero.vinschen.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 26/05/2011 9:19 AM, Corinna Vinschen wrote:
> On May 26 08:09, Charles Wilson wrote:
>> On 5/26/2011 2:09 AM, Corinna Vinschen wrote:
>>> On May 26 06:08, Andy Koppe wrote:
>>>> On 25 May 2011 22:00, Ryan Johnson wrote:
>>>>> On 25/05/2011 3:48 PM, Andy Koppe wrote:
>>>>> I guess somebody needs to file a bug with fedorahosted.org, but I didn't see
>>>>> an obvious way to request an account with them. Do you have one by chance?
>>>> Nope, sorry.
>>>>
>>>> Clicking at the first hopeful-looking Google result for "Liberation
>>>> Mono", I'd downloaded it from a site called dafont.com. Apparently I
>>>> picked up an old version without that problem: 1.04.
>>> I installed and use 1.06.0.20100721-3 from Fedora 14 without problems.
>> Ah, but I installed liberation-fonts-ttf-1.06.0.20100721.tar.gz from
>> https://fedorahosted.org/liberation-fonts/, and *DID* see the problem.
>> That is, after installation, Liberation Mono did not show up in mintty's
>> font selection window.
> That's interesting.  I just hacked a simple test application which
> calls ChooseFont.  The Liberation Mono font from F14 returns 0x31
> in the LOGFONT lfPitchAndFamily member, so it's marked as fixed font.
>
> The liberation-fonts-ttf-1.06.0.20100721.tar.gz file from
> https://fedorahosted.org/liberation-fonts/ returns 0x32, so it's marked
> as variable font.  This is certainly a packaging bug.
>
> FYI, I reported this as a packaging bug upstream:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=707973
Thanks!

BTW, is there an easy way to get the F14 version of the font if I don't 
have an F14 machine handy? Or, alternatively, is there an easy way to 
hack the .ttf files so they correctly claim to be fixed-pitch?

Ryan


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

