Re: [AD] 4.2.0 Beta 4 - PACKFILE / Font Troubles |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] 4.2.0 Beta 4 - PACKFILE / Font Troubles
- From: Shawn Walker <binarycrusader@xxxxxxxxxx>
- Date: Mon, 1 Aug 2005 23:30:55 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=W9rdLpm3dUTGEU6f/r8RwhMsNaOqoAIAiBaif5wkN9EpS86Cm75eTGwjm4MOsv0J77Es3aG/pLzIdcAw+Nis3xmnjv1S3DOwwPgPBn/R3UFJRu2iiQzZKJfdnUetTqGYZtgSjpmwqAyG7qgwA42qvJortNyuW9y6oVs/4F6oisA=
On 8/1/05, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> Patch attached. The datafile and font load normally for me in the grabber
> with this patch applied.
> It's just a one-line fix to check for depth==255 meaning the same thing as
> depth==1 (a monochrome font). This wasn't a problem before because
> anything != 1 was treated as an 8 bit colour font.
Yes, that's exactly the right fix! What's funny is that I had tried
the same change only several lines farther down near the /* Older
versions of Allegro use `0' to indicate a colour font */ comment. I
didn't understand the fix until I read over the old code again and
realised that before, if pack_getc(pack) returned any non-zero value
it would be considered a mono font.
Thanks so much...
By the way, I'm listed on the contributors page and in the file as
adonijah .... gmail.com could that be changed to
binarycrusader@xxxxxxxxxx instead? Thanks.
--
Shawn Walker, Software and Systems Analyst
binarycrusader@xxxxxxxxxx - http://binarycrusader.blogspot.com/