nanogui: Font-drawing speed
Subject:
Re: [nanogui] Font-drawing speed
From:
"Greg Haerr" ####@####.####
Date:
24 Jan 2003 08:34:56 -0000
Message-Id: <03ff01c2c382$71f6a6f0$6401a8c0@gregnewport>
> I tried using pcf-fonts, but they can't be loaded (the pcf_read_toc()
> seems to read wrong size information and then the calloc fails - did I
> use the wrong fonts?). I used 75dpi and 100dpi X11 fonts for testing
> (courB24-ISO8859-1.pcf). Are these fonts correct for using with nano-X?
The PCF reader should be bug-free, with the exception that it
doesn't work on big-endian systems, since it doesn't yet try
to byte-swap. (You must use v0.89, prior versions were buggy).
If you're running 0.89 and little-endian, please send me the .pcf
font and I'll take a look at it.
> Will they be drawed faster than the freetype fonts?
Definitely, they're converted to the same internal bitmap format
as the built-in fonts.
Regards,
Greg