summaryrefslogtreecommitdiff
path: root/tex/context/base/font-ini.mkiv
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-05-12 16:40:13 +0300
committerMarius <mariausol@gmail.com>2011-05-12 16:40:13 +0300
commit749d7be28ed620f9017cb6a65735ac937d1b8a86 (patch)
tree7af803e232f42abf2e3e0f0125553b16fddaa3d7 /tex/context/base/font-ini.mkiv
parent6c967d9258646797658ce33690739ae34d4b7f0b (diff)
downloadcontext-749d7be28ed620f9017cb6a65735ac937d1b8a86.tar.gz
beta 2011.05.12 15:19
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]