font-imp-tweaks.lua /size: 641 b    last modification: 2020-07-01 14:35
1
if
not
modules
then
modules
=
{
}
end
modules
[
'
font-imp-tweaks
'
]
=
{
2
version
=
1
.
001
,
3
comment
=
"
companion to font-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
if
not
context
then
return
end
10 11
local
addfeature
=
fonts
.
handlers
.
otf
.
addfeature
12 13
addfeature
{
14
name
=
"
uppercasing
"
,
15
type
=
"
substitution
"
,
16
prepend
=
true
,
17
data
=
characters
.
uccodes
18
}
19 20
addfeature
{
21
name
=
"
lowercasing
"
,
22
type
=
"
substitution
"
,
23
prepend
=
true
,
24
data
=
characters
.
lccodes
25
}
26