From f1729a79379d65d7d373594e4f0d713d99beb1f2 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Mon, 13 Nov 2017 11:14:36 -0500 Subject: Extract Android FontMgr part of Typeface test. Part of the Typeface test is Android specific and tests that the Android legacyMakeTypeface returns nullptr when called with a non-null family name and there is no match. A new FontMgrAndroidLegacyMakeTypeface test is introduced to test this and also properly test creating one with SkFontMgr_Android_CustomFonts. Change-Id: Iceb8b9b5490f5eeeaeac30a68daf2c4daac53c86 Reviewed-on: https://skia-review.googlesource.com/70660 Reviewed-by: Mike Klein Commit-Queue: Ben Wagner --- resources/fonts/fonts.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 resources/fonts/fonts.xml (limited to 'resources') diff --git a/resources/fonts/fonts.xml b/resources/fonts/fonts.xml new file mode 100644 index 0000000000..a60d322359 --- /dev/null +++ b/resources/fonts/fonts.xml @@ -0,0 +1,32 @@ + + + + + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + Distortable.ttf + + + + + + + + + + + Em.ttf + HangingS.ttf + hintgasp.ttf + ReallyBigA.ttf + SpiderSymbol.ttf + test.ttc + test.ttc + Funkster.ttf + -- cgit v1.2.3