forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css-module-fonts.xml
225 lines (191 loc) · 18.3 KB
/
css-module-fonts.xml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<?xml version="1.0" encoding="utf-8"?>
<CssModule name="Fonts" standard-reference="http://www.w3.org/TR/css3-fonts/" status="WD" pub-date="2011-10-04">
<CssAtDirective name="font-face" version="3.0" browsers="all" include-root-properties="false" include-root-directives="false" syntax="@font-face { <font-description> }" description="Allows for linking to fonts that are automatically activated when needed. This permits authors to work around the limitation of 'web-safe' fonts, allowing for consistent rendering independent of the fonts available in a given user's environment." standard-reference="http://www.w3.org/TR/css3-fonts/#the-font-face-rule">
<CssProperty ref="font" />
<CssProperty name="font-family" description="Defines the font family name that will be used in all CSS font family name matching." syntax="@font-face { $(name): Gentium; }" standard-reference="http://www.w3.org/TR/css3-fonts/#descdef-font-family" />
<CssProperty ref="font-size" />
<CssProperty ref="font-variant" />
<CssProperty ref="font-weight" />
<CssProperty ref="font-style" />
<CssProperty ref="font-size-adjust" />
<CssProperty ref="font-stretch" />
<CssProperty name="src" version="3.0" restriction="enum, string, url, identifier" syntax="src: url(font.woff) format('woff');" description="specifies the resource containing font data. It is required, whether the font is downloadable or locally installed. It's value is a prioritized, comma-separated list of external references or locally installed font face names." standard-reference="http://www.w3.org/TR/css3-fonts/#src-desc">
<entry value="url()" />
<entry value="local()" />
<entry value="format('truetype')" description="TrueType font." />
<entry value="format('opentype')" description="OpenType font." />
<entry value="format('woff')" description="WOFF font (Web Open Font Format)." />
<entry value="format('embedded-opentype')" description="Embedded OpenType font." />
<entry value="format('svg')" description="SVG font." />
</CssProperty>
<CssProperty name="unicode-range" version="3.0" restriction="unicode-range" description="Range of Unicode characters supported by a given font. Initial value is U+0-10FFFF" syntax="'urange' [, 'urange']*" standard-reference="http://www.w3.org/TR/css3-fonts/#unicode-range" />
</CssAtDirective>
<CssProperty name="font-weight" version="1.0" restriction="enum" type="font-weight" syntax="th { $(name): bold; }" description="Specifies weight of glyphs in the font, their degree of blackness or stroke thickness." standard-reference="http://www.w3.org/TR/css3-fonts/#font-weight-the-font-weight-property" />
<CssPropertyValue type="font-weight">
<entry value="bold" description="Same as 700" />
<entry value="bolder" description="Specifies the weight of the face bolder than the inherited value." />
<entry value="lighter" description="Specifies the weight of the face lighter than the inherited value." />
<entry value="normal" description="Same as 400" />
<entry value="100" description="Thin" />
<entry value="200" description="Extra Light (Ultra Light)" />
<entry value="300" description="Light" />
<entry value="400" description="Normal" />
<entry value="500" description="Medium" />
<entry value="600" description="Semi Bold (Demi Bold)" />
<entry value="700" description="Bold" />
<entry value="800" description="Extra Bold (Ultra Bold)" />
<entry value="900" description="Black (Heavy)" />
</CssPropertyValue>
<CssProperty name="font-stretch" version="3.0" browsers="FF9,IE9" restriction="enum" syntax="div { $(name): expanded; }" description="The font-stretch property is used to expand or contract the horizontal width of the font. The change is relative to the normal width of the font as displayed by the browser." standard-reference="http://www.w3.org/TR/css3-fonts/#font-stretch0">
<entry value="normal" />
<entry value="ultra-condensed" />
<entry value="extra-condensed" />
<entry value="condensed" />
<entry value="semi-condensed" />
<entry value="semi-expanded" />
<entry value="expanded" />
<entry value="extra-expanded" />
<entry value="ultra-expanded" />
</CssProperty>
<CssProperty name="font-size" version="1.0" restriction="length, percentage" type="font-size" description="Indicates the desired height of glyphs from the font. For scalable fonts, the font-size is a scale factor applied to the EM unit of the font. (Note that certain glyphs may bleed outside their EM box.) For non-scalable fonts, the font-size is converted into absolute units and matched against the declared font-size of the font, using the same absolute coordinate space for both of the matched values." syntax="div { $(name): 12px; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-size-prop" />
<CssPropertyValue type="font-size">
<entry value="large" />
<entry value="larger" />
<entry value="medium" />
<entry value="small" />
<entry value="smaller" />
<entry value="x-large" />
<entry value="x-small" />
<entry value="xx-large" />
<entry value="xx-small" />
</CssPropertyValue>
<CssProperty name="font-style" version="1.0" restriction="enum" type="font-style" syntax="body { $(name): italic; }" description="Allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique faces are typically sloped versions of the regular face." standard-reference="http://www.w3.org/TR/css3-fonts/#font-style0" />
<CssPropertyValue type="font-style">
<entry value="italic" description="Selects a font that is labeled 'italic', or, if that is not available, one labeled 'oblique'." />
<entry value="normal" description="Selects a face that is classified as 'normal'." />
<entry value="oblique" description="Selects a font that is labeled 'oblique'." />
</CssPropertyValue>
<CssProperty name="font-variant" version="1.0" restriction="enum" type="font-variant" syntax="div { $(name): small-caps; }" description="Specifies variant representations of the font" standard-reference="http://www.w3.org/TR/css3-fonts/#font-variant-prop" />
<CssPropertyValue type="font-variant">
<entry value="normal" description="Specifies a face that is not labeled as a small-caps font." />
<entry value="small-caps" description="Specifies a font that is labeled as a small-caps font. If a genuine small-caps font is not available, user agents should simulate a small-caps font." />
</CssPropertyValue>
<CssProperty name="font-family" restriction="font" type="font" version="1.0" description="Specifies a prioritized list of font family names or generic family names. A user agent iterates through the list of family names until it matches an available font that contains a glyph for the character to be rendered." syntax="body { $(name): arial, verdana; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-family0" />
<CssPropertyValue type="font">
<entry value="Arial, Helvetica, sans-serif" />
<entry value="Cambria, Cochin, Georgia, Times, Times New Roman, serif" />
<entry value="Courier New, Courier, monospace" />
<entry value="'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif" />
<entry value="'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif" />
<entry value="Georgia, 'Times New Roman', Times, serif" />
<entry value="'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif" />
<entry value="Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif" />
<entry value="'Segoe UI', Tahoma, Geneva, Verdana, sans-serif" />
<entry value="'Times New Roman', Times, serif" />
<entry value="'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif" />
<entry value="Verdana, Geneva, Tahoma, sans-serif" />
<entry value="serif" />
<entry value="sans-serif" />
<entry value="cursive" />
<entry value="fantasy" />
<entry value="monospace" />
</CssPropertyValue>
<CssProperty name="font-size-adjust" version="3.0" browsers="FF3.5,IE10" restriction="number" description="This property is a way to preserve the readability of text when font fallback occurs. It does this by adjusting the font-size so that the x-height is the same regardless of the font used." syntax="div { $(name): 0.58; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-size-adjust">
<entry value="none" description="Do not preserve the font's x-height." />
</CssProperty>
<CssProperty name="font" version="1.0" restriction="font" type="font-weight, font-style, font-variant, font-size" description="Shorthand property for setting 'font-style', 'font-variant', 'font-weight', 'font-size', 'line-height', and 'font-family', at the same place in the style sheet. The syntax of this property is based on a traditional typographical shorthand notation to set multiple properties related to fonts." syntax="body { $(name): bold 12px arial, verdana; }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font">
<entry value="caption" version="3.0" description="The font used for captioned controls (e.g., buttons, drop-downs, etc.)." />
<entry value="icon" version="3.0" description="The font used to label icons." />
<entry value="menu" version="3.0" description="The font used in menus (e.g., dropdown menus and menu lists)." />
<entry value="message-box" version="3.0" description="The font used in dialog boxes." />
<entry value="small-caption" version="3.0" description="The font used for labeling small controls." />
<entry value="status-bar" version="3.0" description="The font used in window status bars." />
</CssProperty>
<CssProperty name="font-feature-settings" version="3.0" browsers="IE10" restriction="string, integer" description="This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features that are not widely used but are needed for a particular use case." syntax="body { $(name): 'hwid'; }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font-feature-settings">
<entry value="normal" version="3.0" description="No change in glyph substitution or positioning occurs." />
<entry value="on" browsers="none" />
<entry value="off" browsers="none" />
<entry value=""dlig"" />
<entry value=""smcp"" />
<entry value=""c2cs"" />
<entry value=""liga"" />
<entry value=""lnum"" />
<entry value=""onum"" />
<entry value=""tnum"" />
<entry value=""kern"" />
<entry value=""swsh"" />
</CssProperty>
<CssProperty name="font-kerning" version="3.0" browsers="none" restriction="enum" description="Kerning is the contextual adjustment of inter-glyph spacing. This property controls metric kerning, kerning that utilizes adjustment data contained in the font." syntax="body { $(name): normal; }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font-kerning">
<entry value="auto" />
<entry value="normal" />
<entry value="none" />
</CssProperty>
<CssProperty name="font-language-override" version="3.0" browsers="none" restriction="string" description="The value of 'normal' implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering." syntax="body { $(name): 'SRB'; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-language-override-prop">
<entry value="normal" description="Implies that when rendering with OpenType fonts the language of the document is used to infer the OpenType language system, used to select language specific features when rendering." />
</CssProperty>
<CssProperty name="font-synthesis" version="3.0" browsers="none" restriction="enum" description="This property controls whether user agents are allowed to synthesize bold or oblique font faces when a font family lacks bold or italic faces." syntax="html:lang(ar) { $(name): none; }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font-synthesis">
<entry value="none" description="Disallow all synthetic faces." />
<entry value="style" />
<entry value="weight" />
</CssProperty>
<CssProperty name="font-variant-alternates" version="3.0" browsers="none" restriction="enum" description="For any given character, fonts can provide a variety of alternate glyphs in addition to the default glyph for that character. This property provides control over the selection of these alternate glyphs." syntax="h2 { $(name): styleset(3,5); }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font-variant-alternates">
<entry value="normal" />
<entry value="stylistic()" description="Enables display of stylistic alternates." />
<entry value="contextual" description="Enables display of contextual alternates." />
<entry value="no-contextual" description="Disables display of contextual alternates." />
<entry value="historical-forms" description="Enables display of historical forms." />
<entry value="styleset()" description="Enables display with stylistic sets." />
<entry value="character-variant()" description="Enables display of specific character variants." />
<entry value="swash()" description="Enables display of swash glyphs." />
<entry value="ornaments()" description="Enables replacement of default glyphs with ornaments, if provided in the font." />
<entry value="annotation()" description="Enables display of alternate annotation forms." />
<entry value="ruby" description="Enables display of ruby glyphs. This value only selects a glyph for use in ruby text, it does not affect font scaling." />
</CssProperty>
<CssProperty name="font-variant-caps" version="3.0" browsers="none" restriction="enum" description="Specifies control over capitalized forms." syntax="p { $(name): titling-caps; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-variant-caps-prop">
<entry value="normal" />
<entry value="small-caps" description="Enables display of small capitals. Small-caps glyphs typically use the form of uppercase letters but are reduced to the size of lowercase letters." />
<entry value="all-small-caps" description="Enables display of small capitals for both upper and lowercase letters." />
<entry value="petite-caps" description="Enables display of petite capitals." />
<entry value="all-petite-caps" description="Enables display of petite capitals for both upper and lowercase letters." />
<entry value="titling-caps" description="Enables display of titling capitals." />
<entry value="unicase" description="Enables display of mixture of small capitals for uppercase letters with normal lowercase letters." />
</CssProperty>
<CssProperty name="font-variant-east-asian" version="3.0" browsers="none" restriction="enum" description="Allows control of glyph substitute and positioning in East Asian text." syntax="mark { $(name): normal; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-variant-east-asian-prop">
<entry value="normal" />
<entry value="hojo-kanji" description="Enables rendering of Hojo Kanji forms." />
<entry value="jis78" description="Enables rendering of JIS78 forms." />
<entry value="jis83" description="Enables rendering of JIS83 forms." />
<entry value="jis90" description="Enables rendering of JIS90 forms." />
<entry value="jis04" description="Enables rendering of JIS04 forms." />
<entry value="nlckanji" description="Enables rendering of NLC Kanji forms." />
<entry value="simplified" description="Enables rendering of simplified forms." />
<entry value="traditional" description="Enables rendering of traditional forms." />
<entry value="full-width" description="Enables rendering of full-width variants." />
<entry value="proportional-width" description="Enables rendering of proportionally-spaced variants." />
</CssProperty>
<CssProperty name="font-variant-ligatures" version="3.0" browsers="none" restriction="enum" description="Specifies control over which ligatures are enabled or disabled. A value of ‘normal’ implies that the defaults set by the font are used." syntax="div { $(name): historical-ligatures; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-variant-ligatures-prop">
<entry value="normal" description="Implies that the defaults set by the font are used." />
<entry value="common-ligatures" description="Enables display of common ligatures." />
<entry value="no-common-ligatures" description="Disables display of common ligatures." />
<entry value="additional-ligatures" description="Enables display of additional ligatures." />
<entry value="no-additional-ligatures" description="Disables display of additional ligatures." />
<entry value="historical-ligatures" description="Enables display of historical ligatures." />
<entry value="no-historical-ligatures" description="Disables display of historical ligatures." />
</CssProperty>
<CssProperty name="font-variant-numeric" version="3.0" browsers="none" restriction="enum" description="Specifies control over numerical forms." syntax=".amount { $(name): oldstyle-nums diagonal-fractions; }" standard-reference="http://www.w3.org/TR/css3-fonts/#font-variant-numeric-prop">
<entry value="normal" />
<entry value="lining-nums" description="Enables display of lining numerals." />
<entry value="oldstyle-nums" description="Enables display of old-style numerals." />
<entry value="proportional-nums" description="Enables display of proportional numerals." />
<entry value="tabular-nums" description="Enables display of tabular numerals." />
<entry value="diagonal-fractions" description="Enables display of lining diagonal fractions." />
<entry value="stacked-fractions" description="Enables display of lining stacked fractions." />
<entry value="slashed-zero" description="Enables display of slashed zeros." />
</CssProperty>
<CssProperty name="font-variant-position" version="3.0" browsers="none" restriction="enum" description="Specifies the vertical position" syntax="sub { $(name): subscript; }" standard-reference="http://www.w3.org/TR/css3-fonts/#propdef-font-variant-position">
<entry value="normal" />
<entry value="sub" />
<entry value="super" />
<entry value="ordinal" />
</CssProperty>
</CssModule>