Forgot to write, thanks a lot BTW. De : Hans Hagen Envoyé le :dimanche 30 décembre 2018 13:18 À : mailing list for ConTeXt users; Joseph Canedo Objet :Re: [NTG-context] Issue with missing kerns when using fallback family(or KeterYG font)
On 12/30/2018 12:06 PM, Joseph Canedo wrote: > Dear list, > > Given the Following MWE, I notice that with latest beta (does not seem > to happen before) kerns are not applied in paragraph in which there are > some hebrew letters. This only affects text after that hebrew letters up > to end of paragraph. > > I use 2 fonts in sample : EBGaramond and KeterYG (can be found in > various places). > > Thanks for advising > > Best regards > > Joseph > > \showfontkerns > > \definefontfeature[base][mode=node, kern=yes, script=latn, trep=yes] > > \definefontfeature[hebrew][default][mode=node, lang=heb, script=hebr] > > \definefallbackfamily[mainfont][serif][KeterYG][preset=range:hebrew, > scale=1.0, features=hebrew] > > \definefontfamily[mainfont][serif][EBGaramond][features=base] > > \setupbodyfont[mainfont, 9pt] > > \def\He{\hebrewHe} > > \def\Tav{\hebrewTav} > > \def\Vav{\hebrewVav} > > \starttext > > VA c'est {\setupalign[r2l]\Tav\He\Vav} VA c'est % there is no kern > between latest V and A > > VA c'est. % kern as expected > > \stoptext in font-ots.lua you can find local lefttoright = 0 local righttoleft = 1 the second line misses a 't' can you test with fixing that (i'm cleaning up a bit of directional code and upcoming betas might have more of that cleanup) 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 ___________________________________________________________________________________