summaryrefslogtreecommitdiff
path: root/lib/pdf
diff options
context:
space:
mode:
authorMatthias Kramm <kramm@quiss.org>2010-11-11 13:32:55 -0800
committerMatthias Kramm <kramm@quiss.org>2010-11-11 13:32:55 -0800
commit3f4d36c9a2d7fe670a869afe8ec79f1317cf8e24 (patch)
treebf4e6bb1ae84a0d8a684015ea54e266ae08482db /lib/pdf
parent05037435729c29bdefd3c845d2052ade394cc537 (diff)
applied chinese font rendering patch from Irving Popovetsky
Diffstat (limited to 'lib/pdf')
-rw-r--r--lib/pdf/xpdf-changes.patch2
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;
}