From 2e35bd52b4b4c8064a3b3cc2e301fbac8b34c0c5 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 19 Mar 2017 16:39:26 +1100 Subject: [PATCH] font/sfnt: increase proprietary_test coverage. Recent commits (probably 792d36e1 "support TrueType compound glyphs" and 1995ed1a "support TrueType glyph transformations") let us decode all the glyphs in the Adobe TrueType fonts, but I forgot to update the test coverage in those commits. Change-Id: I7b135005cd67082f84aee16d296debdedcc9488e Reviewed-on: https://go-review.googlesource.com/38281 Reviewed-by: David Crawshaw --- font/sfnt/proprietary_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/font/sfnt/proprietary_test.go b/font/sfnt/proprietary_test.go index e7f8fa4..f133103 100644 --- a/font/sfnt/proprietary_test.go +++ b/font/sfnt/proprietary_test.go @@ -84,7 +84,7 @@ func TestProprietaryAdobeSourceCodeProOTF(t *testing.T) { } func TestProprietaryAdobeSourceCodeProTTF(t *testing.T) { - testProprietary(t, "adobe", "SourceCodePro-Regular.ttf", 1500, 36) + testProprietary(t, "adobe", "SourceCodePro-Regular.ttf", 1500, -1) } func TestProprietaryAdobeSourceHanSansSC(t *testing.T) { @@ -96,7 +96,7 @@ func TestProprietaryAdobeSourceSansProOTF(t *testing.T) { } func TestProprietaryAdobeSourceSansProTTF(t *testing.T) { - testProprietary(t, "adobe", "SourceSansPro-Regular.ttf", 1800, 54) + testProprietary(t, "adobe", "SourceSansPro-Regular.ttf", 1800, -1) } func TestProprietaryAppleAppleSymbols(t *testing.T) {