From c765a573011eb4df781f841cd3891419c82f59e2 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Thu, 3 Sep 2015 06:50:02 -0400 Subject: [PATCH] Remove eager reading of name table. --- truetype/truetype.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/truetype/truetype.go b/truetype/truetype.go index 734863a..75ea2c6 100644 --- a/truetype/truetype.go +++ b/truetype/truetype.go @@ -722,9 +722,6 @@ func parse(ttf []byte, offset int) (font *Font, err error) { if err = f.parseHhea(); err != nil { return } - if err = f.parseName(); err != nil { - return - } font = f return