Re: [NTG-context] bidi + protrusion issue in LMTX
On 3/2/2020 8:30 PM, Joseph wrote: Hi, I found that in some cases bidi text seems to inhibit protrusion feature in text typesetting in LMTX (works fine with luatex 1.10). MWE below (difference is in first paragraph, second is for comparison and is same in both): \language[fr] \mainlanguage[fr] \definefontfamily[mainfont][serif][EBGaramond][features={protrusion=quality, expansion=quality}] you best can do this if you also want kerns: \definefontfeature[mydefault][default][protrusion=quality,expansion=quality] \definefontfamily[mainfont][serif][EBGaramond][features=mydefault] anyway, i'll look at it 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 / 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 ___
[NTG-context] bidi + protrusion issue in LMTX
Hi, I found that in some cases bidi text seems to inhibit protrusion feature in text typesetting in LMTX (works fine with luatex 1.10).MWE below (difference is in first paragraph, second is for comparison and is same in both): \language[fr]\mainlanguage[fr] \definefontfamily[mainfont][serif][EBGaramond][features={protrusion=quality, expansion=quality}] \setupbodyfont[mainfont, 14pt] \def\HSize{108.78508pt} % hardcoded from page layout \starttext \hsize=\HSize\setupalign[normal, hanging, morehyphenation, hz, verytolerant, stretch] ou/ vehement car {\setupalign[r2l]mehev} se prent aucunesfoispour hault/ excellent/ & puissant. ou/ vehement car vehem se prent aucunesfoispour hault/ excellent/ & puissant. \stoptext Best Joseph ___ 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 ___