commit | 283ef28505cffa4396dc27429dfff850f4964625 | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Mon Sep 25 06:54:16 2017 +0200 |
committer | Werner Lemberg <wl@gnu.org> | Mon Sep 25 09:26:59 2017 +0200 |
tree | 115b86c38115493ac9ae1d2f5614059eac0e418c | |
parent | 6eb03f8f5a126c3716f557bd2e8e7ae0d6f93837 [diff] |
Fixes for rendering. The Type 1 advance width calculation passes null for glyph slot, etc, which can cause null pointer access in the new interpreter. Fall back to the old one for now. Fix the large glyph retry code and ensure hinting and scaling flags are set properly. * src/type1/t1gload.c (T1_Parse_Glyph_And_Get_Char_String): Add a check for metrics_only. Set the `force_scaling' flag. (T1_Parse_Glyph): Updated. (T1_Load_Glyph): Add `hinting' and `scaled' flags.