On 3/19/2017 10:08 PM, Pablo Rodriguez wrote:
On 03/19/2017 09:58 PM, Wolfgang Schuster wrote:
Pablo Rodriguez 19. März 2017 schrieb:
But [features={none, quality}] disables everything and I canot enable
protrusion plus expansion only.

At least, it doesn’t work with \definefontfamily. I haven’t tested this
with \setupfontfamily.

\definefontfamily[mainface][mono][Latin Modern Mono Prop][features=quality]

Yes, this might work, but I’m afraid I need to disable other default
features such as ligatures (not only liga, but TeX ligatures).

I had this problem typesetting XML sources and I didn’t know how to
disable the other features.

My main interest in having mono with quality are standard paragraphs
with Roman text. Expansion and protrusion enable better line breaking.

not true

expansion can make excessive spacing less excessive
protrusion is an esthetic feature

esp protrusion also adds constraints (i.e. one cannot selectively protrude a hyphen in one line and not in the next one for instance) so the solutionspace doesn't become much better

(fwiw, personally i never use expansion but occasionally i use protrusion)

And if mono doesn’t get protrusion, you may find wrong optical margins
(protrusion), because the lack of it only on the mono face.

Many thanks for your help,

Pablo



--

-----------------------------------------------------------------
                                          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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to