On 8/10/2025 9:48 PM, W wrote:
/Sorry I couldn't log in to the mailing list, it was yelling server error!/
Greetings Everybody, I wish everyone is doing great!
I was trying to shrink the font's width for my own personal preference.
Using the method as presented in the example would shrink all the
font characters by the same factor, including the space character.
I'd desire to retain the original width of the space character, while
shrinking all the other characters. Is there any way to get it done?
I would highly appreciate any help or suggestions!
Thanks,
Ali Ali
Example File
```
%% PATH of the font from the `cwd`
\edef\TheFontFile{font/SourceSerif4-Regular.otf}
\definefontfile[FontFile][file:\TheFontFile][features=default]
%% Font as is
\definefont[Regular][FontFile]
%% Font with width shrinked by some arbitrary value
\definefont[Modified][FontFile*default,extend=.925]
\starttext
\Regular
\input{zapf}
\Modified
\input{zapf}
\stoptext
there is a 'spacing' pseudo feature that accepts things like
1.1 + 1.2 - 1.3 minus 1.4 plus 1.1 extra 1.4
but i haven't tested it for a while
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________