nanogui: Font-drawing speed
Subject:
Re: [nanogui] Font-drawing speed
From:
Klaus ####@####.####
Date:
29 Jan 2003 10:43:51 -0000
Message-Id: <3E37AE2E.5090300@gmx.de>
Hi Jordan!
Hi Greg!
I got two different answers about the patch. Because it is rather small,
I hope it's ok sending it to the list. I made the patch against the
released version of mircowin-0.89, including Jordan's patch.
There are two places in the code I could not test:
1. Function pcf_readmetrics(): if (format == PCF_DEFAULT_FORMAT)... I
did some patches to it, but I have no font to test with. I think this
should work ;-) If you can send me a font, I'll test it.
2. Function pcf_createfont(): I could not test Jordan's patch, because
my system doesn't reverse the bits. (I think "big-endian" means, that
the bytes are swapped, am I right? Are there some systems with reversed
bits?)
I hope the patch will work as expected (it is only tested on X86 with
X11 (little endian) and on a PPC embedded system with framebuffer (big
endian)).
Does anyone know a source for large pcf fonts? Where can I find one?
Regards
Klaus
[Content type application/x-gzip not shown. Download]