summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-04-20 15:12:39 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-04-20 15:12:39 +0200
commit345a7bb9ee91f047b9c450c7f935df1e5b1fc553 (patch)
tree9024fdd5ef6a66f97acebdb8978c2b4c43479c84 /fitz/res_font.c
parent025743c6f71b8bd731d4a4b4b5a6af99b821ef90 (diff)
downloadmupdf-345a7bb9ee91f047b9c450c7f935df1e5b1fc553.tar.xz
Revert part of "Tweak hinting flags to freetype."
FT_LOAD_TARGET_LIGHT implies the autohinter, which causes spectacular failures on DynaLab fonts. The stripped down freetype we compile with using the "thirdparty" package does not have the autohinter, which is how this bug slipped through the regression testing.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index e4fed334..948b2bdd 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -371,7 +371,7 @@ fz_render_ft_glyph(fz_font *font, int gid, fz_matrix trm)
only be used for DynaLab and similar tricky TrueType fonts,
so that we get the correct outline shape.
*/
- fterr = FT_Load_Glyph(face, gid, FT_LOAD_NO_BITMAP | FT_LOAD_TARGET_LIGHT);
+ fterr = FT_Load_Glyph(face, gid, FT_LOAD_NO_BITMAP);
if (fterr)
fz_warn("freetype load glyph (gid %d): %s", gid, ft_error_string(fterr));
}