From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45550 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \definefont problem with latest beta (mkiv) Date: Thu, 13 Nov 2008 16:50:01 +0100 Message-ID: <6C21EA06-DC01-4104-9A27-469D7EB4B7AD@gmail.com> References: <49198A9F.80105@gmx.net> <115224fb0811110548t50f84abar2c9d0923e1d0cce9@mail.gmail.com> <4919B586.5060002@gmx.net> <70967B9F-4BB2-400A-B3C7-AF7D4D833E6E@gmail.com> <4919D356.7000800@gmx.net> <491AA620.9070503@elvenkind.com> <491AB7B6.6070507@gmx.net> <491C462E.7000602@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226591508 27910 80.91.229.12 (13 Nov 2008 15:51:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Nov 2008 15:51:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 13 16:52:49 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1L0eUw-0000YR-CG for gctc-ntg-context-518@m.gmane.org; Thu, 13 Nov 2008 16:52:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3C54B1FC03; Thu, 13 Nov 2008 16:51:36 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10257-01; Thu, 13 Nov 2008 16:50:47 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 197281FC06; Thu, 13 Nov 2008 16:50:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 110D81FC06 for ; Thu, 13 Nov 2008 16:50:46 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 32553-03-4 for ; Thu, 13 Nov 2008 16:50:09 +0100 (CET) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.157]) by ronja.ntg.nl (Postfix) with ESMTP id 8E44B1FBB8 for ; Thu, 13 Nov 2008 16:50:09 +0100 (CET) Original-Received: by yw-out-1718.google.com with SMTP id 5so429436ywm.74 for ; Thu, 13 Nov 2008 07:50:08 -0800 (PST) Original-Received: by 10.86.58.3 with SMTP id g3mr1957163fga.71.1226591407221; Thu, 13 Nov 2008 07:50:07 -0800 (PST) Original-Received: from ?10.70.7.40? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id e20sm1175411fga.1.2008.11.13.07.50.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Nov 2008 07:50:06 -0800 (PST) In-Reply-To: <491C462E.7000602@gmx.net> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45550 Archived-At: Am 13.11.2008 um 16:22 schrieb Peter Rolf: > 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. The output for Tahoma in MkIV is correct but it is different from MkIV because MkII use the values for the lineheight from Latin modern and MkIV use the values from Tahoma. \usetypescriptfile[type-microsoft-tahoma] \usetypescript[tahoma] \setupbodyfont[10pt] \starttext \the\dimexpr1ex\relax \switchtobodyfont[tahoma,10pt] \the\dimexpr1ex\relax \stoptext Try \setupstrut[fit] or \setfontstrut in your document. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________