1 --- fontconfig-2.3.95/src/fcfreetype.c.cmap-parsing 2006-04-25 11:31:41.000000000 -0400
2 +++ fontconfig-2.3.95/src/fcfreetype.c 2006-05-18 08:14:09.000000000 -0400
3 @@ -2511,31 +2511,12 @@
10 - * Find the first encoded character in the font
12 - if (FT_Get_Char_Index (face, 0))
15 + ucs4 = FT_Get_First_Char (face, &glyph);
23 - ucs4 = FT_Get_Next_Char (face, 0, &gindex);
32 - while ((ucs4 >> 8) == page)
34 - glyph = FT_Get_Char_Index (face, ucs4);
35 - if (glyph && FcFreeTypeCheckGlyph (face, ucs4,
36 + if (FcFreeTypeCheckGlyph (face, ucs4,
37 glyph, blanks, &advance))
45 + if ((ucs4 >> 8) != page)
48 leaf = FcCharSetFindLeafCreate (fcs, ucs4);
51 @@ -2571,11 +2553,7 @@
57 - ucs4 = FT_Get_Next_Char (face, ucs4 - 1, &gindex);
60 + ucs4 = FT_Get_Next_Char (face, ucs4, &glyph);
63 for (ucs4 = 0; ucs4 < 0x10000; ucs4++)