Re: [ft-devel] Two very minor freetype patch suggestions

2007-06-18 Thread Sean McBride
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 ) { +

[ft-devel] PATCH: Do not do further load font attempts if a previous attempt has failed but returned error FNT_Err_Invalid_File_Format

2007-06-18 Thread Dmitry Timoshkov
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);

Re: [ft-devel] PATCH: Do not do further load font attempts if a previous attempt has failed but returned error FNT_Err_Invalid_File_Format

2007-06-18 Thread Werner LEMBERG
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