[NTG-context] Font expansion enabled by default with the latest upload

Hans Hagen j.hagen at freedom.nl
Mon Nov 21 11:02:01 CET 2022


On 11/21/2022 10:20 AM, Max Chernoff via ntg-context wrote:
> Hi Hans,
> 
> Font expansion (hz) seems to be enabled by default with the latest
> upload.
> 
> If I compile this document locally with ConTeXt "2022.11.18 13:22":
> 
>     \showframe
>     
>     % \definefontfeature[default][default][expansion=quality]
>     % \usetypescript[modern-base]
>     % \setupbodyfont[reset,modern]
>     % \setupalign[hz]
>     
>     \starttext
>         Hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello hello hello hello hello hello hello hello hello hello
>         hello hello hello.
>     \stoptext
> 
> I get slightly different spacing than I do when I compile the same
> document on live.contextgarden.net. If I compile the document with the
> lines uncommitted on live.contextgarden.net, I get the same results as I
> do on my local installation with the lines commented.
> 
> Personally, I think that enabling hz expansion by default is probably a
> good thing, but this change will affect a very large number of documents
> and you never mentioned it in the announcement email, so I suspect that
> it was accidentally added when you added the math hz.
what you observe is likely a side effect of an increase in accuracy 
which gives a bit less drift in the pdf; expansion is turned off (it 
would increase runtime if turned on)

(increased accuracy was indeed a side effect of math but more to get rid 
of an annoyance at extreme resolutions)

Hans


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



More information about the ntg-context mailing list