On 10/10/2013 9:18 AM, Hans Hagen wrote:
On 10/10/2013 6:58 AM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\usemodule[simplefonts]
\setmainfont[Gill Sans MT]
\setsansfont[Arial Narrow]
\starttext
\input knuth\par
\ss\input knuth
\stoptext
It works right in Linux (http://www.ousia.tk/gs-linux.pdf and
http://www.ousia.tk/gs-linux.log), but it shows crappy font metrics and
size in Windows (http://www.ousia.tk/gs-win.pdf and
http://www.ousia.tk/gs-win.log).
Both use a beta from 07/10/2013 and the Windows version was downloaded
in Linux.
Isn”t this a bug?
Normally that's an indication that the units are unknown. They are
different fontfiles so you cannot compare their behaviour. You can try
renaming the wrong ttf to otf.
thanks to luigi testing to the extreme with these files we figured out
that we can catch the issue (more checking at the context end, maybe
some day some better checking at the luatex backend end)
so, the upcoming beta might work beta, which doesn't mean that one
should be sloppy with filenames (as mixed usage of foo.TTF FOO.TTF
FOO.ttf foo.ttf will for sure have side effects) .. one reason why i
often lowercase font filenames and keep 'm all in texmf-fonts
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________