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 -----------------------------------------------------------------