-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDesignSpaceFormat.txt
More file actions
100 lines (88 loc) · 2.66 KB
/
DesignSpaceFormat.txt
File metadata and controls
100 lines (88 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<?xml version="1.0" ?>
<designspace format="3">
<!-- required: one sources element -->
<sources>
<!-- required: one or more source elements -->
<source
<!-- required: path to UFO source -->
filename=""
<!-- optional: unique identifier for this source -->
name=""
>
<!-- required location element -->
<location/>
<!-- optional: flags for which data this master should provide or mute -->
[<lib copy="1"/>]
[<groups copy="1"/>]
[<info [copy="1"][mute="1"]/>]
[<kerning mute="1"/>]
<!-- optional: flag to mute a specific source glyph -->
[<glyph name="" mute="1"/>]
</source>
</sources>
<!-- required: one instances element -->
<instances>
<!-- required: one ore more instance elements -->
<instance
<!-- required: path to UFO instance -->
filename=""
<!-- required: familyname and stylename -->
familyname=""
stylename=""
<!-- optional: some more names -->
[postscriptfontname=""]
[stylemapfamilyname=""]
[stylemapstylename=""]
>
<!-- required location element -->
<location/>
<!-- if present, calculate the font.info for this instance -->
[<info>
<!-- if location is present, calculate the font.info at this location -->
[<location/>]
</info>]
<!-- if present, calculate the font.kerning for this instance -->
[<kerning>
<!-- if location is present, calculate the kerning at this location -->
[<location/>]
</kerning>]
<!-- optional: special definitions for specific glyphs.
It is expected that an instance will always generate all glyphs.
The special definitions in the **glyphs** element are expected
to complement the basic glyphset.
-->
[<glyphs>
<!-- required: one or more glyph elements -->
<glyph
<!-- required: the AGL glyphname -->
name=""
<!-- optional: unicode value for this glyph -->
[unicode=""]
>
<!-- optional: alternative location for this glyph. -->
[<location/>]
<!-- optional: a note for this glyph -->
[<note>
nice glyph!
</note>]
<!-- optional: a list of alternative sources for this glyph.
If present these masters supersede any masters defined by the instance.
This expects these masters to form a complete designspace.
-->
[<masters>
<!-- required: one or more master elements -->
<master
<!-- required: source identifier for this master -->
source=""
<!-- optional: alternative glyph for this master -->
[glyphname=""]
>
<!-- required alternative location for this master -->
<location/>
</master>
</masters>]
</glyph>
</glyphs>]
</instance>
</instances>
</designspace>