summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/image/font/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/image/font/testdata')
-rw-r--r--vendor/golang.org/x/image/font/testdata/CFFTest.otfbin0 -> 2248 bytes
-rw-r--r--vendor/golang.org/x/image/font/testdata/CFFTest.sfd148
-rw-r--r--vendor/golang.org/x/image/font/testdata/README2
-rw-r--r--vendor/golang.org/x/image/font/testdata/glyfTest.sfd102
-rw-r--r--vendor/golang.org/x/image/font/testdata/glyfTest.ttfbin0 -> 2000 bytes
5 files changed, 252 insertions, 0 deletions
diff --git a/vendor/golang.org/x/image/font/testdata/CFFTest.otf b/vendor/golang.org/x/image/font/testdata/CFFTest.otf
new file mode 100644
index 000000000..a21738ba0
--- /dev/null
+++ b/vendor/golang.org/x/image/font/testdata/CFFTest.otf
Binary files differ
diff --git a/vendor/golang.org/x/image/font/testdata/CFFTest.sfd b/vendor/golang.org/x/image/font/testdata/CFFTest.sfd
new file mode 100644
index 000000000..6a5b79ab9
--- /dev/null
+++ b/vendor/golang.org/x/image/font/testdata/CFFTest.sfd
@@ -0,0 +1,148 @@
+SplineFontDB: 3.0
+FontName: CFFTest
+FullName: CFFTest
+FamilyName: CFFTest
+Weight: Regular
+Copyright: Copyright 2016 The Go Authors. All rights reserved.\nUse of this font is governed by a BSD-style license that can be found at https://golang.org/LICENSE.
+Version: 001.000
+ItalicAngle: -11.25
+UnderlinePosition: -100
+UnderlineWidth: 50
+Ascent: 800
+Descent: 200
+LayerCount: 2
+Layer: 0 0 "Back" 1
+Layer: 1 0 "Fore" 0
+XUID: [1021 367 888937226 7862908]
+FSType: 8
+OS2Version: 0
+OS2_WeightWidthSlopeOnly: 0
+OS2_UseTypoMetrics: 1
+CreationTime: 1479626795
+ModificationTime: 1481282599
+PfmFamily: 17
+TTFWeight: 400
+TTFWidth: 5
+LineGap: 90
+VLineGap: 0
+OS2TypoAscent: 0
+OS2TypoAOffset: 1
+OS2TypoDescent: 0
+OS2TypoDOffset: 1
+OS2TypoLinegap: 90
+OS2WinAscent: 0
+OS2WinAOffset: 1
+OS2WinDescent: 0
+OS2WinDOffset: 1
+HheadAscent: 0
+HheadAOffset: 1
+HheadDescent: 0
+HheadDOffset: 1
+OS2Vendor: 'PfEd'
+MarkAttachClasses: 1
+DEI: 91125
+LangName: 1033
+Encoding: UnicodeBmp
+UnicodeInterp: none
+NameList: Adobe Glyph List
+DisplaySize: -24
+AntiAlias: 1
+FitToEm: 1
+WinInfo: 64 32 11
+BeginPrivate: 0
+EndPrivate
+TeXData: 1 0 0 346030 173015 115343 0 1048576 115343 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144
+BeginChars: 65536 4
+
+StartChar: zero
+Encoding: 48 48 0
+Width: 600
+VWidth: 0
+HStem: 0 100<248.223 341.575> 700 100<258.425 351.777>
+VStem: 100 80<243.925 531.374> 420 80<268.627 556.075>
+LayerCount: 2
+Fore
+SplineSet
+300 700 m 0
+ 210 700 180 450 180 300 c 24
+ 180 220 220 100 300 100 c 0
+ 390 100 420 350 420 500 c 24
+ 420 580 380 700 300 700 c 0
+300 800 m 0
+ 400 800 500 580 500 400 c 0
+ 500 220 400 0 300 0 c 0
+ 200 0 100 220 100 400 c 0
+ 100 580 200 800 300 800 c 0
+EndSplineSet
+Validated: 1
+EndChar
+
+StartChar: one
+Encoding: 49 49 1
+Width: 400
+VWidth: 0
+Flags: W
+HStem: 0 21G<100 300>
+VStem: 100 200<0 800>
+LayerCount: 2
+Fore
+SplineSet
+100 0 m 25
+ 100 800 l 25
+ 300 800 l 29
+ 300 0 l 29
+ 100 0 l 25
+EndSplineSet
+Validated: 1
+EndChar
+
+StartChar: uni4E2D
+Encoding: 20013 20013 2
+Width: 600
+VWidth: 0
+Flags: W
+VStem: 245 86<641.8 752>
+LayerCount: 2
+Fore
+SplineSet
+141 520 m 25
+ 235 562 l 25
+ 243 752 l 25
+ 331 758 l 25
+ 341 592 l 25
+ 453 620 l 25
+ 463 434 l 25
+ 355 414 l 25
+ 331 26 l 25
+ 245 400 l 25
+ 137 356 l 25
+ 141 520 l 25
+EndSplineSet
+Validated: 1
+EndChar
+
+StartChar: Q
+Encoding: 81 81 3
+Width: 1000
+VWidth: 0
+Flags: W
+LayerCount: 2
+Fore
+SplineSet
+657 237 m 0
+ 519 615 l 0
+ 289 387 l 0
+ 657 237 l 0
+792 169 m 1
+ 864 83 l 25
+ 802 3 l 21
+ 722 93 l 1
+ 641 18 369 -39 242 93 c 0
+ 110 231 71 509 228 673 c 24
+ 380 831 645 840 791 665 c 0
+ 926 502 867 263 792 169 c 1
+EndSplineSet
+Validated: 33
+EndChar
+EndChars
+EndSplineFont
diff --git a/vendor/golang.org/x/image/font/testdata/README b/vendor/golang.org/x/image/font/testdata/README
new file mode 100644
index 000000000..d8737d3ee
--- /dev/null
+++ b/vendor/golang.org/x/image/font/testdata/README
@@ -0,0 +1,2 @@
+CFFTest.sfd is a FontForge file for creating CFFTest.otf, a custom OpenType
+font for testing the golang.org/x/image/font/sfnt package's CFF support.
diff --git a/vendor/golang.org/x/image/font/testdata/glyfTest.sfd b/vendor/golang.org/x/image/font/testdata/glyfTest.sfd
new file mode 100644
index 000000000..e61c54c86
--- /dev/null
+++ b/vendor/golang.org/x/image/font/testdata/glyfTest.sfd
@@ -0,0 +1,102 @@
+SplineFontDB: 3.0
+FontName: glyfTest
+FullName: glyfTest
+FamilyName: glyfTest
+Weight: Regular
+Copyright: Copyright 2016 The Go Authors. All rights reserved.\nUse of this font is governed by a BSD-style license that can be found at https://golang.org/LICENSE.
+Version: 001.000
+ItalicAngle: -11.25
+UnderlinePosition: -204
+UnderlineWidth: 102
+Ascent: 1638
+Descent: 410
+LayerCount: 2
+Layer: 0 1 "Back" 1
+Layer: 1 1 "Fore" 0
+XUID: [1021 367 888937226 7862908]
+FSType: 8
+OS2Version: 0
+OS2_WeightWidthSlopeOnly: 0
+OS2_UseTypoMetrics: 1
+CreationTime: 1484386143
+ModificationTime: 1484386143
+PfmFamily: 17
+TTFWeight: 400
+TTFWidth: 5
+LineGap: 184
+VLineGap: 0
+OS2TypoAscent: 0
+OS2TypoAOffset: 1
+OS2TypoDescent: 0
+OS2TypoDOffset: 1
+OS2TypoLinegap: 184
+OS2WinAscent: 0
+OS2WinAOffset: 1
+OS2WinDescent: 0
+OS2WinDOffset: 1
+HheadAscent: 0
+HheadAOffset: 1
+HheadDescent: 0
+HheadDOffset: 1
+OS2Vendor: 'PfEd'
+MarkAttachClasses: 1
+DEI: 91125
+LangName: 1033
+Encoding: UnicodeBmp
+UnicodeInterp: none
+NameList: Adobe Glyph List
+DisplaySize: -24
+AntiAlias: 1
+FitToEm: 1
+WinInfo: 0 32 23
+BeginPrivate: 0
+EndPrivate
+TeXData: 1 0 0 346030 173015 115343 0 -1048576 115343 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144
+BeginChars: 65536 2
+
+StartChar: zero
+Encoding: 48 48 0
+Width: 1228
+VWidth: 0
+Flags: W
+HStem: 0 205<508 700> 1434 205<529 720>
+VStem: 205 164<500 1088> 860 164<550 1139>
+LayerCount: 2
+Fore
+SplineSet
+614 1434 m 0,0,1
+ 369 1434 369 1434 369 614 c 0,2,3
+ 369 471 369 471 435 338 c 0,4,5
+ 502 205 502 205 614 205 c 0,6,7
+ 860 205 860 205 860 1024 c 0,8,9
+ 860 1167 860 1167 793 1300 c 0,10,11
+ 727 1434 727 1434 614 1434 c 0,0,1
+614 1638 m 0,12,13
+ 1024 1638 1024 1638 1024 819 c 128,-1,14
+ 1024 0 1024 0 614 0 c 0,15,16
+ 205 0 205 0 205 819 c 128,-1,17
+ 205 1638 205 1638 614 1638 c 0,12,13
+EndSplineSet
+Validated: 1
+EndChar
+
+StartChar: one
+Encoding: 49 49 1
+Width: 819
+VWidth: 0
+Flags: W
+HStem: 0 43G<205 614>
+VStem: 205 410<0 1638>
+LayerCount: 2
+Fore
+SplineSet
+205 0 m 25,0,-1
+ 205 1638 l 1,1,-1
+ 614 1638 l 1,2,-1
+ 614 0 l 1,3,-1
+ 205 0 l 25,0,-1
+EndSplineSet
+Validated: 1
+EndChar
+EndChars
+EndSplineFont
diff --git a/vendor/golang.org/x/image/font/testdata/glyfTest.ttf b/vendor/golang.org/x/image/font/testdata/glyfTest.ttf
new file mode 100644
index 000000000..587b3fe0b
--- /dev/null
+++ b/vendor/golang.org/x/image/font/testdata/glyfTest.ttf
Binary files differ