[poppler] fofi/FoFiTrueType.cc

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Feb 7 11:48:02 PST 2015


 fofi/FoFiTrueType.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9842b3b00492eda21297d5d65f769f77a565f6ac
Author: Aleksei Volkov <Aleksei Volkov>
Date:   Sat Feb 7 20:46:26 2015 +0100

    No need to check for hmtx, freetype does for us
    
    Bug #88939

diff --git a/fofi/FoFiTrueType.cc b/fofi/FoFiTrueType.cc
index 4759186..2d65536 100644
--- a/fofi/FoFiTrueType.cc
+++ b/fofi/FoFiTrueType.cc
@@ -21,6 +21,7 @@
 // Copyright (C) 2012 Suzuki Toshiya <mpsuzuki at hiroshima-u.ac.jp>
 // Copyright (C) 2012 Adrian Johnson <ajohnson at redneon.com>
 // Copyright (C) 2014 Thomas Freitag <Thomas.Freitag at alfa.de>
+// Copyright (C) 2015 Aleksei Volkov <Aleksei Volkov>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -1366,7 +1367,6 @@ void FoFiTrueType::parse() {
   if (seekTable("head") < 0 ||
       seekTable("hhea") < 0 ||
       seekTable("maxp") < 0 ||
-      seekTable("hmtx") < 0 ||
       (!openTypeCFF && seekTable("loca") < 0) ||
       (!openTypeCFF && seekTable("glyf") < 0) ||
       (openTypeCFF && seekTable("CFF ") < 0)) {


More information about the poppler mailing list