[NTG-context] glyph substitution

Hans Hagen pragma at wxs.nl
Fri Apr 22 22:28:34 CEST 2016


On 4/22/2016 1:35 PM, Thomas Fehige wrote:
> Is there a way to tell ConTeXt to use one glyph where it would on its
> own use another one? Two examples:
>
> - In the font "Purisa Medium" the hyphen comes out as a line that is two
> or three times fatter and even a little longer than the m-dash. That is
> clearly wrong, and probably the font designer's fault. Other than that,
> the font has its merits as a not-too-sweet or crazy handwriting font.
> I'll need to tell ConTeXt to either scale that monster-hyphen down or to
> use a different glyph altogether, maybe even from another font.

you can define your own font .. search in the test suite for 
fallbacks*.tex etc as well as extensions-*.tex

> - As mentioned in an earlier post, in an \sc group I need the lowercase
> ß to be replaced with its smallcaps version, which is contained in the
> font but not accessible via any of its otf features.

see s-lingual-de.mkiv

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list