Skip to content

Commit dd956dd

Browse files
committed
tests: Add avm1/edittext_stylesheet test
This test verifies the behavior of StyleSheet on a TextField in AVM1.
1 parent 64368b7 commit dd956dd

File tree

7 files changed

+838
-0
lines changed

7 files changed

+838
-0
lines changed
Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
SplineFontDB: 3.2
2+
FontName: TestFont
3+
FullName: TestFont
4+
FamilyName: TestFont
5+
Weight: Regular
6+
Copyright: Copyright (c) 2024, Kamil Jarosz
7+
UComments: "2024-7-24: Created with FontForge (http://fontforge.org)"
8+
Version: 001.000
9+
ItalicAngle: 0
10+
UnderlinePosition: -100
11+
UnderlineWidth: 50
12+
Ascent: 800
13+
Descent: 200
14+
InvalidEm: 0
15+
LayerCount: 2
16+
Layer: 0 0 "Back" 1
17+
Layer: 1 0 "Fore" 0
18+
XUID: [1021 253 198287149 6396829]
19+
StyleMap: 0x0000
20+
FSType: 0
21+
OS2Version: 0
22+
OS2_WeightWidthSlopeOnly: 0
23+
OS2_UseTypoMetrics: 1
24+
CreationTime: 1721856925
25+
ModificationTime: 1738521101
26+
OS2TypoAscent: 0
27+
OS2TypoAOffset: 1
28+
OS2TypoDescent: 0
29+
OS2TypoDOffset: 1
30+
OS2TypoLinegap: 90
31+
OS2WinAscent: 0
32+
OS2WinAOffset: 1
33+
OS2WinDescent: 0
34+
OS2WinDOffset: 1
35+
HheadAscent: 0
36+
HheadAOffset: 1
37+
HheadDescent: 0
38+
HheadDOffset: 1
39+
OS2Vendor: 'PfEd'
40+
MarkAttachClasses: 1
41+
DEI: 91125
42+
Encoding: ISO8859-1
43+
UnicodeInterp: none
44+
NameList: AGL For New Fonts
45+
DisplaySize: -48
46+
AntiAlias: 1
47+
FitToEm: 0
48+
WinInfo: 0 30 10
49+
BeginPrivate: 0
50+
EndPrivate
51+
BeginChars: 256 12
52+
53+
StartChar: a
54+
Encoding: 97 97 0
55+
Width: 800
56+
Flags: HW
57+
LayerCount: 2
58+
Fore
59+
SplineSet
60+
0 800 m 1
61+
800 800 l 1
62+
800 0 l 1
63+
0 0 l 1
64+
0 800 l 1
65+
EndSplineSet
66+
Validated: 1
67+
EndChar
68+
69+
StartChar: b
70+
Encoding: 98 98 1
71+
Width: 800
72+
Flags: HW
73+
LayerCount: 2
74+
Fore
75+
SplineSet
76+
0 0 m 1
77+
800 0 l 1
78+
800 -200 l 1
79+
0 -200 l 1
80+
0 0 l 1
81+
EndSplineSet
82+
Validated: 1
83+
EndChar
84+
85+
StartChar: c
86+
Encoding: 99 99 2
87+
Width: 800
88+
Flags: HW
89+
LayerCount: 2
90+
Fore
91+
SplineSet
92+
0 800 m 1
93+
800 800 l 1
94+
800 0 l 1
95+
0 0 l 1
96+
0 800 l 1
97+
EndSplineSet
98+
EndChar
99+
100+
StartChar: e
101+
Encoding: 101 101 3
102+
Width: 1000
103+
Flags: HW
104+
LayerCount: 2
105+
EndChar
106+
107+
StartChar: g
108+
Encoding: 103 103 4
109+
Width: 1000
110+
Flags: HW
111+
LayerCount: 2
112+
EndChar
113+
114+
StartChar: i
115+
Encoding: 105 105 5
116+
Width: 1000
117+
Flags: HW
118+
LayerCount: 2
119+
EndChar
120+
121+
StartChar: k
122+
Encoding: 107 107 6
123+
Width: 1000
124+
Flags: HW
125+
LayerCount: 2
126+
EndChar
127+
128+
StartChar: m
129+
Encoding: 109 109 7
130+
Width: 1000
131+
Flags: HW
132+
LayerCount: 2
133+
EndChar
134+
135+
StartChar: o
136+
Encoding: 111 111 8
137+
Width: 1000
138+
Flags: HW
139+
LayerCount: 2
140+
EndChar
141+
142+
StartChar: q
143+
Encoding: 113 113 9
144+
Width: 1000
145+
Flags: HW
146+
LayerCount: 2
147+
EndChar
148+
149+
StartChar: d
150+
Encoding: 100 100 10
151+
Width: 800
152+
Flags: HW
153+
LayerCount: 2
154+
Fore
155+
SplineSet
156+
0 0 m 1
157+
800 0 l 1
158+
800 -200 l 1
159+
0 -200 l 1
160+
0 0 l 1
161+
EndSplineSet
162+
EndChar
163+
164+
StartChar: space
165+
Encoding: 32 32 11
166+
Width: 800
167+
Flags: HWO
168+
LayerCount: 2
169+
EndChar
170+
EndChars
171+
EndSplineFont
Binary file not shown.
Loading

0 commit comments

Comments
 (0)