summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ini.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/font-ini.mkiv')
-rw-r--r--tex/context/base/font-ini.mkiv33
1 files changed, 18 insertions, 15 deletions
diff --git a/tex/context/base/font-ini.mkiv b/tex/context/base/font-ini.mkiv
index 8eb10e3ae..1c9cdcd32 100644
--- a/tex/context/base/font-ini.mkiv
+++ b/tex/context/base/font-ini.mkiv
@@ -2871,45 +2871,48 @@
{\global\expandafter\chardef\csname\??fq=#1\endcsname % beware () needed as we get two values returned
\ctxsprint{((fonts.specifiers.presetcontext("#1","#2","#3")))}\relax}
+\definefontfeature % experiment, this might move to the lua code
+ [always]
+ [mode=auto,
+ kern=yes,
+ mark=yes,
+ mkmk=yes,
+ curs=yes]
+
\definefontfeature
[default]
- [mode=auto, % was nothing
- liga=yes,
- kern=yes,
+ [always]
+ [liga=yes,
tlig=yes,
trep=yes] % texligatures=yes,texquotes=yes
\definefontfeature
[smallcaps]
- [mode=auto, % was nothing
- smcp=yes,
- kern=yes,
+ [always]
+ [smcp=yes,
tlig=yes,
trep=yes] % texligatures=yes,texquotes=yes
\definefontfeature
[oldstyle]
- [mode=auto, % was nothing
- onum=yes,
+ [always]
+ [onum=yes,
liga=yes,
- kern=yes,
tlig=yes,
trep=yes] % texligatures=yes,texquotes=yes
\definefontfeature % == default unless redefined
[ligatures]
- [mode=auto, % was nothing
- liga=yes,
- kern=yes,
+ [always]
+ [liga=yes,
tlig=yes,
trep=yes]
\definefontfeature % can be used for type1 fonts
[complete]
- [mode=auto, % was nothing
+ [always]
+ [compose=yes,
liga=yes,
- kern=yes,
- compose=yes,
tlig=yes,
trep=yes]