From ed46877a148ed38a263f3eadb2ebab356735278c Mon Sep 17 00:00:00 2001 From: Miguel Sousa Date: Thu, 2 Mar 2017 23:05:34 -0800 Subject: [PATCH] [varLib tests] another designspace and ufo test sources This is a simpler designspace intended for testing the support of GSUB and GPOS merging. --- .../data/InterpolateLayoutTest.designspace | 65 +++++++ .../TestFamily2-Master0.ufo/features.fea | 81 ++++++++ .../TestFamily2-Master0.ufo/fontinfo.plist | 140 ++++++++++++++ .../TestFamily2-Master0.ufo/glyphs/A_.glif | 29 +++ .../TestFamily2-Master0.ufo/glyphs/A_.sc.glif | 28 +++ .../glyphs/_notdef.glif | 38 ++++ .../TestFamily2-Master0.ufo/glyphs/a.alt.glif | 42 +++++ .../TestFamily2-Master0.ufo/glyphs/a.glif | 47 +++++ .../glyphs/ampersand.glif | 59 ++++++ .../glyphs/circledotted.glif | 175 ++++++++++++++++++ .../glyphs/contents.plist | 40 ++++ .../TestFamily2-Master0.ufo/glyphs/d.glif | 43 +++++ .../glyphs/dieresisbelowcmb.glif | 7 + .../glyphs/dieresiscmb.glif | 34 ++++ .../TestFamily2-Master0.ufo/glyphs/f.glif | 32 ++++ .../TestFamily2-Master0.ufo/glyphs/f_t.glif | 51 +++++ .../TestFamily2-Master0.ufo/glyphs/n.glif | 30 +++ .../TestFamily2-Master0.ufo/glyphs/space.glif | 5 + .../TestFamily2-Master0.ufo/glyphs/t.glif | 33 ++++ .../glyphs/tildebelowcmb.glif | 7 + .../glyphs/tildecmb.glif | 28 +++ .../TestFamily2-Master0.ufo/lib.plist | 39 ++++ .../TestFamily2-Master0.ufo/metainfo.plist | 10 + .../TestFamily2-Master1.ufo/features.fea | 54 ++++++ .../TestFamily2-Master1.ufo/fontinfo.plist | 140 ++++++++++++++ .../TestFamily2-Master1.ufo/glyphs/A_.glif | 29 +++ .../TestFamily2-Master1.ufo/glyphs/A_.sc.glif | 28 +++ .../glyphs/_notdef.glif | 38 ++++ .../TestFamily2-Master1.ufo/glyphs/a.alt.glif | 42 +++++ .../TestFamily2-Master1.ufo/glyphs/a.glif | 47 +++++ .../glyphs/ampersand.glif | 59 ++++++ .../glyphs/circledotted.glif | 175 ++++++++++++++++++ .../glyphs/contents.plist | 40 ++++ .../TestFamily2-Master1.ufo/glyphs/d.glif | 43 +++++ .../glyphs/dieresisbelowcmb.glif | 7 + .../glyphs/dieresiscmb.glif | 34 ++++ .../TestFamily2-Master1.ufo/glyphs/f.glif | 32 ++++ .../TestFamily2-Master1.ufo/glyphs/f_t.glif | 51 +++++ .../TestFamily2-Master1.ufo/glyphs/n.glif | 30 +++ .../TestFamily2-Master1.ufo/glyphs/space.glif | 5 + .../TestFamily2-Master1.ufo/glyphs/t.glif | 33 ++++ .../glyphs/tildebelowcmb.glif | 7 + .../glyphs/tildecmb.glif | 28 +++ .../TestFamily2-Master1.ufo/lib.plist | 39 ++++ .../TestFamily2-Master1.ufo/metainfo.plist | 10 + 45 files changed, 2034 insertions(+) create mode 100644 Tests/varLib/data/InterpolateLayoutTest.designspace create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/features.fea create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/fontinfo.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.sc.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/_notdef.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.alt.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/ampersand.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/circledotted.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/contents.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/d.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresisbelowcmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresiscmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f_t.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/n.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/space.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/t.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildebelowcmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildecmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/lib.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/metainfo.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/features.fea create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/fontinfo.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.sc.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/_notdef.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.alt.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/ampersand.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/circledotted.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/contents.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/d.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresisbelowcmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresiscmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f_t.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/n.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/space.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/t.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildebelowcmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildecmb.glif create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/lib.plist create mode 100644 Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/metainfo.plist diff --git a/Tests/varLib/data/InterpolateLayoutTest.designspace b/Tests/varLib/data/InterpolateLayoutTest.designspace new file mode 100644 index 000000000..18f118da2 --- /dev/null +++ b/Tests/varLib/data/InterpolateLayoutTest.designspace @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/features.fea b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/features.fea new file mode 100644 index 000000000..5d8463525 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/features.fea @@ -0,0 +1,81 @@ +table head { + FontRevision 2.020; +} head; + + +table name { + nameid 9 "Paul D. Hunt"; + nameid 9 1 "Paul D. Hunt"; +} name; + + +table hhea { + Ascender 984; + Descender -273; + LineGap 0; +} hhea; + + +table BASE { + HorizAxis.BaseTagList ideo romn; + HorizAxis.BaseScriptList + latn romn -170 0, + grek romn -170 0, + cyrl romn -170 0, + DFLT romn -170 0; +} BASE; + + +table OS/2 { + Panose 2 11 3 3 3 4 3 2 2 4; + XHeight 478; + WeightClass 200; + + TypoAscender 750; + TypoDescender -250; + TypoLineGap 0; + winAscent 984; + winDescent 273; + + CapHeight 660; + WidthClass 5; + Vendor "ADBO"; + FSType 0; +} OS/2; + + +languagesystem DFLT dflt; +languagesystem latn dflt; + +# GSUB ========================================= +# Merging of GSUB is not performed. The variable +# font will inherit the GSUB table from the +# base master. + +feature c2sc { + sub A by A.sc; # GSUB LookupType 1 +} c2sc; + +feature ss01 { + featureNames { + name "Alternate a"; + name 1 0 0 "Alternate a";}; + sub a by a.alt; +} ss01; + +feature ccmp { + sub ampersand by a n d; # GSUB LookupType 2 +} ccmp; + +feature salt { + sub a from [a.alt A.sc]; # GSUB LookupType 3 +} salt; + +feature liga { + sub f t by f_t; # GSUB LookupType 4 +} liga; + +feature calt { + sub a' t by a.alt; # GSUB LookupType 6 +} calt; + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/fontinfo.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/fontinfo.plist new file mode 100644 index 000000000..2775576ed --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/fontinfo.plist @@ -0,0 +1,140 @@ + + + + + ascender + 722 + capHeight + 660 + descender + -222 + familyName + Test Family 2 + italicAngle + 0 + openTypeHheaAscender + 984 + openTypeHheaDescender + -273 + openTypeHheaLineGap + 0 + openTypeNameDesigner + Paul D. Hunt + openTypeOS2CodePageRanges + + 0 + 1 + 29 + + openTypeOS2Panose + + 2 + 11 + 5 + 3 + 3 + 4 + 3 + 2 + 2 + 4 + + openTypeOS2TypoAscender + 750 + openTypeOS2TypoDescender + -250 + openTypeOS2TypoLineGap + 0 + openTypeOS2UnicodeRanges + + 0 + 1 + + openTypeOS2VendorID + ADBO + openTypeOS2WeightClass + 200 + openTypeOS2WinAscent + 984 + openTypeOS2WinDescent + 273 + postscriptBlueFuzz + 0 + postscriptBlueScale + 0.0625 + postscriptBlueValues + + -12 + 0 + 478 + 490 + 510 + 522 + 570 + 582 + 640 + 652 + 660 + 672 + 722 + 734 + + postscriptFamilyBlues + + -12 + 0 + 486 + 498 + 518 + 530 + 574 + 586 + 638 + 650 + 656 + 668 + 712 + 724 + + postscriptFamilyOtherBlues + + -217 + -205 + + postscriptFontName + TestFamily2-Master0 + postscriptForceBold + + postscriptOtherBlues + + -234 + -222 + + postscriptStemSnapH + + 28 + 40 + + postscriptStemSnapV + + 32 + 48 + + postscriptUnderlinePosition + -75 + postscriptUnderlineThickness + 50 + styleMapFamilyName + Test Family 2 + styleName + Master 0 + unitsPerEm + 1000 + versionMajor + 2 + versionMinor + 20 + xHeight + 478 + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.glif new file mode 100644 index 000000000..6712970b8 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.glif @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.sc.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.sc.glif new file mode 100644 index 000000000..715236001 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/A_.sc.glif @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/_notdef.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/_notdef.glif new file mode 100644 index 000000000..5f6c8ec5a --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/_notdef.glif @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.alt.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.alt.glif new file mode 100644 index 000000000..ecc308e73 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.alt.glif @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.glif new file mode 100644 index 000000000..7a9102161 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/a.glif @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/ampersand.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/ampersand.glif new file mode 100644 index 000000000..884490262 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/ampersand.glif @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/circledotted.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/circledotted.glif new file mode 100644 index 000000000..c6337cef8 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/circledotted.glif @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/contents.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/contents.plist new file mode 100644 index 000000000..0ecdd9312 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/contents.plist @@ -0,0 +1,40 @@ + + + + + .notdef + _notdef.glif + A + A_.glif + A.sc + A_.sc.glif + a + a.glif + a.alt + a.alt.glif + ampersand + ampersand.glif + circledotted + circledotted.glif + d + d.glif + dieresisbelowcmb + dieresisbelowcmb.glif + dieresiscmb + dieresiscmb.glif + f + f.glif + f_t + f_t.glif + n + n.glif + space + space.glif + t + t.glif + tildebelowcmb + tildebelowcmb.glif + tildecmb + tildecmb.glif + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/d.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/d.glif new file mode 100644 index 000000000..1dc211ee7 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/d.glif @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresisbelowcmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresisbelowcmb.glif new file mode 100644 index 000000000..c63f156a2 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresisbelowcmb.glif @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresiscmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresiscmb.glif new file mode 100644 index 000000000..33f264fb6 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/dieresiscmb.glif @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f.glif new file mode 100644 index 000000000..b87de4164 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f.glif @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f_t.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f_t.glif new file mode 100644 index 000000000..7c1f3d394 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/f_t.glif @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/n.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/n.glif new file mode 100644 index 000000000..d2486e8d6 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/n.glif @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/space.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/space.glif new file mode 100644 index 000000000..eea7af43d --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/space.glif @@ -0,0 +1,5 @@ + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/t.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/t.glif new file mode 100644 index 000000000..1a6d33085 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/t.glif @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildebelowcmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildebelowcmb.glif new file mode 100644 index 000000000..29589ac10 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildebelowcmb.glif @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildecmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildecmb.glif new file mode 100644 index 000000000..966bd5cea --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/glyphs/tildecmb.glif @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/lib.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/lib.plist new file mode 100644 index 000000000..0d8e6bbe1 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/lib.plist @@ -0,0 +1,39 @@ + + + + + public.glyphOrder + + .notdef + space + A + a + d + f + n + t + f_t + a.alt + A.sc + ampersand + circledotted + tildecmb + dieresiscmb + tildebelowcmb + dieresisbelowcmb + + public.postscriptNames + + circledotted + uni25CC + dieresisbelowcmb + uni0324 + dieresiscmb + uni0308 + tildebelowcmb + uni0330 + tildecmb + uni0303 + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/metainfo.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/metainfo.plist new file mode 100644 index 000000000..9c654d4c2 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master0.ufo/metainfo.plist @@ -0,0 +1,10 @@ + + + + + creator + org.robofab.ufoLib + formatVersion + 2 + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/features.fea b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/features.fea new file mode 100644 index 000000000..487b2ecf8 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/features.fea @@ -0,0 +1,54 @@ +table head { + FontRevision 2.020; +} head; + + +table name { + nameid 9 "Paul D. Hunt"; + nameid 9 1 "Paul D. Hunt"; +} name; + + +table hhea { + Ascender 984; + Descender -273; + LineGap 0; +} hhea; + + +table BASE { + HorizAxis.BaseTagList ideo romn; + HorizAxis.BaseScriptList + latn romn -170 0, + grek romn -170 0, + cyrl romn -170 0, + DFLT romn -170 0; +} BASE; + + +table OS/2 { + Panose 2 11 8 3 3 4 3 2 2 4; + XHeight 500; + WeightClass 900; + + TypoAscender 750; + TypoDescender -250; + TypoLineGap 0; + winAscent 984; + winDescent 273; + + CapHeight 660; + WidthClass 5; + Vendor "ADBO"; + FSType 0; +} OS/2; + + +languagesystem DFLT dflt; +languagesystem latn dflt; + +# GSUB ========================================= +# No merging of GSUB is performed. The variable +# font will inherit the GSUB table from the +# base master. + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/fontinfo.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/fontinfo.plist new file mode 100644 index 000000000..43f7e75c5 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/fontinfo.plist @@ -0,0 +1,140 @@ + + + + + ascender + 696 + capHeight + 650 + descender + -176 + familyName + Test Family 2 + italicAngle + 0 + openTypeHheaAscender + 984 + openTypeHheaDescender + -273 + openTypeHheaLineGap + 0 + openTypeNameDesigner + Paul D. Hunt + openTypeOS2CodePageRanges + + 0 + 1 + 29 + + openTypeOS2Panose + + 2 + 11 + 5 + 3 + 3 + 4 + 3 + 2 + 2 + 4 + + openTypeOS2TypoAscender + 750 + openTypeOS2TypoDescender + -250 + openTypeOS2TypoLineGap + 0 + openTypeOS2UnicodeRanges + + 0 + 1 + + openTypeOS2VendorID + ADBO + openTypeOS2WeightClass + 900 + openTypeOS2WinAscent + 984 + openTypeOS2WinDescent + 273 + postscriptBlueFuzz + 0 + postscriptBlueScale + 0.0625 + postscriptBlueValues + + -12 + 0 + 500 + 512 + 532 + 544 + 580 + 592 + 634 + 646 + 650 + 662 + 696 + 708 + + postscriptFamilyBlues + + -12 + 0 + 486 + 498 + 518 + 530 + 574 + 586 + 638 + 650 + 656 + 668 + 712 + 724 + + postscriptFamilyOtherBlues + + -217 + -205 + + postscriptFontName + TestFamily2-Master1 + postscriptForceBold + + postscriptOtherBlues + + -188 + -176 + + postscriptStemSnapH + + 134 + 144 + + postscriptStemSnapV + + 172 + 176 + + postscriptUnderlinePosition + -75 + postscriptUnderlineThickness + 50 + styleMapFamilyName + Test Family 2 + styleName + Master 1 + unitsPerEm + 1000 + versionMajor + 2 + versionMinor + 20 + xHeight + 500 + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.glif new file mode 100644 index 000000000..e5afc5780 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.glif @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.sc.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.sc.glif new file mode 100644 index 000000000..4b4ac3194 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/A_.sc.glif @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/_notdef.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/_notdef.glif new file mode 100644 index 000000000..930ed6dce --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/_notdef.glif @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.alt.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.alt.glif new file mode 100644 index 000000000..db719a0f2 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.alt.glif @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.glif new file mode 100644 index 000000000..e49d9ac10 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/a.glif @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/ampersand.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/ampersand.glif new file mode 100644 index 000000000..622075fa9 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/ampersand.glif @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/circledotted.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/circledotted.glif new file mode 100644 index 000000000..9a2401847 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/circledotted.glif @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/contents.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/contents.plist new file mode 100644 index 000000000..0ecdd9312 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/contents.plist @@ -0,0 +1,40 @@ + + + + + .notdef + _notdef.glif + A + A_.glif + A.sc + A_.sc.glif + a + a.glif + a.alt + a.alt.glif + ampersand + ampersand.glif + circledotted + circledotted.glif + d + d.glif + dieresisbelowcmb + dieresisbelowcmb.glif + dieresiscmb + dieresiscmb.glif + f + f.glif + f_t + f_t.glif + n + n.glif + space + space.glif + t + t.glif + tildebelowcmb + tildebelowcmb.glif + tildecmb + tildecmb.glif + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/d.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/d.glif new file mode 100644 index 000000000..9caa62596 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/d.glif @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresisbelowcmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresisbelowcmb.glif new file mode 100644 index 000000000..a8b69d552 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresisbelowcmb.glif @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresiscmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresiscmb.glif new file mode 100644 index 000000000..8c78d78f7 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/dieresiscmb.glif @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f.glif new file mode 100644 index 000000000..35765a2a5 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f.glif @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f_t.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f_t.glif new file mode 100644 index 000000000..58378a8a1 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/f_t.glif @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/n.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/n.glif new file mode 100644 index 000000000..ccf3277ee --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/n.glif @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/space.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/space.glif new file mode 100644 index 000000000..eea7af43d --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/space.glif @@ -0,0 +1,5 @@ + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/t.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/t.glif new file mode 100644 index 000000000..e5c75c297 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/t.glif @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildebelowcmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildebelowcmb.glif new file mode 100644 index 000000000..29589ac10 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildebelowcmb.glif @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildecmb.glif b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildecmb.glif new file mode 100644 index 000000000..e5d36b2dc --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/glyphs/tildecmb.glif @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/lib.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/lib.plist new file mode 100644 index 000000000..0d8e6bbe1 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/lib.plist @@ -0,0 +1,39 @@ + + + + + public.glyphOrder + + .notdef + space + A + a + d + f + n + t + f_t + a.alt + A.sc + ampersand + circledotted + tildecmb + dieresiscmb + tildebelowcmb + dieresisbelowcmb + + public.postscriptNames + + circledotted + uni25CC + dieresisbelowcmb + uni0324 + dieresiscmb + uni0308 + tildebelowcmb + uni0330 + tildecmb + uni0303 + + + diff --git a/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/metainfo.plist b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/metainfo.plist new file mode 100644 index 000000000..9c654d4c2 --- /dev/null +++ b/Tests/varLib/data/master_ufo/TestFamily2-Master1.ufo/metainfo.plist @@ -0,0 +1,10 @@ + + + + + creator + org.robofab.ufoLib + formatVersion + 2 + +