nanogui: Freetype2 speed issue
Subject:
Re: [nanogui] Freetype2 speed issue
From:
"Greg Haerr" ####@####.####
Date:
14 Mar 2008 17:42:06 -0000
Message-Id: <124f01c885fa$ab3e6390$0300a8c0@RDP>
: I am using Freetype2 with Nano-X. Font drawing is very slow compared to
: the rest of my system and I hope this can be tweaked in some way. I have
: checked that HAVE_FREETYPE_2_CACHE and HAVE_FREETYPE_2_CMAP_CACHE in
: font_freetype2.c is set to one to activate cache.
I modified the CVS version of the FT2 driver some months ago
and fixed a number of smaller bugs. I found that the FT2 caching
wouldn't compile, depending on the version of FT2 installed.
I fixed font_freetype2.c to work with the latest FT2 version,
but it turns off caching, due to changes in internal FT2 structure member
names. Check the source file for more details, and compare with
your installed version of FT2. Caching does work with older
FT2 versions. We also have a really old FT1 caching driver.
Let me know what you find, and we'll go from there.
Regards,
Greg