diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/context/documents/general/qrcs/setup-cs.pdf | bin | 799410 -> 799558 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-de.pdf | bin | 801327 -> 801688 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-en.pdf | bin | 804059 -> 804232 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-fr.pdf | bin | 799227 -> 799347 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-it.pdf | bin | 799573 -> 799691 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-nl.pdf | bin | 796139 -> 797314 bytes | |||
-rw-r--r-- | doc/context/documents/general/qrcs/setup-ro.pdf | bin | 796447 -> 796561 bytes | |||
-rw-r--r-- | doc/context/sources/general/fonts/fonts/fonts-environment.tex | 2 | ||||
-rw-r--r-- | doc/context/sources/general/fonts/fonts/fonts-extensions.tex | 45 |
9 files changed, 47 insertions, 0 deletions
diff --git a/doc/context/documents/general/qrcs/setup-cs.pdf b/doc/context/documents/general/qrcs/setup-cs.pdf Binary files differindex d09ee2552..fc68c5df8 100644 --- a/doc/context/documents/general/qrcs/setup-cs.pdf +++ b/doc/context/documents/general/qrcs/setup-cs.pdf diff --git a/doc/context/documents/general/qrcs/setup-de.pdf b/doc/context/documents/general/qrcs/setup-de.pdf Binary files differindex d6fdd710d..539359de1 100644 --- a/doc/context/documents/general/qrcs/setup-de.pdf +++ b/doc/context/documents/general/qrcs/setup-de.pdf diff --git a/doc/context/documents/general/qrcs/setup-en.pdf b/doc/context/documents/general/qrcs/setup-en.pdf Binary files differindex e24960fd7..53fbd8f72 100644 --- a/doc/context/documents/general/qrcs/setup-en.pdf +++ b/doc/context/documents/general/qrcs/setup-en.pdf diff --git a/doc/context/documents/general/qrcs/setup-fr.pdf b/doc/context/documents/general/qrcs/setup-fr.pdf Binary files differindex 545680a32..ec55090af 100644 --- a/doc/context/documents/general/qrcs/setup-fr.pdf +++ b/doc/context/documents/general/qrcs/setup-fr.pdf diff --git a/doc/context/documents/general/qrcs/setup-it.pdf b/doc/context/documents/general/qrcs/setup-it.pdf Binary files differindex 175c11733..81d08cb8e 100644 --- a/doc/context/documents/general/qrcs/setup-it.pdf +++ b/doc/context/documents/general/qrcs/setup-it.pdf diff --git a/doc/context/documents/general/qrcs/setup-nl.pdf b/doc/context/documents/general/qrcs/setup-nl.pdf Binary files differindex 7fa843219..dafa38009 100644 --- a/doc/context/documents/general/qrcs/setup-nl.pdf +++ b/doc/context/documents/general/qrcs/setup-nl.pdf diff --git a/doc/context/documents/general/qrcs/setup-ro.pdf b/doc/context/documents/general/qrcs/setup-ro.pdf Binary files differindex a697b3486..bfc9c6c01 100644 --- a/doc/context/documents/general/qrcs/setup-ro.pdf +++ b/doc/context/documents/general/qrcs/setup-ro.pdf diff --git a/doc/context/sources/general/fonts/fonts/fonts-environment.tex b/doc/context/sources/general/fonts/fonts/fonts-environment.tex index d15a84fdc..a8de89a42 100644 --- a/doc/context/sources/general/fonts/fonts/fonts-environment.tex +++ b/doc/context/sources/general/fonts/fonts/fonts-environment.tex @@ -1,5 +1,7 @@ \startenvironment fonts-environment + \blockligatures[fi,fl,ff] % we need to do this beforehand + \environment manuals-explaining-environment \environment manuals-explaining-cover diff --git a/doc/context/sources/general/fonts/fonts/fonts-extensions.tex b/doc/context/sources/general/fonts/fonts/fonts-extensions.tex index 4740b40b2..fcb9746f2 100644 --- a/doc/context/sources/general/fonts/fonts/fonts-extensions.tex +++ b/doc/context/sources/general/fonts/fonts/fonts-extensions.tex @@ -2357,6 +2357,51 @@ fall back to a guess. \stopsection +\startsection[title=Ligatures] + +Not all fonts provide ligature control (normally related to languages), so here is a +trick. + +\starttyping +\blockligatures[fi,ff] +\blockligatures[fl] + +\definefontfeature + [default] + [default] + [blockligatures=yes] + +\setupbodyfont[pagella] + +... +\stoptyping + +This way it works globally. Of course you can also bind it to a font instance: + +\startbuffer +\blockligatures[fi,fl] + +\definefontfeature + [default:blockligs] + [default] + [blockligatures=yes] + +\definefont[DemoBlockY][Serif*default:blockligs at 20pt] +\definefont[DemoBlockN][Serif*default at 20pt] + +Here we have no ligatures: {\DemoBlockY fi ff fl}, while here we get +them: {\DemoBlockN fi ff fl}. Of course it also depends on the font. +\stopbuffer + +\typebuffer \start \showfontkerns \getbuffer \par \stop + +There is one limitation: you need to specify the blocked ligatures before a font +gets defined and because we share resources it even has to happen before the +first font gets loaded. So, the \type {\blockligatures} commands go before +setting up the body font. This is no real problem because it's a hack anyway. + +\stopsection + \startsection[title=Collections] {\em Todo.} |