Debian Codegraph @

texmf-dist/fonts/enc/dvips/nimbus15/nimbus15mono-ec.enc

raw
1 % @@psencodingfile@{
2 % date = "19aug15",
3 % filename = "urw35-ec.enc",
4 % email = "tex-fonts@@tug.org",
5 % docstring = "This is the EC (aka Cork aka T1) encoding vector
6 % for 8-bit fonts to be used with TeX, changed for URW35."
7 % @}
8 %
9 % The original paper can be found on
10 % https://www.tug.org/TUGboat/Articles/tb11-4/tb30ferguson.pdf
11 %
12 % Names of the glyphs try to comply with:
13 % Adobe Glyph List For New Fonts, ver. 1.6, 30 Januaury 2006
14 % http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt
15 % but some exceptions are listed below.
16 %
17 % The following characters are not present in Unicode:
18 % - /perthousandzero = used to compose /perthousand, /pertenthousand, ... out of /percent + this character
19 % - Germandbls = now there is a related character in Unicode,
20 % U+1E9E - LATIN CAPITAL LETTER SHARP S
21 % but probably /S_S ligature name should be used instead
22 %
23 % The following two characters have different Unicode mappings than on the AGL:
24 % - /tcedilla = U+0163 - LATIN SMALL LETTER T WITH CEDILLA
25 % according to AGL it should be /tcommaaccent
26 % - /Tcedilla = U+0162 - LATIN CAPITAL LETTER T WITH CEDILLA
27 % according to AGL it should be /Tcommaaccent
28 % But having /scedilla and /tcommaaccent mixed is even more ugly.
29 %
30 % The following characters are not present on the AGL:
31 % - /dotlessj = U+0237 - LATIN SMALL LETTER DOTLESS J
32 % - /cwm = U+200B - ZERO WIDTH SPACE
33 % - /visiblespace = U+2423 - OPEN BOX
34 % and should probably better be labeled with uniXXXX notation
35 % (though hardly any font has those glyphs anyway).
36 %
37 % The following ligatures are deprecated by recent AGL:
38 % - /ff, /fi, /fl, /ffi, /ffl = /f_i and similar should have been used instead
39 %
40 % Hyphen character:
41 % There are two character named "hyphen". The original article explains
42 % the background of this decision (if one wanted to use a different
43 % hyphenation character and still be able to use the dash). So the first
44 % character should serve as "hyphen char" and the other one as "dash" in
45 % compound words. The character 0x2D is supposed to be the hyphen char,
46 % but since there used to be two characters of the same name in this
47 % file for some time, the tools like afmtotfm have been confused and
48 % remapped the hyphen char to 0x7F automatically. After the second
49 % character's name was changed, hyphenation characters in existing
50 % tfm fonts (generated with the old ec.enc) have disappeared, so the
51 % second character has been renamed back to "hyphen". Anyone generating
52 % tfm fonts is strongly encouraged to make a copy of this file, rename
53 % it and change glyph names as required for their font.
54 %
55 % Other remarks:
56 % - /Eth = U+00D0 - LATIN CAPITAL LETTER ETH
57 % must also be used as /Dcroat
58 % U+0110 - LATIN CAPITAL LETTER D WITH STROKE
59 %
60 % Misleading names and shapes of letters (that lead to different names in past)
61 % - /lcaron = U+013E - LATIN SMALL LETTER L WITH CARON
62 % /lquoteright
63 % - /Lcaron = U+013D - LATIN CAPITAL LETTER L WITH CARON
64 % /Lquoteright
65 % - /dcaron = U+010F - LATIN SMALL LETTER D WITH CARON
66 % /dquoteright
67 % - /tcaron = U+0165 - LATIN SMALL LETTER T WITH CARON
68 % /tquoteright
69 % - /dcroat = U+0111 - LATIN SMALL LETTER D WITH STROKE
70 % /dbar, /dmacron
71 %
72 % - /cwm - /bom, /zerowidthnobreakspace
73 % - /underscore - /underline
74 % - /hyphen.alt - /sfthyphen, /hyphen, /dash
75 %
76 %
77 % Turkish & Romanian
78 % --------------------
79 % EC encoding has been defined to include /tcedilla and /scedilla.
80 % For Turkish one needs /scedilla, while for Romanian one would need
81 % "t with comma below" (/tcommaaccent) and "s with comma below" (/scommaaccent).
82 % "t with cedilla" in not used in any language except in inferior
83 % Romanian typography that can use cedillas instead of commas below.
84 % AGL has a strange mapping as well.
85 %
86 % Without adding an additional character, it is impossible to support both
87 % languages at the same time, so EC is not really best choice for Romanians,
88 % even though it can be "misused" if one replaces both /scedilla and /tcedilla
89 % with /scommaaccent and /tcommaaccent.
90 %
91 % Characters that have been renamed in July 2008:
92 % 0x18 /zeroinferior -> /perthousandzero
93 % 0x20 U+2423 /visualspace -> /visiblespace (if font doesn't have it, use /space)
94 % 0x8D U+014A /Ng -> /Eng
95 % 0x9E U+0111 /dbar -> /dcroat
96 % 0xAD U+014B /ng -> /eng
97 % 0xB4 U+0165 /tquoteright -> /tcaron
98 %
99 /nimbusmonoECEncoding [ % now 256 chars follow
100 /grave % 0x00 U+0060
101 /acute % 0x01 U+00B4
102 /circumflex % 0x02 U+02C6
103 /tilde % 0x03 U+02DC
104 /dieresis % 0x04 U+00A8
105 /hungarumlaut % 0x05 U+02DD
106 /ring % 0x06 U+02DA
107 /caron % 0x07 U+02C7
108 /breve % 0x08 U+02D8
109 /macron % 0x09 U+00AF
110 /dotaccent % 0x0A U+02D9
111 /cedilla % 0x0B U+00B8
112 /ogonek % 0x0C U+02DB
113 /quotesinglbase % 0x0D U+201A
114 /guilsinglleft % 0x0E U+2039
115 /guilsinglright % 0x0F U+203A
116 /quotedblleft % 0x10 U+201C
117 /quotedblright % 0x11 U+201D
118 /quotedblbase % 0x12 U+201E
119 /guillemotleft % 0x13 U+00AB
120 /guillemotright % 0x14 U+00BB
121 /endash % 0x15 U+2013
122 /emdash % 0x16 U+2014
123 /cwm % 0x17 U+200B
124 /perthousandzero % 0x18 ______
125 /dotlessi % 0x19 U+0131
126 /dotlessj % 0x1A U+0237
127 /ff % 0x1B U+FB00
128 /fi % 0x1C U+FB01
129 /fl % 0x1D U+FB02
130 /ffi % 0x1E U+FB03
131 /ffl % 0x1F U+FB04
132 /uni2423 %/visiblespace % 0x20 U+2423
133 /exclam % 0x21
134 /quotedbl % 0x22
135 /numbersign % 0x23
136 /dollar % 0x24
137 /percent % 0x25
138 /ampersand % 0x26
139 /quoteright % 0x27 U+2019
140 /parenleft % 0x28
141 /parenright % 0x29
142 /uni204E % 0x2A U+204E is low asterisk
143 /plus % 0x2B
144 /comma % 0x2C
145 /hyphen % 0x2D
146 /period % 0x2E
147 /slash % 0x2F
148 /zero % 0x30
149 /one % 0x31
150 /two % 0x32
151 /three % 0x33
152 /four % 0x34
153 /five % 0x35
154 /six % 0x36
155 /seven % 0x37
156 /eight % 0x38
157 /nine % 0x39
158 /colon % 0x3A
159 /semicolon % 0x3B
160 /less % 0x3C
161 /equal % 0x3D
162 /greater % 0x3E
163 /question % 0x3F
164 /at % 0x40
165 /A % 0x41
166 /B % 0x42
167 /C % 0x43
168 /D % 0x44
169 /E % 0x45
170 /F % 0x46
171 /G % 0x47
172 /H % 0x48
173 /I % 0x49
174 /J % 0x4A
175 /K % 0x4B
176 /L % 0x4C
177 /M % 0x4D
178 /N % 0x4E
179 /O % 0x4F
180 /P % 0x50
181 /Q % 0x51
182 /R % 0x52
183 /S % 0x53
184 /T % 0x54
185 /U % 0x55
186 /V % 0x56
187 /W % 0x57
188 /X % 0x58
189 /Y % 0x59
190 /Z % 0x5A
191 /bracketleft % 0x5B
192 /backslash % 0x5C
193 /bracketright % 0x5D
194 /asciicircum % 0x5E
195 /underscore % 0x5F
196 /quoteleft % 0x60 U+2018
197 /a % 0x61
198 /b % 0x62
199 /c % 0x63
200 /d % 0x64
201 /e % 0x65
202 /f % 0x66
203 /g % 0x67
204 /h % 0x68
205 /i % 0x69
206 /j % 0x6A
207 /k % 0x6B
208 /l % 0x6C
209 /m % 0x6D
210 /n % 0x6E
211 /o % 0x6F
212 /p % 0x70
213 /q % 0x71
214 /r % 0x72
215 /s % 0x73
216 /t % 0x74
217 /u % 0x75
218 /v % 0x76
219 /w % 0x77
220 /x % 0x78
221 /y % 0x79
222 /z % 0x7A
223 /braceleft % 0x7B
224 /bar % 0x7C
225 /braceright % 0x7D
226 /asciitilde % 0x7E
227 /hyphen % 0x7F U+002D (explicit "hyphen char")
228 /Abreve % 0x80 U+0102
229 /Aogonek % 0x81 U+0104
230 /Cacute % 0x82 U+0106
231 /Ccaron % 0x83 U+010C
232 /Dcaron % 0x84 U+010E
233 /Ecaron % 0x85 U+011A
234 /Eogonek % 0x86 U+0118
235 /Gbreve % 0x87 U+011E
236 /Lacute % 0x88 U+0139
237 /Lcaron % 0x89 U+013D
238 /Lslash % 0x8A U+0141
239 /Nacute % 0x8B U+0143
240 /Ncaron % 0x8C U+0147
241 /Eng % 0x8D U+014A
242 /Ohungarumlaut % 0x8E U+0150
243 /Racute % 0x8F U+0154
244 /Rcaron % 0x90 U+0158
245 /Sacute % 0x91 U+015A
246 /Scaron % 0x92 U+0160
247 /Scedilla % 0x93 U+015E
248 /Tcaron % 0x94 U+0164
249 /Tcommaaccent % 0x95 U+0162
250 /Uhungarumlaut % 0x96 U+0170
251 /Uring % 0x97 U+016E
252 /Ydieresis % 0x98 U+0178
253 /Zacute % 0x99 U+0179
254 /Zcaron % 0x9A U+017D
255 /Zdotaccent % 0x9B U+017B
256 /IJ % 0x9C U+0132
257 /Idotaccent % 0x9D U+0130
258 /dcroat % 0x9E U+0111
259 /section % 0x9F U+00A7
260 /abreve % 0xA0 U+0103
261 /aogonek % 0xA1 U+0105
262 /cacute % 0xA2 U+0107
263 /ccaron % 0xA3 U+010D
264 /dcaron % 0xA4 U+010F
265 /ecaron % 0xA5 U+011B
266 /eogonek % 0xA6 U+0119
267 /gbreve % 0xA7 U+011F
268 /lacute % 0xA8 U+013A
269 /lcaron % 0xA9 U+013E
270 /lslash % 0xAA U+0142
271 /nacute % 0xAB U+0144
272 /ncaron % 0xAC U+0148
273 /eng % 0xAD U+014B
274 /ohungarumlaut % 0xAE U+0151
275 /racute % 0xAF U+0155
276 /rcaron % 0xB0 U+0159
277 /sacute % 0xB1 U+015B
278 /scaron % 0xB2 U+0161
279 /scedilla % 0xB3 U+015F
280 /tcaron % 0xB4 U+0165
281 /tcommaaccent % 0xB5 U+0163
282 /uhungarumlaut % 0xB6 U+0171
283 /uring % 0xB7 U+016F
284 /ydieresis % 0xB8 U+00FF
285 /zacute % 0xB9 U+017A
286 /zcaron % 0xBA U+017E
287 /zdotaccent % 0xBB U+017C
288 /ij % 0xBC U+0133
289 /exclamdown % 0xBD U+00A1
290 /questiondown % 0xBE U+00BF
291 /sterling % 0xBF U+00A3
292 /Agrave % 0xC0
293 /Aacute % 0xC1
294 /Acircumflex % 0xC2
295 /Atilde % 0xC3
296 /Adieresis % 0xC4
297 /Aring % 0xC5
298 /AE % 0xC6
299 /Ccedilla % 0xC7
300 /Egrave % 0xC8
301 /Eacute % 0xC9
302 /Ecircumflex % 0xCA
303 /Edieresis % 0xCB
304 /Igrave % 0xCC
305 /Iacute % 0xCD
306 /Icircumflex % 0xCE
307 /Idieresis % 0xCF
308 /Eth % 0xD0
309 /Ntilde % 0xD1
310 /Ograve % 0xD2
311 /Oacute % 0xD3
312 /Ocircumflex % 0xD4
313 /Otilde % 0xD5
314 /Odieresis % 0xD6
315 /OE % 0xD7 U+0152
316 /Oslash % 0xD8
317 /Ugrave % 0xD9
318 /Uacute % 0xDA
319 /Ucircumflex % 0xDB
320 /Udieresis % 0xDC
321 /Yacute % 0xDD
322 /Thorn % 0xDE
323 /Germandbls % 0xDF (U+1E9E, /S_S)
324 /agrave % 0xE0
325 /aacute % 0xE1
326 /acircumflex % 0xE2
327 /atilde % 0xE3
328 /adieresis % 0xE4
329 /aring % 0xE5
330 /ae % 0xE6
331 /ccedilla % 0xE7
332 /egrave % 0xE8
333 /eacute % 0xE9
334 /ecircumflex % 0xEA
335 /edieresis % 0xEB
336 /igrave % 0xEC
337 /iacute % 0xED
338 /icircumflex % 0xEE
339 /idieresis % 0xEF
340 /eth % 0xF0
341 /ntilde % 0xF1
342 /ograve % 0xF2
343 /oacute % 0xF3
344 /ocircumflex % 0xF4
345 /otilde % 0xF5
346 /odieresis % 0xF6
347 /oe % 0xF7 U+0153
348 /oslash % 0xF8
349 /ugrave % 0xF9
350 /uacute % 0xFA
351 /ucircumflex % 0xFB
352 /udieresis % 0xFC
353 /yacute % 0xFD
354 /thorn % 0xFE
355 /germandbls % 0xFF U+00DF
356 ] def