Peter Rolf schrieb:
Taco Hoekwater schrieb:
Peter Rolf wrote:
I followed that one. But my problem is more the *wrong strut height*, e.g. using a \totalstrut value of 12pt with a 8pt font. The strut height is simply not adapted to the actual font size anymore (even if I use \setstrut). I can understand why you think this is a different problem, but both struts and interline spaces depend on the value of "1ex", which has changed in an incompatible way. Perhaps you should post a complete minimal example.
But (unless the font data is really bad) we are talking about slight differences. And you can't call a 12.6pt strut for a 8pt font a slight change. :)
I will (try to) make a minimal example...
Looks like this is font related. I have tried the attached example with LM and there where no noticible differences (not at first sight). Same example with Tahoma and things go the wrong way. Regards, Peter
Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
\usetypescriptfile[type-microsoft-tahoma] \ifnum\contextmarkmode=4 \usetypescript[tahoma] \else \usetypescript[ms] [tahoma] \fi \setupbodyfont[tahoma] \starttext \startTEXpage \showstruts \tfd \setstrut \framed[strut=no]{\ruledhbox{\begstrut tfd: qgjyQWT\endstrut}} \stopTEXpage \stoptext %% TTF (part of Windows XP) \ifnum\contextmarkmode=4 \starttypescript [sans] [tahoma] \setups[font:fallback:sans] \definefontsynonym [Sans] [Tahoma] \definefontsynonym [SansBold] [Tahoma-Bold] \stoptypescript \starttypescript [sans] [tahoma] \definefontsynonym [Tahoma] [file:tahoma] [features=default] \definefontsynonym [Tahoma-Bold] [file:tahomabd] [features=default] \stoptypescript \starttypescript [tahoma] \definetypeface [\typescriptone] [ss] [sans] [tahoma] [default] \stoptypescript \else \starttypescript [map] [tahoma] [\defaultencoding] \loadmapfile [\defaultencoding-microsoft-tahoma.map] \stoptypescript % sans tahoma \starttypescript [sans] [tahoma] [name] \setups[font:fallback:sans] \definefontsynonym [Sans] [Tahoma] \definefontsynonym [SansBold] [Tahoma-Bold] \stoptypescript % sans microsoft tahoma \starttypescript [sans] [tahoma] [\defaultencoding] \definefontsynonym [Tahoma] [\defaultencoding-tahoma] [encoding=\defaultencoding] \definefontsynonym [Tahoma-Bold] [\defaultencoding-tahomabd] [encoding=\defaultencoding] \stoptypescript \starttypescript [ms] [tahoma] \definetypeface [tahoma] [ss] [sans] [tahoma] [default] [encoding=\defaultencoding] \stoptypescript \fi \endinput