lpdf-enc.lua /size: 4777 b    last modification: 2020-07-01 14:35
1
if
not
modules
then
modules
=
{
}
end
modules
[
'
lpdf-enc
'
]
=
{
2
version
=
1
.
001
,
3
comment
=
"
companion to lpdf-ini.mkiv
"
,
4
author
=
"
Hans Hagen, PRAGMA-ADE, Hasselt NL
"
,
5
copyright
=
"
PRAGMA ADE / ConTeXt Development Team
"
,
6
license
=
"
see context related readme files
"
7
}
8 9
-- delayed loading
10 11
local
pdfconstant
=
lpdf
.
constant
12 13
return
lpdf
.
dictionary
{
14
Type
=
pdfconstant
(
"
Encoding
"
)
,
15
Differences
=
lpdf
.
array
{
16
24
,
17
pdfconstant
(
"
breve
"
)
,
18
pdfconstant
(
"
caron
"
)
,
19
pdfconstant
(
"
circumflex
"
)
,
20
pdfconstant
(
"
dotaccent
"
)
,
21
pdfconstant
(
"
hungarumlaut
"
)
,
22
pdfconstant
(
"
ogonek
"
)
,
23
pdfconstant
(
"
ring
"
)
,
24
pdfconstant
(
"
tilde
"
)
,
25
39
,
26
pdfconstant
(
"
quotesingle
"
)
,
27
96
,
28
pdfconstant
(
"
grave
"
)
,
29
128
,
30
pdfconstant
(
"
bullet
"
)
,
31
pdfconstant
(
"
dagger
"
)
,
32
pdfconstant
(
"
daggerdbl
"
)
,
33
pdfconstant
(
"
ellipsis
"
)
,
34
pdfconstant
(
"
emdash
"
)
,
35
pdfconstant
(
"
endash
"
)
,
36
pdfconstant
(
"
florin
"
)
,
37
pdfconstant
(
"
fraction
"
)
,
38
pdfconstant
(
"
guilsinglleft
"
)
,
39
pdfconstant
(
"
guilsinglright
"
)
,
40
pdfconstant
(
"
minus
"
)
,
41
pdfconstant
(
"
perthousand
"
)
,
42
pdfconstant
(
"
quotedblbase
"
)
,
43
pdfconstant
(
"
quotedblleft
"
)
,
44
pdfconstant
(
"
quotedblright
"
)
,
45
pdfconstant
(
"
quoteleft
"
)
,
46
pdfconstant
(
"
quoteright
"
)
,
47
pdfconstant
(
"
quotesinglbase
"
)
,
48
pdfconstant
(
"
trademark
"
)
,
49
pdfconstant
(
"
fi
"
)
,
50
pdfconstant
(
"
fl
"
)
,
51
pdfconstant
(
"
Lslash
"
)
,
52
pdfconstant
(
"
OE
"
)
,
53
pdfconstant
(
"
Scaron
"
)
,
54
pdfconstant
(
"
Ydieresis
"
)
,
55
pdfconstant
(
"
Zcaron
"
)
,
56
pdfconstant
(
"
dotlessi
"
)
,
57
pdfconstant
(
"
lslash
"
)
,
58
pdfconstant
(
"
oe
"
)
,
59
pdfconstant
(
"
scaron
"
)
,
60
pdfconstant
(
"
zcaron
"
)
,
61
160
,
62
pdfconstant
(
"
Euro
"
)
,
63
164
,
64
pdfconstant
(
"
currency
"
)
,
65
166
,
66
pdfconstant
(
"
brokenbar
"
)
,
67
168
,
68
pdfconstant
(
"
dieresis
"
)
,
69
pdfconstant
(
"
copyright
"
)
,
70
pdfconstant
(
"
ordfeminine
"
)
,
71
172
,
72
pdfconstant
(
"
logicalnot
"
)
,
73
pdfconstant
(
"
.notdef
"
)
,
74
pdfconstant
(
"
registered
"
)
,
75
pdfconstant
(
"
macron
"
)
,
76
pdfconstant
(
"
degree
"
)
,
77
pdfconstant
(
"
plusminus
"
)
,
78
pdfconstant
(
"
twosuperior
"
)
,
79
pdfconstant
(
"
threesuperior
"
)
,
80
pdfconstant
(
"
acute
"
)
,
81
pdfconstant
(
"
mu
"
)
,
82
183
,
83
pdfconstant
(
"
periodcentered
"
)
,
84
pdfconstant
(
"
cedilla
"
)
,
85
pdfconstant
(
"
onesuperior
"
)
,
86
pdfconstant
(
"
ordmasculine
"
)
,
87
188
,
88
pdfconstant
(
"
onequarter
"
)
,
89
pdfconstant
(
"
onehalf
"
)
,
90
pdfconstant
(
"
threequarters
"
)
,
91
192
,
92
pdfconstant
(
"
Agrave
"
)
,
93
pdfconstant
(
"
Aacute
"
)
,
94
pdfconstant
(
"
Acircumflex
"
)
,
95
pdfconstant
(
"
Atilde
"
)
,
96
pdfconstant
(
"
Adieresis
"
)
,
97
pdfconstant
(
"
Aring
"
)
,
98
pdfconstant
(
"
AE
"
)
,
99
pdfconstant
(
"
Ccedilla
"
)
,
100
pdfconstant
(
"
Egrave
"
)
,
101
pdfconstant
(
"
Eacute
"
)
,
102
pdfconstant
(
"
Ecircumflex
"
)
,
103
pdfconstant
(
"
Edieresis
"
)
,
104
pdfconstant
(
"
Igrave
"
)
,
105
pdfconstant
(
"
Iacute
"
)
,
106
pdfconstant
(
"
Icircumflex
"
)
,
107
pdfconstant
(
"
Idieresis
"
)
,
108
pdfconstant
(
"
Eth
"
)
,
109
pdfconstant
(
"
Ntilde
"
)
,
110
pdfconstant
(
"
Ograve
"
)
,
111
pdfconstant
(
"
Oacute
"
)
,
112
pdfconstant
(
"
Ocircumflex
"
)
,
113
pdfconstant
(
"
Otilde
"
)
,
114
pdfconstant
(
"
Odieresis
"
)
,
115
pdfconstant
(
"
multiply
"
)
,
116
pdfconstant
(
"
Oslash
"
)
,
117
pdfconstant
(
"
Ugrave
"
)
,
118
pdfconstant
(
"
Uacute
"
)
,
119
pdfconstant
(
"
Ucircumflex
"
)
,
120
pdfconstant
(
"
Udieresis
"
)
,
121
pdfconstant
(
"
Yacute
"
)
,
122
pdfconstant
(
"
Thorn
"
)
,
123
pdfconstant
(
"
germandbls
"
)
,
124
pdfconstant
(
"
agrave
"
)
,
125
pdfconstant
(
"
aacute
"
)
,
126
pdfconstant
(
"
acircumflex
"
)
,
127
pdfconstant
(
"
atilde
"
)
,
128
pdfconstant
(
"
adieresis
"
)
,
129
pdfconstant
(
"
aring
"
)
,
130
pdfconstant
(
"
ae
"
)
,
131
pdfconstant
(
"
ccedilla
"
)
,
132
pdfconstant
(
"
egrave
"
)
,
133
pdfconstant
(
"
eacute
"
)
,
134
pdfconstant
(
"
ecircumflex
"
)
,
135
pdfconstant
(
"
edieresis
"
)
,
136
pdfconstant
(
"
igrave
"
)
,
137
pdfconstant
(
"
iacute
"
)
,
138
pdfconstant
(
"
icircumflex
"
)
,
139
pdfconstant
(
"
idieresis
"
)
,
140
pdfconstant
(
"
eth
"
)
,
141
pdfconstant
(
"
ntilde
"
)
,
142
pdfconstant
(
"
ograve
"
)
,
143
pdfconstant
(
"
oacute
"
)
,
144
pdfconstant
(
"
ocircumflex
"
)
,
145
pdfconstant
(
"
otilde
"
)
,
146
pdfconstant
(
"
odieresis
"
)
,
147
pdfconstant
(
"
divide
"
)
,
148
pdfconstant
(
"
oslash
"
)
,
149
pdfconstant
(
"
ugrave
"
)
,
150
pdfconstant
(
"
uacute
"
)
,
151
pdfconstant
(
"
ucircumflex
"
)
,
152
pdfconstant
(
"
udieresis
"
)
,
153
pdfconstant
(
"
yacute
"
)
,
154
pdfconstant
(
"
thorn
"
)
,
155
pdfconstant
(
"
ydieresis
"
)
,
156
}
,
157
}
158