On 2/2/2016 12:28 PM, Pablo Rodriguez wrote:
Dear list,

just accidentally I discovered the following issue:

     \definefontfamily[mainface][rm][MinionPro]
     \definefontfamily[anotherface][rm][TeX Gyre Pagella]
     % wrong hyphenation too with TeX Gyre Pagella Math
     \setupbodyfont[mainface]

     \starttext
     \startTEXpage[offset=1em]
     \hyphenatedword{LibreOffice libre office}

     \es\hyphenatedword{LibreOffice libre office}
     \stopTEXpage
     \startTEXpage[offset=1em]
     \setupbodyfont[anotherface]%
     \hyphenatedword{LibreOffice libre office}

     \es\hyphenatedword{LibreOffice libre office}
     \stopTEXpage
     \stoptext

Hyphenation is wrong with fonts that don’t come with the ConTeXt
distribution. TeX Gyre Pagella is hyphenated right, but MinionPro or
even TeX Gyre Pagella Math are wrong hyphenated.

I’m afraid it may be a bug. Could anyone confirm it?

to what extend hyphenation is supported depends on the interaction between ligature building / kerning / trickery and possible hyohenation points; the font handler tries to do its best

math: don't use math fonts for text

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to