summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/lpdf-enc.lua
blob: 090fb15cd5df94b43c99d85098f5a115f59823bb (plain)
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
if not modules then modules = { } end modules ['lpdf-enc'] = {
    version   = 1.001,
    comment   = "companion to lpdf-ini.mkiv",
    author    = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
    copyright = "PRAGMA ADE / ConTeXt Development Team",
    license   = "see context related readme files"
}

-- delayed loading

local pdfconstant = lpdf.constant

return lpdf.dictionary {
    Type = pdfconstant("Encoding"),
    Differences = lpdf.array {
        24,
        pdfconstant("breve"),
        pdfconstant("caron"),
        pdfconstant("circumflex"),
        pdfconstant("dotaccent"),
        pdfconstant("hungarumlaut"),
        pdfconstant("ogonek"),
        pdfconstant("ring"),
        pdfconstant("tilde"),
        39,
        pdfconstant("quotesingle"),
        96,
        pdfconstant("grave"),
        128,
        pdfconstant("bullet"),
        pdfconstant("dagger"),
        pdfconstant("daggerdbl"),
        pdfconstant("ellipsis"),
        pdfconstant("emdash"),
        pdfconstant("endash"),
        pdfconstant("florin"),
        pdfconstant("fraction"),
        pdfconstant("guilsinglleft"),
        pdfconstant("guilsinglright"),
        pdfconstant("minus"),
        pdfconstant("perthousand"),
        pdfconstant("quotedblbase"),
        pdfconstant("quotedblleft"),
        pdfconstant("quotedblright"),
        pdfconstant("quoteleft"),
        pdfconstant("quoteright"),
        pdfconstant("quotesinglbase"),
        pdfconstant("trademark"),
        pdfconstant("fi"),
        pdfconstant("fl"),
        pdfconstant("Lslash"),
        pdfconstant("OE"),
        pdfconstant("Scaron"),
        pdfconstant("Ydieresis"),
        pdfconstant("Zcaron"),
        pdfconstant("dotlessi"),
        pdfconstant("lslash"),
        pdfconstant("oe"),
        pdfconstant("scaron"),
        pdfconstant("zcaron"),
        160,
        pdfconstant("Euro"),
        164,
        pdfconstant("currency"),
        166,
        pdfconstant("brokenbar"),
        168,
        pdfconstant("dieresis"),
        pdfconstant("copyright"),
        pdfconstant("ordfeminine"),
        172,
        pdfconstant("logicalnot"),
        pdfconstant(".notdef"),
        pdfconstant("registered"),
        pdfconstant("macron"),
        pdfconstant("degree"),
        pdfconstant("plusminus"),
        pdfconstant("twosuperior"),
        pdfconstant("threesuperior"),
        pdfconstant("acute"),
        pdfconstant("mu"),
        183,
        pdfconstant("periodcentered"),
        pdfconstant("cedilla"),
        pdfconstant("onesuperior"),
        pdfconstant("ordmasculine"),
        188,
        pdfconstant("onequarter"),
        pdfconstant("onehalf"),
        pdfconstant("threequarters"),
        192,
        pdfconstant("Agrave"),
        pdfconstant("Aacute"),
        pdfconstant("Acircumflex"),
        pdfconstant("Atilde"),
        pdfconstant("Adieresis"),
        pdfconstant("Aring"),
        pdfconstant("AE"),
        pdfconstant("Ccedilla"),
        pdfconstant("Egrave"),
        pdfconstant("Eacute"),
        pdfconstant("Ecircumflex"),
        pdfconstant("Edieresis"),
        pdfconstant("Igrave"),
        pdfconstant("Iacute"),
        pdfconstant("Icircumflex"),
        pdfconstant("Idieresis"),
        pdfconstant("Eth"),
        pdfconstant("Ntilde"),
        pdfconstant("Ograve"),
        pdfconstant("Oacute"),
        pdfconstant("Ocircumflex"),
        pdfconstant("Otilde"),
        pdfconstant("Odieresis"),
        pdfconstant("multiply"),
        pdfconstant("Oslash"),
        pdfconstant("Ugrave"),
        pdfconstant("Uacute"),
        pdfconstant("Ucircumflex"),
        pdfconstant("Udieresis"),
        pdfconstant("Yacute"),
        pdfconstant("Thorn"),
        pdfconstant("germandbls"),
        pdfconstant("agrave"),
        pdfconstant("aacute"),
        pdfconstant("acircumflex"),
        pdfconstant("atilde"),
        pdfconstant("adieresis"),
        pdfconstant("aring"),
        pdfconstant("ae"),
        pdfconstant("ccedilla"),
        pdfconstant("egrave"),
        pdfconstant("eacute"),
        pdfconstant("ecircumflex"),
        pdfconstant("edieresis"),
        pdfconstant("igrave"),
        pdfconstant("iacute"),
        pdfconstant("icircumflex"),
        pdfconstant("idieresis"),
        pdfconstant("eth"),
        pdfconstant("ntilde"),
        pdfconstant("ograve"),
        pdfconstant("oacute"),
        pdfconstant("ocircumflex"),
        pdfconstant("otilde"),
        pdfconstant("odieresis"),
        pdfconstant("divide"),
        pdfconstant("oslash"),
        pdfconstant("ugrave"),
        pdfconstant("uacute"),
        pdfconstant("ucircumflex"),
        pdfconstant("udieresis"),
        pdfconstant("yacute"),
        pdfconstant("thorn"),
        pdfconstant("ydieresis"),
    },
}