diff options
Diffstat (limited to 'tests/writers-lang-and-dir.context')
-rw-r--r-- | tests/writers-lang-and-dir.context | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/tests/writers-lang-and-dir.context b/tests/writers-lang-and-dir.context index a324c13f5..66dab9ead 100644 --- a/tests/writers-lang-and-dir.context +++ b/tests/writers-lang-and-dir.context @@ -10,11 +10,13 @@ \setuptagging[state=start] % use microtypography -\definefontfeature[default][default][protrusion=quality,expansion=quality,onum=yes,pnum=yes] -\definefontfeature[smallcaps][smallcaps][protrusion=quality,expansion=quality,onum=yes,pnum=yes] +\definefontfeature[default][default][script=latn, protrusion=quality, expansion=quality, itlc=yes, textitalics=yes, onum=yes, pnum=yes] +\definefontfeature[smallcaps][script=latn, protrusion=quality, expansion=quality, smcp=yes, onum=yes, pnum=yes] \setupalign[hz,hanging] +\setupitaliccorrection[global, always] \setupbodyfontenvironment[default][em=italic] % use italic as em, not slanted -\setupbodyfont[mainfont] +\usemodule[simplefonts] +\setmainfontfallback[DejaVu Serif][range={greekandcoptic, greekextended}, force=yes, rscale=auto] \setupwhitespace[medium] \setuphead[chapter] [style=\tfd,header=empty] @@ -38,12 +40,6 @@ \setupthinrules[width=15em] % width of horizontal rules -\setuphead[title][ - style={\tfd\raggedcenter}, - before={\startalignment[middle]}, - after={ - \bigskip\stopalignment}] - \starttext |