blob: 9cbda97fa8f538093c4abe83f72f86cb935b14ac (
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
|
if not modules then modules = { } end modules ['font-imp-tweaks'] = {
version = 1.001,
comment = "companion to font-ini.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
if not context then return end
local addfeature = fonts.handlers.otf.addfeature
addfeature {
name = "uppercasing",
type = "substitution",
prepend = true,
data = characters.uccodes
}
addfeature {
name = "lowercasing",
type = "substitution",
prepend = true,
data = characters.lccodes
}
|