On 2007-06-11 19:41, [EMAIL PROTECTED] said:
--- src/base/ftmac.c 2007-06-11 18:34:19.0 +0900
+++ ../ftmac.c2007-06-11 18:28:51.0 +0900
@@ -105,6 +105,10 @@
FSSpec* pathSpec,
FT_Long* face_index )
{
+
Hello,
this patch speeds up a lot programs that scan a directory of files and load
every font they find using the code like below:
face_index = 0;
while (1)
{
if ((ft_err = FT_New_Face(ft_library, fnt_name, face_index, ft_face)))
break;
...
FT_Done_Face(ft_face);
this patch speeds up a lot programs that scan a directory of files
and load every font they find using the code like below: [...]
Applied, thanks.
Werner
___
Freetype-devel mailing list
Freetype-devel@nongnu.org