From 8114f2b816e15d0cf98811fd37e80d24d00962a0 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 2 Oct 2015 14:19:52 +0200 Subject: Don't stretch CJK substitute fonts. --- source/fitz/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/fitz/font.c') diff --git a/source/fitz/font.c b/source/fitz/font.c index 387e3617..e705c229 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -410,7 +410,7 @@ static fz_matrix * fz_adjust_ft_glyph_width(fz_context *ctx, fz_font *font, int gid, fz_matrix *trm) { /* Fudge the font matrix to stretch the glyph if we've substituted the font. */ - if (font->ft_substitute && font->width_table /* && font->wmode == 0 */) + if (font->ft_stretch && font->width_table /* && font->wmode == 0 */) { FT_Error fterr; int subw; -- cgit v1.2.3