From f47b4939787074397c9ea37c1d892a1f7ccc7290 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 21 Mar 2018 09:47:34 +0100 Subject: 2018-03-21 09:24:00 --- doc/context/sources/general/fonts/fonts/fonts-extensions.tex | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'doc/context/sources/general/fonts') diff --git a/doc/context/sources/general/fonts/fonts/fonts-extensions.tex b/doc/context/sources/general/fonts/fonts/fonts-extensions.tex index 8de29fcaf..ace0f771e 100644 --- a/doc/context/sources/general/fonts/fonts/fonts-extensions.tex +++ b/doc/context/sources/general/fonts/fonts/fonts-extensions.tex @@ -430,6 +430,9 @@ This is a rather special one. First we show a couple of definitions: \typebuffer \getbuffer +When you don't want a dimension to change you leave an entry empty, so +valid entries are for instance: \type {,3,} and \type {1,,}. + As usual you apply such a feature as follows: \starttyping @@ -475,7 +478,8 @@ A special case is the following: \typebuffer \getbuffer -This will make the height and depth the same as the current strut height and depth: +This will make the height and depth the same as the {\em current} strut height +and depth: \startbuffer \ruledhbox{\definedfont[Serif*default,dimensions-e at 8pt]clipped} @@ -489,6 +493,10 @@ The dimensions are (in this case) limited: \startlinecorrection[blank] \dontleavehmode \hpack{\maincolor\inlinebuffer} \stoplinecorrection +Another special case is \type {dimensions=mono} which will make an characters the +fonts em|-|width. This is handy when you define font fallbacks where glyphs come +from a non monospaced font. + \stopsection \startsection[title=Unicoding] -- cgit v1.2.3