Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/sound5/data/gui/configs/Font.xsd @ 10255

Last change on this file since 10255 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 1.6 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" type="xsd:boolean" use="optional" default="false" />
32                <xsd:attribute name="AntiAlias" type="xsd:boolean" use="optional" default="true" />
33        </xsd:attributeGroup>
34</xsd:schema>
Note: See TracBrowser for help on using the repository browser.