summaryrefslogtreecommitdiff
path: root/fonts/enc
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/enc')
-rw-r--r--fonts/enc/dvips/context/ec-sc.enc84
-rw-r--r--fonts/enc/dvips/context/texnansi-sc.enc319
2 files changed, 403 insertions, 0 deletions
diff --git a/fonts/enc/dvips/context/ec-sc.enc b/fonts/enc/dvips/context/ec-sc.enc
new file mode 100644
index 000000000..77357c9f3
--- /dev/null
+++ b/fonts/enc/dvips/context/ec-sc.enc
@@ -0,0 +1,84 @@
+% This version is sc extended by Hans Hagen using PalatinoNova-Regular.afm.
+%
+%
+% This is the EC encoding.
+%
+% These are the ligs and kerns in addition to those found in the
+% AFM file. (The only ligs in the Times-Roman.afm file are the
+% fi and fl ligatures.)
+%
+% LIGKERN space l =: lslash ; space L =: Lslash ;
+% LIGKERN question quoteleft =: questiondown ; exclam quoteleft =: exclamdown ;
+% LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ;
+% LIGKERN quoteleft quoteleft =: quotedblleft ;
+% LIGKERN quoteright quoteright =: quotedblright ;
+%
+% We blow away kerns to and from spaces (TeX doesn't have a
+% space) and also remove any kerns from the numbers (although
+% the only kern pair that mentions a number in Times-Roman.afm
+% is one one.)
+%
+% LIGKERN space {} * ; * {} space ; zero {} * ; * {} zero ;
+% LIGKERN one {} * ; * {} one ; two {} * ; * {} two ;
+% LIGKERN three {} * ; * {} three ; four {} * ; * {} four ;
+% LIGKERN five {} * ; * {} five ; six {} * ; * {} six ;
+% LIGKERN seven {} * ; * {} seven ; eight {} * ; * {} eight ;
+% LIGKERN nine {} * ; * {} nine ;
+% LIGKERN comma comma =: quotedblbase ; less less =: guillemotleft ;
+% LIGKERN greater greater =: guillemotright ;
+%
+/ECEncoding [ % now 256 chars follow
+% 0x00
+ /grave.sc /acute.sc /circumflex.sc /tilde.sc /dieresis.sc /hungarumlaut.sc /ring.sc /caron.sc
+ /breve.sc /macron.sc /dotaccent.sc /cedilla
+ /ogonek /quotesinglbase /guilsinglleft /guilsinglright
+% 0x10
+ /quotedblleft /quotedblright /quotedblbase /guillemotleft
+ /guillemotright /endash /emdash /cwm
+ /zeroinferior /dotlessi /dotlessj /ff /fi.sc /fl.sc /ffi /ffl
+% 0x20
+ /visualspace /exclam.sc /quotedbl /numbersign
+ /dollar.sc /percent.sc /ampersand.sc /quoteright
+ /parenleft /parenright /asterisk /plus /comma /hyphen /period /slash
+% 0x30
+ /zero.sc /one.sc /two.sc /three.sc /four.sc /five.sc /six.sc /seven.sc
+ /eight.sc /nine.sc /colon /semicolon /less /equal /greater /question.sc
+% 0x40
+ /at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O
+% 0x50
+ /P /Q /R /S /T /U /V /W
+ /X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
+% 0x60
+ /quoteleft /a.sc /b.sc /c.sc /d.sc /e.sc /f.sc /g.sc /h.sc /i.sc /j.sc /k.sc /l.sc /m.sc /n.sc /o.sc
+% 0x70
+ /p.sc /q.sc /r.sc /s.sc /t.sc /u.sc /v.sc /w.sc
+ /x.sc /y.sc /z.sc /braceleft /bar /braceright /asciitilde /hyphen
+% 0x80
+ /Abreve /Aogonek /Cacute /Ccaron /Dcaron /Ecaron /Eogonek /Gbreve
+ /Lacute /Lcaron /Lslash /Nacute /Ncaron /Ng /Ohungarumlaut /Racute
+% 0x90
+ /Rcaron /Sacute /Scaron /Scedilla
+ /Tcaron /Tcedilla /Uhungarumlaut /Uring
+ /Ydieresis /Zacute /Zcaron /Zdotaccent /IJ /Idotaccent /dbar /section
+% 0xA0
+ /abreve.sc /aogonek.sc /cacute.sc /ccaron.sc /dcaron.sc /ecaron.sc /eogonek.sc /gbreve.sc
+ /lacute.sc /lcaron.sc /lslash.sc /nacute.sc /ncaron.sc /ng /ohungarumlaut.sc /racute.sc
+% 0xB0
+ /rcaron.sc /sacute.sc /scaron.sc /scedilla.sc
+ /tquoteright /tcedilla /uhungarumlaut.sc /uring.sc
+ /ldot.sc /zacute.sc /zcaron.sc /zdotaccent.sc /ij.sc /exclamdown.sc /questiondown.sc /sterling.sc
+% 0xC0
+ /Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
+ /Egrave /Eacute /Ecircumflex /Edieresis
+ /Igrave /Iacute /Icircumflex /Idieresis
+% 0xD0
+ /Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /OE
+ /Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /Germandbls
+% 0xE0
+ /agrave.sc /aacute.sc /acircumflex.sc /atilde.sc /adieresis.sc /aring.sc /ae.sc /ccedilla.sc
+ /egrave.sc /eacute.sc /ecircumflex.sc /edieresis.sc
+ /igrave.sc /iacute.sc /icircumflex.sc /idieresis.sc
+% 0xF0
+ /eth.sc /ntilde.sc /ograve.sc /oacute.sc /ocircumflex.sc /otilde.sc /odieresis.sc /oe.sc
+ /oslash.sc /ugrave.sc /uacute.sc /ucircumflex.sc /udieresis.sc /yacute.sc /thorn.sc /germandbls.sc
+] def
diff --git a/fonts/enc/dvips/context/texnansi-sc.enc b/fonts/enc/dvips/context/texnansi-sc.enc
new file mode 100644
index 000000000..553a74d88
--- /dev/null
+++ b/fonts/enc/dvips/context/texnansi-sc.enc
@@ -0,0 +1,319 @@
+% This version is sc extended by Hans Hagen using PalatinoNova-Regular.afm.
+%
+% @psencodingfile{
+% author = "Y&Y, Inc.",
+% version = "1.1",
+% date = "1 December 1996",
+% filename = "texnansi.enc",
+% email = "help@YandY.com",
+% address = "45 Walden Street // Concord, MA 01742, USA",
+% codetable = "ISO/ASCII",
+% checksum = "xx",
+% docstring = "Encoding for fonts in Adobe Type 1 format for use with TeX."
+% }
+%
+% The idea is to have all 228 characters normally included in Type 1 text
+% fonts (plus a few more) available for typesetting. This is effectively
+% the character set in Adobe Standard Encoding, ISO Latin 1, plus a few more.
+%
+% Character code assignments were made as follows:
+%
+% (1) The character layout largely matches `ASCII' in the 32 -- 126 range,
+% except for `circumflex' in 94 and `tilde' in 126, to match `TeX text'
+% (`asciicircumflex' and `asciitilde' appear in 158 and 142 instead).
+%
+% (2) The character layout matches `Windows ANSI' in almost all places,
+% except for `quoteright' in 39 and `quoteleft' in 96 to match ASCII
+% (`quotesingle' and `grave' appear in 129 and 18 instead).
+%
+% (3) The character layout matches `TeX typewriter' used by CM text fonts
+% in most places (except for discordant positions such as hungarumlaut
+% (instead of braceright), dotaccent (instead of underscore) etc.
+%
+% (4) Remaining characters are assigned arbitrarily to the `control character'
+% range (0 -- 31), avoiding 0, 9, 10 and 13 in case we meet dumb software
+% - similarly one should really avoid 127 and 128 if possible.
+% In addition, the 8 open slots in Windows ANSI between 128 and 159 are used.
+%
+% (5) Y&Y Lucida Bright includes some extra ligatures and such; ff, ffi, ffl,
+% and `dotlessj,' these are included 11 -- 15, and 17.
+%
+% (6) Hyphen appears both at 45 and 173 for compatibility with both ASCII
+% and Windows ANSI.
+%
+% (7) It doesn't really matter where ligatures appear (both real, such as ffi,
+% and pseudo such as ---) since these should not be accessed directly, only
+% via ligature information in the TFM file.
+%
+% SAMPLE USAGE (in `psfonts.map' file for DVIPS):
+%
+% lbr LucidaBright "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <lbr.pfb
+%
+% This tells DVIPS that the font called `lbr' in TeX has PostScript
+% FontName `LucidaBright.' It also asks DVIPS to expand the file `lbr.pfb'
+% into PFA form, to include the attached `texnansi.enc' encoding vector,
+% and to then actually reencode the font based on that encoding vector.
+%
+% Revised 1996 June 1 by adding second position for `fl' to avoid Acrobat bug.
+% Revised 1996 June 1 by adding second position for `fraction' for same reason.
+% Revised 1997 Oct 1 by adding cwm (used in boundary char TFM code)
+% Revised 1998 Mar 1 by adding Unicode for Euro character
+%
+/TeXnANSIEncoding [
+/.notdef % 0
+/Euro.sc % /Uni20AC 1
+/.notdef % 2
+/.notdef % 3
+/fraction % 4
+/dotaccent.sc % 5
+/hungarumlaut.sc % 6
+/ogonek % 7
+/fl.sc % 8
+/.notdef % /fraction % 9 not used (see 4), backward compatability only
+/cwm % 10 not used, except boundary char internally maybe
+/ff % 11
+/fi.sc % 12
+/.notdef % /fl.sc % 13 not used (see 8), backward compatability only
+/ffi % 14
+/ffl % 15
+/dotlessi % 16
+/dotlessj % 17
+/grave.sc % 18
+/acute.sc % 19
+/caron.sc % 20
+/breve.sc % 21
+/macron.sc % 22
+/ring.sc % 23
+/cedilla % 24
+/germandbls.sc % 25
+/ae.sc % 26
+/oe.sc % 27
+/oslash.sc % 28
+/AE % 29
+/OE % 30
+/Oslash % 31
+/space % 32 % /suppress in TeX text
+/exclam.sc % 33
+/quotedbl % 34 % /quotedblright in TeX text
+/numbersign % 35
+/dollar.sc % 36
+/percent.sc % 37
+/ampersand.sc % 38
+/quoteright % 39 % /quotesingle in ANSI
+/parenleft % 40
+/parenright % 41
+/asterisk % 42
+/plus % 43
+/comma % 44
+/hyphen % 45
+/period % 46
+/slash % 47
+/zero.sc % 48
+/one.sc % 49
+/two.sc % 50
+/three.sc % 51
+/four.sc % 52
+/five.sc % 53
+/six.sc % 54
+/seven.sc % 55
+/eight.sc % 56
+/nine.sc % 57
+/colon % 58
+/semicolon % 59
+/less % 60 % /exclamdown.sc in Tex text
+/equal % 61
+/greater % 62 % /questiondown.sc in TeX text
+/question.sc % 63
+/at % 64
+/A % 65
+/B % 66
+/C % 67
+/D % 68
+/E % 69
+/F % 70
+/G % 71
+/H % 72
+/I % 73
+/J % 74
+/K % 75
+/L % 76
+/M % 77
+/N % 78
+/O % 79
+/P % 80
+/Q % 81
+/R % 82
+/S % 83
+/T % 84
+/U % 85
+/V % 86
+/W % 87
+/X % 88
+/Y % 89
+/Z % 90
+/bracketleft % 91
+/backslash % 92 % /quotedblleft in TeX text
+/bracketright % 93
+/circumflex.sc % 94 % /asciicircum in ASCII
+/underscore % 95 % /dotaccent.sc in TeX text
+/quoteleft % 96 % /grave.sc accent in ANSI
+/a.sc % 97
+/b.sc % 98
+/c.sc % 99
+/d.sc % 100
+/e.sc % 101
+/f.sc % 102
+/g.sc % 103
+/h.sc % 104
+/i.sc % 105
+/j.sc % 106
+/k.sc % 107
+/l.sc % 108
+/m.sc % 109
+/n.sc % 110
+/o.sc % 111
+/p.sc % 112
+/q.sc % 113
+/r.sc % 114
+/s.sc % 115
+/t.sc % 116
+/u.sc % 117
+/v.sc % 118
+/w.sc % 119
+/x.sc % 120
+/y.sc % 121
+/z.sc % 122
+/braceleft % 123 % /endash in TeX text
+/bar % 124 % /emdash in TeX test
+/braceright % 125 % /hungarumlaut.sc in TeX text
+/tilde.sc % 126 % /asciitilde in ASCII
+/dieresis.sc % 127 not used (see 168), use higher up instead
+/Lslash % 128 this position is unfortunate, but now too late to fix
+/quotesingle % 129
+/quotesinglbase % 130
+/florin.sc % 131
+/quotedblbase % 132
+/ellipsis % 133
+/dagger % 134
+/daggerdbl % 135
+/circumflex.sc % 136
+/perthousand.sc % 137
+/Scaron % 138
+/guilsinglleft % 139
+/OE % 140
+/Zcaron % 141
+/asciicircum % 142
+/minus % 143
+/lslash.sc % 144
+/quoteleft % 145
+/quoteright % 146
+/quotedblleft % 147
+/quotedblright % 148
+/bullet % 149
+/endash % 150
+/emdash % 151
+/tilde.sc % 152
+/trademark % 153
+/scaron.sc % 154
+/guilsinglright % 155
+/oe.sc % 156
+/zcaron.sc % 157
+/asciitilde % 158
+/Ydieresis % 159
+/nbspace % 160 % /space (no break space)
+/exclamdown.sc % 161
+/cent.sc % 162
+/sterling.sc % 163
+/currency % 164
+/yen.sc % 165
+/brokenbar % 166
+/section % 167
+/dieresis.sc % 168
+/copyright % 169
+/ordfeminine.sc % 170
+/guillemotleft % 171
+/logicalnot % 172
+/sfthyphen % 173 % /hyphen (hanging hyphen)
+/registered % 174
+/macron.sc % 175
+/degree % 176
+/plusminus % 177
+/twosuperior % 178
+/threesuperior % 179
+/acute.sc % 180
+/mu % 181
+/paragraph % 182
+/periodcentered % 183
+/cedilla % 184
+/onesuperior % 185
+/ordmasculine % 186
+/guillemotright % 187
+/onequarter % 188
+/onehalf % 189
+/threequarters % 190
+/questiondown.sc % 191
+/Agrave % 192
+/Aacute % 193
+/Acircumflex % 194
+/Atilde % 195
+/Adieresis % 196
+/Aring % 197
+/AE % 198
+/Ccedilla % 199
+/Egrave % 200
+/Eacute % 201
+/Ecircumflex % 202
+/Edieresis % 203
+/Igrave % 204
+/Iacute % 205
+/Icircumflex % 206
+/Idieresis % 207
+/Eth % 208
+/Ntilde % 209
+/Ograve % 210
+/Oacute % 211
+/Ocircumflex % 212
+/Otilde % 213
+/Odieresis % 214
+/multiply % 215 % OE in T1
+/Oslash % 216
+/Ugrave % 217
+/Uacute % 218
+/Ucircumflex % 219
+/Udieresis % 220
+/Yacute % 221
+/Thorn % 222
+/germandbls.sc % 223
+/agrave.sc % 224
+/aacute.sc % 225
+/acircumflex.sc % 226
+/atilde.sc % 227
+/adieresis.sc % 228
+/aring.sc % 229
+/ae.sc % 230
+/ccedilla.sc % 231
+/egrave.sc % 232
+/eacute.sc % 233
+/ecircumflex.sc % 234
+/edieresis.sc % 235
+/igrave.sc % 236
+/iacute.sc % 237
+/icircumflex.sc % 238
+/idieresis.sc % 239
+/eth.sc % 240
+/ntilde.sc % 241
+/ograve.sc % 242
+/oacute.sc % 243
+/ocircumflex.sc % 244
+/otilde.sc % 245
+/odieresis.sc % 246
+/divide % 247 % oe in T1
+/oslash.sc % 248
+/ugrave.sc % 249
+/uacute.sc % 250
+/ucircumflex.sc % 251
+/udieresis.sc % 252
+/yacute.sc % 253
+/thorn.sc % 254
+/ydieresis.sc % 255 % germandbls in T1
+] def