nanogui: Font-drawing speed
Subject:
Re: [nanogui] Font-drawing speed
From:
Jordan Crouse ####@####.####
Date:
24 Jan 2003 17:02:09 -0000
Message-Id: <20030124094513.1e7dc6c6.jordanc@censoft.com>
Greg said:
>> since it doesn't yet try to byte-swap.
Thats actually incorrect, because we end up byte swapping everything
while its reading in the bitmaps.
The PCF format does indicate the format of the bitmaps. Attached is a
patch that attempts to make some use of that format to decided if we
should byte swap or not.
I believe that this is the only place where we have to worry about
endianism, but since I don't have any place to test this, don't take my
word for it (please!). I have tested on x86, and it seems to
compile and run correctly.
Comments are welcome,
Jordan
[Content type application/octet-stream not shown. Download]