From bfb1669d877a8898fbb12bde3fc12b2babcfc5ea Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Sun, 8 Jun 2014 22:07:29 +0200 Subject: [PATCH] Fix commit 2e01c712. --- lib/taloca.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/taloca.c b/lib/taloca.c index e02fea7..3a07004 100644 --- a/lib/taloca.c +++ b/lib/taloca.c @@ -121,8 +121,8 @@ TA_sfnt_build_loca_table(SFNT* sfnt, offset += 1; } - /* last element holds the size of the `glyf' table */ - offset = (offset + 1) & ~1; + /* last element holds the size of the `glyf' table -- */ + /* this value must *not* be aligned to a multiple of 4 */ *(p++) = HIGH(offset); *(p++) = LOW(offset); -- 2.11.4.GIT