-
Notifications
You must be signed in to change notification settings - Fork 790
Expand file tree
/
Copy pathfontstuff.src
More file actions
304 lines (282 loc) · 9.36 KB
/
fontstuff.src
File metadata and controls
304 lines (282 loc) · 9.36 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
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
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<!-- $Id: fontstuff.src,v 1.2 1997-11-21 00:05:32 ian Exp $ -->
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>Appendix E: Aids to Web Fonts implementation</TITLE>
<LINK rel="previous" href="grammar.html">
<LINK rel="next" href="refs.html">
<LINK rel="STYLESHEET" href="style/default.css" type="text/css">
</HEAD>
<BODY>
<H1 align="center">Appendix E: Aids to Web Fonts implementation</H1>
<P><em>This appendix is informative.</em>
<h2><a name="panose">Meaning of the Panose Digits</a></h2>
<p>For further details on Panose-1, see <a rel="biblioentry"
href="./refs.html#ref-PANOSE" class="informref">[PANOSE]</a>.
<dl>
<dt>Family
<dd><ul>
<li>Any (0)
<li>No Fit (1)
<li><a rel="biblioentry" href="./refs.html#ref-PANOSE" class="informref"><b>Latin Text
and Display</b></a> <i>(2)</i>
<li><a rel="biblioentry" href="./refs.html#ref-PANOSE" class="informref"><b>Latin Script</b></a> (3)
<li><a rel="biblioentry" href="./refs.html#ref-PANOSE" class="informref"><b>Latin Decorative</b></a> (4)
<li><a rel="biblioentry" href="./refs.html#ref-PANOSE" class="informref"><b>Latin Pictorial</b></a> (5)
</ul>
<dt>Serif Style
<dd><ul>
<li>Any (0)
<li>No Fit (1)
<li>Cove (2)
<li>Obtuse Cove (3)
<li>Square Cove (4)
<li>Obtuse Square Cove (5)
<li>Square (6)
<li>Thin (7)
<li>Bone (8)
<li>Exaggerated (9)
<li>Triangle (10)
<li>Normal Sans (11)
<li>Obtuse Sans (12)
<li>Perp Sans (13)
<li>Flared (14)
<li>Rounded (15)
</ul>
<dt>Weight
<dd><ul><li>Any (0)
<li>No Fit (1)
<li>Very Light (2)[100]
<li>Light (3) [200]
<li>Thin (4) [300]
<li>Book (5) [400] <i>same as CSS1 'normal'</i>
<li>Medium (6) [500]
<li>Demi (7) [600]
<li>Bold (8) [700] <i>same as CSS1 'bold'</i>
<li>Heavy (9) [800]
<li>Black (10) [900]
<li>Extra Black / Nord (11) [900] <i>force mapping to CSS1 100-900 scale</i>
</ul>
<dt>Proportion
<dd><ul>
<li>Any (0)
<li>No Fit (1)
<li>Old Style (2)
<li>Modern (3)
<li>Even Width (4)
<li>Expanded (5)
<li>Condensed (6)
<li>Very Expanded (7)
<li>Very Condensed (8)
<li>Monospaced (9)
</ul>
<dt>Contrast
<dd><ul><li>Any (0)
<li>No Fit (1)
<li>None (2)
<li>Very Low (3)
<li>Low (4)
<li>Medium Low (5)
<li>Medium (6)
<li>Medium High (7)
<li>High (8)
<li>Very High (9)
</ul>
<dt>Stroke Variation
<dd><ul><li>Any (0)
<li>No Fit (1)
<li>No Variation (2)
<li>Gradual/Diagonal (3)
<li>Gradual/Transitional (4)
<li>Gradual/Vertical (5)
<li>Gradual/Horizontal (6)
<li>Rapid/Vertical (7)
<li>Rapid/Horizontal (8)
<li>Instant/Horizontal (9)
<li>Instant/Vertical (10)
</ul>
<dt>Arm Style
<dd><ul><li>Any (0)
<li>No Fit (1)
<li>Straight Arms/Horizontal (2)
<li>Straight Arms/Wedge (3)
<li>Straight Arms/Vertical (4)
<li>Straight Arms/Single Serif (5)
<li>Straight Arms/Double Serif (6)
<li>Non-Straight Arms/Horizontal (7)
<li>Non-Straight Arms/Wedge (8)
<li>Non-Straight Arms/Vertical 90)
<li>Non-Straight Arms/Single Serif (10)
<li>Non-Straight Arms/Double Serif (11)
</ul>
<dt>Letterform
<dd>
<ul><li>Any (0)
<li>No Fit (1)
<li>Normal/Contact (2)
<li>Normal/Weighted (3)
<li>Normal/Boxed (4)
<li>Normal/Flattened (5)
<li>Normal/Rounded (6)
<li>Normal/Off Center (7)
<li>Normal/Square (8)
<li>Oblique/Contact (9)
<li>Oblique/Weighted (10)
<li>Oblique/Boxed (11)
<li>Oblique/Flattened (12)
<li>Oblique/Rounded (13)
<li>Oblique/Off Center (14)
<li>Oblique/Square (15)
</ul>
<dt>Midline
<dd>
<ul><li>Any (0)
<li>No Fit (1)
<li>Standard/Trimmed (2)
<li>Standard/Pointed (3)
<li>Standard/Serifed (4)
<li>High/Trimmed (5)
<li>High/Pointed (6)
<li>High/Serifed (7)
<li>Constant/Trimmed (8)
<li>Constant/Pointed (9)
<li>Constant/Serifed (10)
<li>Low/Trimmed (11)
<li>Low/Pointed (12)
<li>Low/Serifed (13)
</ul>
<dt>XHeight
<dd><ul><li>Any (0)
<li>No Fit (1)
<li>Constant/Small (2)
<li>Constant/Standard (3)
<li>Constant/Large (4)
<li>Ducking/Small (5)
<li>Ducking/Standard (6)
<li>Ducking/Large (7)
</ul>
</dl>
<h2><a name="truetype-unicode">Deducing Unicode Ranges for TrueType</a></h2>
This information is available in
the font by looking at the 'ulUnicodeRange' bits in the 'OS/2' table (if it has one),
which holds a bitfield representation of the set. This table is
defined in revision 1.66 of the TrueType specification, from
Microsoft. Considering this information as a set, each element
corresponds to a Unicode 1.1 character block, and the presence of that
element in the set indicates that the font has one or more glyph
representations to represent at least one character in that block. The
set has 128 elements as described below. The order generally follows
that in the Unicode 1.1 standard. This table may be used to convert
the information in a TrueType font into a CSS 'unicode-range'
descriptor.
<table>
<tr><th colspan="4"><hr><tr><th>Block<th>Add<th>Block name<th>Unicode range
<tr><th colspan="4"><hr><tr><td>0<td>1<td>Basic Latin<td>U+0-7F
<tr><td>1<td>2<td>Latin-1 Supplement<td>U+80-FF
<tr><td>2<td>4<td>Latin-1 Extended-A<td>U+100-17F
<tr><td>3<td>8<td>Latin Extended-B<td>U+180-24F
<tr><th colspan="4"><hr>
<tr><td>4<td>1<td>IPA Extensions<td>U+250-2AF
<tr><td>5<td>2<td>Spacing Modifier Letters<td>U+2B0-2FF
<tr><td>6<td>4<td>Combining Diacritical Marks<td>U+300-36F
<tr><td>7<td>8<td>Greek<td>U+370-3CF
<tr><th colspan="4"><hr>
<tr><td>8<td>1<td><i>Greek Symbols and Coptic</i><td>U+3D0-3EF
<tr><td>9<td>2<td>Cyrillic<td>U+400-4FF<!-- 0500-052F ?? -->
<tr><td>10<td>4<td>Armenian<td>U+530-58F
<tr><td>11<td>8<td>Hebrew<td>U+590-5FF
<tr><th colspan="4"><hr>
<tr><td>12<td>1<td><i>Hebrew Extended-A<br>Hebrew Extended-B</i><td>?? what ranges ??
<tr><td>13<td>2<td>Arabic<td>U+600-69F<!--0700-08FF ?? -->
<tr><td>14<td>4<td><i>Arabic Extended</i><td>U+670-6FF
<tr><td>15<td>8<td>Devanagari<td>U+900-97F
<tr><th colspan="4"><hr>
<tr><td>16<td>1<td>Bengali<td>U+980-9FF
<tr><td>17<td>2<td>Gurmukhi<td>U+A00-A7F
<tr><td>18<td>4<td>Gujarati<td>U+A80-AFF
<tr><td>19<td>8<td>Oriya<td>U+B00-B7F
<tr><th colspan="4"><hr>
<tr><td>20<td>1<td>Tamil<td>U+B80-BFF
<tr><td>21<td>2<td>Telugu<td>U+C00-C7F
<tr><td>22<td>4<td>Kannada<td>U+C80-CFF
<tr><td>23<td>8<td>Malayalam<td>U+D00-D7F<!-- 0D80-0DFF ?? -->
<tr><th colspan="4"><hr>
<tr><td>24<td>1<td>Thai<td>U+E00-E7F
<tr><td>25<td>2<td>Lao<td>U+E80-EFF
<!-- <tr><td>- <td><b>Tibetan ??</b><td>-->
<tr><td>26<td>4<td>Georgian<td>U+10A0-10EF
<tr><td>27<td>8<td><i>Georgian Extended</i><td>U+10F0-10FF ??
<tr><th colspan="4"><hr>
<tr><td>28<td>1<td>Hangul Jamo<td>U+1100-11FF
<tr><td>29<td>2<td>Latin Extended Additional<td>-
<tr><td>30<td>4<td>Greek Extended<td>U+1F00-1FFF
<tr><td>31<td>8<td>General Punctuation<td>U+2000-206F
<tr><th colspan="4"><hr>
<tr><td>32<td>1<td>Superscripts and Subscripts<td>-
<tr><td>33<td>2<td>Currency Symbols<td>U+20A0-20CF
<tr><td>34<td>4<td>Combining Marks for Symbols<td>U+20D0-20FF
<tr><td>35<td>8<td>Letterlike Symbols<td>U+2100-214F
<tr><th colspan="4"><hr>
<tr><td>36<td>1<td>Number Forms<td>U+2150-218F
<tr><td>37<td>2<td>Arrows<td>U+2190-21FF
<tr><td>38<td>4<td>Mathematical Operators<td>U+2200-22FF
<tr><td>39<td>8<td>Miscellaneous Technical<td>U+2300-23FF
<tr><th colspan="4"><hr>
<tr><td>40<td>1<td>Control Pictures<td>U+2400-243F
<tr><td>41<td>2<td>Optical Character Recognition<td>U+2440-245F
<tr><td>42<td>4<td>Enclosed Alphanumerics<td>U+2460-24FF
<tr><td>43<td>8<td>Box Drawing<td>U+2500-257F
<tr><th colspan="4"><hr>
<tr><td>44<td>1<td>Block Elements<td>U+2580-259F
<tr><td>45<td>2<td>Geometric Shapes<td>U+25A0-25FF
<tr><td>46<td>4<td>Miscellaneous Symbols<td>U+2600-26FF
<tr><td>47<td>8<td>Dingbats<td>U+2700-27BF
<tr><th colspan="4"><hr>
<tr><td>48<td>1<td>CJK Symbols and Punctuation<td>U+3000-303F
<tr><td>49<td>2<td>Hiragana<td>U+3040-309F
<tr><td>50<td>4<td>Katakana<td>U+30A0-30FF
<tr><td>51<td>8<td>Bopomofo<td>U+3100-312F
<tr><th colspan="4"><hr>
<tr><td>52<td>1<td>Hangul Compatibility Jamo<td>U+3130-318F
<!-- <tr><td>- <td><b>Kanbun ??</b><td>-->
<tr><td>53<td>2<td>CJK Miscellaneous<td>??
<tr><td>54<td>4<td>Enclosed CJK Letters and Months<td>U+3200-32FF
<tr><td>55<td>8<td>CJK compatibility<td>U+3300-33FF
<tr><th colspan="4"><hr>
<tr><td>56<td>1<td>Hangul<td>U+AC00-D7FF
<!-- <tr><td>57<td>0<td>RESERVED<td>-
<tr><td>58<td> RESERVED<td>- -->
<tr><td>59<td>8<td>CJK Unified Ideographs<td>U+4E00-9FFF
<tr><th colspan="4"><hr>
<!-- <tr><td>-<td><b>Surrogates ??</b><td>-->
<tr><td>60<td>1<td>Private Use Area<td>U+E000-F8FF
<tr><td>61<td>2<td>CJK Compatibility Ideographs<td>U+F900-FAFF
<tr><td>62<td>4<td>Alphabetic Presentation Forms<td>U+FB00-FB4F
<tr><td>63<td>8<td>Arabic Presentation Forms-A<td>U+FB50-FDFF
<tr><th colspan="4"><hr>
<tr><td>64<td>1<td>Combining Half Marks<td>U+FE20-FE2F<!-- this is only two characters -->
<tr><td>65<td>2<td>CJK compatibility Forms<td>U+FE30-FE4F
<tr><td>66<td>4<td>Small Form Variants<td>U+FE50-FE6F
<tr><td>67<td>8<td>Arabic Presentation Forms-B<td>U+FE70-FEFF<!--FEFF also in Specials -->
<tr><th colspan="4"><hr>
<tr><td>68<td>1<td>Halfwidth and Fullwidth Forms<td>U+FF00-FFEF
<tr><td>69<td>2<td>Specials<td>U+FFF0-FFFD
<!-- this is just the 'unknown character' glyph -->
<!-- <tr><td>70 - <br>127<td>0<td>RESERVED<td>? -->
</table>
<p class=comment>The TrueType bitfield system has the problem that it
is tied to Unicode 1.1 and is unable to cope with Unicode expansion -
it is unable to represent Tibetan for example.
</BODY>
</HTML>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-declaration:"~/SGML/HTML4.decl"
sgml-default-doctype-name:"html"
sgml-minimize-attributes:t
sgml-nofill-elements:("pre" "style" "br")
sgml-live-element-indicator:t
End:
-->