commit | 7bf6ecd3bfb1ccf5d9ac6fe274efa74b46885fea | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Fri Sep 16 01:11:30 2011 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Fri Sep 16 01:11:30 2011 -0400 |
tree | 1bad727e9ade9740ce8487018b770310b5d44a41 | |
parent | 674ee58d9bc9f825d769220d77f58513edae4558 [diff] [blame] |
Always shape at size=upem Fixes bug with uniscribe not handling GIGANTIC sizes.
diff --git a/util/options.cc b/util/options.cc index aab2403..4e75827 100644 --- a/util/options.cc +++ b/util/options.cc
@@ -494,7 +494,7 @@ font = hb_font_create (face); unsigned int upem = hb_face_get_upem (face); - hb_font_set_scale (font, font_size * upem, font_size * upem); + hb_font_set_scale (font, upem, upem); hb_face_destroy (face); #if HAVE_FREETYPE