[truetype] Fix GETINFO bytecode instruction.

* src/truetype/ttinterp.c (Ins_GETINFO): Fix return value for
stretching information.
This commit is contained in:
Werner Lemberg 2016-07-16 16:39:26 +02:00
parent 69446ddcce
commit 32a320625e
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2016-07-16 Werner Lemberg <wl@gnu.org>
[truetype] Fix GETINFO bytecode instruction.
* src/truetype/ttinterp.c (Ins_GETINFO): Fix return value for
stretching information.
2016-07-16 Behdad Esfahbod <behdad@behdad.org>
[truetype] Make all glyphs in `Zycon' GX font work.

View File

@ -7227,7 +7227,7 @@
/* Return Bit(s): 8 */
/* */
if ( ( args[0] & 2 ) != 0 && exc->tt_metrics.rotated )
K |= 0x80;
K |= 1 << 8;
/********************************/
/* GLYPH STRETCHED */
@ -7235,7 +7235,7 @@
/* Return Bit(s): 9 */
/* */
if ( ( args[0] & 4 ) != 0 && exc->tt_metrics.stretched )
K |= 1 << 8;
K |= 1 << 9;
/********************************/
/* BI-LEVEL HINTING AND */