2 <xsd:schema xmlns:
xsd=
"http://www.w3.org/2001/XMLSchema" elementFormDefault=
"qualified">
3 <xsd:element name=
"Font" type=
"FontType" />
5 <xsd:complexType name=
"FontType">
7 <xsd:element name=
"Mapping" type=
"MapType" maxOccurs=
"unbounded" minOccurs=
"0" />
9 <xsd:attributeGroup ref=
"FontAttrs" />
11 <xsd:complexType name=
"MapType">
12 <xsd:attribute name=
"Codepoint" type=
"xsd:nonNegativeInteger" use=
"required" />
13 <xsd:attribute name=
"Image" type=
"xsd:string" use=
"required" />
14 <xsd:attribute name=
"HorzAdvance" type=
"xsd:integer" use=
"optional" default=
"-1" />
16 <xsd:attributeGroup name=
"FontAttrs">
17 <xsd:attribute name=
"Name" type=
"xsd:string" use=
"required" />
18 <xsd:attribute name=
"Filename" type=
"xsd:string" use=
"required" />
19 <xsd:attribute name=
"ResourceGroup" type=
"xsd:string" use=
"optional" default=
"" />
20 <xsd:attribute name=
"Type" use=
"required">
22 <xsd:restriction base=
"xsd:string">
23 <xsd:enumeration value=
"FreeType" />
24 <xsd:enumeration value=
"Pixmap" />
28 <xsd:attribute name=
"Size" type=
"xsd:nonNegativeInteger" use=
"optional" default=
"12" />
29 <xsd:attribute name=
"NativeHorzRes" type=
"xsd:nonNegativeInteger" use=
"optional" default=
"640" />
30 <xsd:attribute name=
"NativeVertRes" type=
"xsd:nonNegativeInteger" use=
"optional" default=
"480" />
31 <xsd:attribute name=
"AutoScaled" type=
"xsd:boolean" use=
"optional" default=
"false" />
32 <xsd:attribute name=
"AntiAlias" type=
"xsd:boolean" use=
"optional" default=
"true" />