Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SuperOrxoBros_HS18/data_extern/gui/fonts/Font.xsd @ 12175

Last change on this file since 12175 was 12175, checked in by siramesh, 5 years ago

Super Orxo Bros (Sidharth Ramesh, Nisa Balta, Jeff Ren)

File size: 2.1 KB
Line 
1<?xml version="1.0" ?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
3        <xsd:element name="Font" type="FontType" />
4
5        <xsd:complexType name="FontType">
6                <xsd:sequence>
7                        <xsd:element name="Mapping" type="MapType" maxOccurs="unbounded" minOccurs="0" />
8                </xsd:sequence>
9                <xsd:attributeGroup ref="FontAttrs" />
10        </xsd:complexType>
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" />
15        </xsd:complexType>
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">
21                        <xsd:simpleType>
22                                <xsd:restriction base="xsd:string">
23                                        <xsd:enumeration value="FreeType" />
24                                        <xsd:enumeration value="Pixmap" />
25                                </xsd:restriction>
26                        </xsd:simpleType>
27                </xsd:attribute>
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" default="false">
32                        <xsd:simpleType>
33                                <xsd:restriction base="xsd:string">
34                                        <xsd:enumeration value="false" />
35                                        <xsd:enumeration value="vertical" />
36                                        <xsd:enumeration value="horizontal" />
37                                        <xsd:enumeration value="min" />
38                                        <xsd:enumeration value="max" />
39                                        <xsd:enumeration value="true" />
40                                </xsd:restriction>
41                        </xsd:simpleType>
42                </xsd:attribute>
43                <xsd:attribute name="antiAlias" type="xsd:boolean" use="optional" default="true" />
44                <xsd:attribute name="lineSpacing" type="xsd:decimal" use="optional" default="0" />
45                <xsd:attribute name="version" type="xsd:nonNegativeInteger" use="optional" default="0" />
46        </xsd:attributeGroup>
47</xsd:schema>
Note: See TracBrowser for help on using the repository browser.