diff options
author | Matthias Kramm <kramm@quiss.org> | 2010-11-11 13:32:55 -0800 |
---|---|---|
committer | Matthias Kramm <kramm@quiss.org> | 2010-11-11 13:32:55 -0800 |
commit | 3f4d36c9a2d7fe670a869afe8ec79f1317cf8e24 (patch) | |
tree | bf4e6bb1ae84a0d8a684015ea54e266ae08482db /lib | |
parent | 05037435729c29bdefd3c845d2052ade394cc537 (diff) |
applied chinese font rendering patch from Irving Popovetsky
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pdf/xpdf-changes.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pdf/xpdf-changes.patch b/lib/pdf/xpdf-changes.patch index 5525f81f..fd5b8640 100644 --- a/lib/pdf/xpdf-changes.patch +++ b/lib/pdf/xpdf-changes.patch @@ -1587,7 +1587,7 @@ } - if (FT_Load_Glyph(ff->face, gid, FT_LOAD_NO_BITMAP)) { + int error = 0; -+ if ((error=FT_Load_Glyph(ff->face, gid, FT_LOAD_NO_BITMAP|FT_LOAD_NO_HINTING))) { ++ if ((error=FT_Load_Glyph(ff->face, gid, FT_LOAD_NO_BITMAP))) { + fprintf(stderr, "Truetype wasn't able to load glyph %d, error %d\n", gid, error); return NULL; } |