typo-fkr.mkiv /size: 981 b    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=typo-fkr,
3
%D version=2016.10.10,
4
%D title=\CONTEXT\ Typesetting Macros,
5
%D subtitle=Additional Font Kerning,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\writestatus
{
loading
}{
ConTeXt
Typesetting
Macros
/
Additional
Font
Kerning
}
15 16
\registerctxluafile
{
typo
-
fkr
}{}
17 18
\definesystemattribute
[
extrafontkern
][
public
]
19 20
\unprotect
21 22
% none : not across fonts (but still within)
23
% min : min value across fonts
24
% max : max value across fonts
25
% mixed : mean value across fonts
26
% reset : disable
27 28
\unexpanded
\def
\setextrafontkerns
[#
1
]
%
29
{
\clf_setextrafontkerns
{
#
1
}}
30 31
\unexpanded
\def
\resetextrafontkerns
32
{
\c_attr_extrafontkern
\attributeunsetvalue
}
33 34
\appendtoks
35
\resetextrafontkerns
36
\to
\everyresettypesetting
37 38
\protect
39