diff options
Diffstat (limited to 'tex/context/base/mkiv/typo-fkr.mkiv')
-rw-r--r-- | tex/context/base/mkiv/typo-fkr.mkiv | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tex/context/base/mkiv/typo-fkr.mkiv b/tex/context/base/mkiv/typo-fkr.mkiv new file mode 100644 index 000000000..684d831bc --- /dev/null +++ b/tex/context/base/mkiv/typo-fkr.mkiv @@ -0,0 +1,38 @@ +%D \module +%D [ file=typo-fkr, +%D version=2016.10.10, +%D title=\CONTEXT\ Typesetting Macros, +%D subtitle=Additional Font Kerning, +%D author=Hans Hagen, +%D date=\currentdate, +%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}] +%C +%C This module is part of the \CONTEXT\ macro||package and is +%C therefore copyrighted by \PRAGMA. See mreadme.pdf for +%C details. + +\writestatus{loading}{ConTeXt Typesetting Macros / Additional Font Kerning} + +\registerctxluafile{typo-fkr}{1.001} + +\definesystemattribute[extrafontkern][public] + +\unprotect + +% none : not across fonts (but still within) +% min : min value across fonts +% max : max value across fonts +% mixed : mean value across fonts +% reset : disable + +\unexpanded\def\setextrafontkerns[#1]% + {\clf_setextrafontkerns{#1}} + +\unexpanded\def\resetextrafontkerns + {\attribute\extrafontkernattribute\attributeunsetvalue} + +\appendtoks + \resetextrafontkerns +\to \everyresettypesetting + +\protect |