-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1123 from googlefonts/c_test
Add test file for #1115
- Loading branch information
Showing
11 changed files
with
122 additions
and
0 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Bold.ufo/glyphs/contents.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>inner</key> | ||
<string>inner.glif</string> | ||
<key>outer</key> | ||
<string>outer.glif</string> | ||
</dict> | ||
</plist> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Bold.ufo/glyphs/inner.glif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="inner" format="2"> | ||
<outline> | ||
<contour> | ||
<point x="10" y="10"/> | ||
<point x="30" y="20"/> | ||
<point x="10" y="30"/> | ||
</contour> | ||
</outline> | ||
</glyph> |
12 changes: 12 additions & 0 deletions
12
resources/testdata/DoubleComponentError/Bold.ufo/glyphs/outer.glif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="outer" format="2"> | ||
<outline> | ||
<contour> | ||
<point x="30" y="10"/> | ||
<point x="50" y="20"/> | ||
<point x="30" y="30"/> | ||
</contour> | ||
<component base="inner" xOffset="100"/> | ||
<component base="inner"/> | ||
</outline> | ||
</glyph> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Bold.ufo/layercontents.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array> | ||
<array> | ||
<string>public.default</string> | ||
<string>glyphs</string> | ||
</array> | ||
</array> | ||
</plist> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Bold.ufo/metainfo.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>creator</key> | ||
<string>com.github.fonttools.ufoLib</string> | ||
<key>formatVersion</key> | ||
<integer>3</integer> | ||
</dict> | ||
</plist> |
18 changes: 18 additions & 0 deletions
18
resources/testdata/DoubleComponentError/OuterInner.designspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<designspace format="5.0"> | ||
<axes> | ||
<axis tag="wght" name="Weight" minimum="400" maximum="700" default="400"/> | ||
</axes> | ||
<sources> | ||
<source filename="Regular.ufo"> | ||
<location> | ||
<dimension name="Weight" xvalue="400"/> | ||
</location> | ||
</source> | ||
<source filename="Bold.ufo"> | ||
<location> | ||
<dimension name="Weight" xvalue="700"/> | ||
</location> | ||
</source> | ||
</sources> | ||
</designspace> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Regular.ufo/glyphs/contents.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>inner</key> | ||
<string>inner.glif</string> | ||
<key>outer</key> | ||
<string>outer.glif</string> | ||
</dict> | ||
</plist> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Regular.ufo/glyphs/inner.glif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="inner" format="2"> | ||
<outline> | ||
<contour> | ||
<point x="10" y="10"/> | ||
<point x="30" y="20"/> | ||
<point x="10" y="30"/> | ||
</contour> | ||
</outline> | ||
</glyph> |
12 changes: 12 additions & 0 deletions
12
resources/testdata/DoubleComponentError/Regular.ufo/glyphs/outer.glif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<glyph name="outer" format="2"> | ||
<outline> | ||
<contour> | ||
<point x="30" y="10"/> | ||
<point x="50" y="20"/> | ||
<point x="30" y="30"/> | ||
</contour> | ||
<component base="inner"/> | ||
<component base="inner"/> | ||
</outline> | ||
</glyph> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Regular.ufo/layercontents.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<array> | ||
<array> | ||
<string>public.default</string> | ||
<string>glyphs</string> | ||
</array> | ||
</array> | ||
</plist> |
10 changes: 10 additions & 0 deletions
10
resources/testdata/DoubleComponentError/Regular.ufo/metainfo.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>creator</key> | ||
<string>com.github.fonttools.ufoLib</string> | ||
<key>formatVersion</key> | ||
<integer>3</integer> | ||
</dict> | ||
</plist> |