+tlig fails sometimes in mkiv
On c.t.t. there was a discussion about the TeX-ligatures -- and --- for endash and emdash. It seems that the luaotfload/context code fails for some font/mode combination: For some fonts +tlig works with both modes, some works only with mode=base, and there was also a report of font which doesn't work at all (Frutiger LT 55 Roman). E.g. on my PC +tlig works for Arial (c:/windows/fonts/Arial.ttf) tested with a current context minimals only with mode=base. \font\test="Arial:mode=node;+tlig" \font\testb="Arial:mode=base;+tlig" \starttext \test -- --- abc %fails \testb -- --- abc %works \stoptext \bye -- Ulrike Fischer
Dear all, I read Jon's, Khalid's, and Idriss' exchange of mails on typesetting Arabic a while ago. Problems with typesetting Arabic in context thusfar have been my only reason left for not switching over to ConteXt altogether. Idriss adviced to forget the mirroring thing as suggested on contextgarden, and use \setupdirections instead. Could anyone - perhaps Jon - please tell me in more detail how the working 'hello world' example looks like, including the references to the font ScheherazadeRegOT.ttf? Thanks in advance! Robert
On 5-3-2011 5:24, Ulrike Fischer wrote:
On c.t.t. there was a discussion about the TeX-ligatures -- and --- for endash and emdash. It seems that the luaotfload/context code fails for some font/mode combination: For some fonts +tlig works with both modes, some works only with mode=base, and there was also a report of font which doesn't work at all (Frutiger LT 55 Roman).
E.g. on my PC +tlig works for Arial (c:/windows/fonts/Arial.ttf) tested with a current context minimals only with mode=base.
\font\test="Arial:mode=node;+tlig"
\font\testb="Arial:mode=base;+tlig"
\starttext
\test -- --- abc %fails
\testb -- --- abc %works
\stoptext \bye
this is a side effect of there being two hyphens, think of: \char 45\char 45 \char173\char173 \char173\char 45 \char 45\char173 \char 45\char 45\char 45 \char173\char173\char173 \char173\char 45\char 45 \char 45\char173\char173 fixed in next beta Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
R. Ermers, Midden Oosten Perspectief
-
Ulrike Fischer