1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -urN Xft.orig/xftfreetype.c Xft/xftfreetype.c
--- Xft.orig/xftfreetype.c Thu Dec 13 10:26:00 2001
+++ Xft/xftfreetype.c Wed Mar 6 00:23:19 2002
@@ -236,7 +236,7 @@
if (_XftFontDebug() & XFT_DBG_GLYPH)
printf ("Set face size to %d (%d)\n",
(int) (size >> 6), (int) size);
- if (FT_Set_Char_Size (face, size, size, 0, 0))
+ if (FT_Set_Char_Size (face, size, size, 69, 72))
return False;
f->size = size;
}
diff -urN Xft.orig/xftglyphs.c Xft/xftglyphs.c
--- Xft.orig/xftglyphs.c Sat Nov 17 01:22:45 2001
+++ Xft/xftglyphs.c Wed Mar 6 00:23:19 2002
@@ -124,7 +124,7 @@
}
else
glyphindex = (FT_UInt) charcode;
- error = FT_Load_Glyph (font->face, glyphindex, FT_LOAD_NO_BITMAP);
+ error = FT_Load_Glyph (font->face, glyphindex, FT_LOAD_NO_BITMAP | FT_LOAD_NO_HINTING);
if (error)
continue;
|