From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35886 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Difference between MKIV and MKII Date: Fri, 10 Aug 2007 20:20:41 +0200 Message-ID: <46BCAC79.5010109@gmx.net> References: <20070808152956.avlhh13lkwckkogw@web.mail.umich.edu> <46BACEA5.6030609@wxs.nl> <20070809181942.fkqwr40cu8k8kssw@web.mail.umich.edu> <46BC38C6.2070908@gmx.net> <46BC437D.8090700@gmx.net> <46BC4B6D.7050607@wxs.nl> <46BC51FE.5010104@gmx.net> <46BC9788.3080009@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1186770057 21231 80.91.229.12 (10 Aug 2007 18:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 10 Aug 2007 18:20:57 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 10 20:20:55 2007 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 1IJZ6S-0003EO-Ei for gctc-ntg-context-518@m.gmane.org; Fri, 10 Aug 2007 20:20:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B5338203AB; Fri, 10 Aug 2007 20:20:51 +0200 (CEST) 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 26722-03-4; Fri, 10 Aug 2007 20:20:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 85D67203AD; Fri, 10 Aug 2007 20:20:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77A3E203AD for ; Fri, 10 Aug 2007 20:20:40 +0200 (CEST) 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 26722-03-3 for ; Fri, 10 Aug 2007 20:20:36 +0200 (CEST) Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id 9C43F203AB for ; Fri, 10 Aug 2007 20:20:36 +0200 (CEST) Original-Received: (qmail invoked by alias); 10 Aug 2007 18:20:36 -0000 Original-Received: from i577BA551.versanet.de (EHLO [192.168.1.3]) [87.123.165.81] by mail.gmx.net (mp035) with SMTP; 10 Aug 2007 20:20:36 +0200 X-Authenticated: #24293357 X-Provags-ID: V01U2FsdGVkX1+zkYEJ40Wzbcvpepubn642MYIwTS50w/uzbFyDfW DL6R/C15KN2eYI User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <46BC9788.3080009@wxs.nl> X-Enigmail-Version: 0.95.3 X-Y-GMX-Trusted: 0 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:35886 Archived-At: Hans Hagen schrieb: > Peter Rolf wrote: >> Hans Hagen schrieb: >>> Peter Rolf wrote: >>>> Peter Rolf schrieb: >>>>> Hi Aditya, >>>>> >>>>> Aditya Mahajan schrieb: >>>>>> Quoting Hans Hagen : >>>>>> >>>>>>> Aditya Mahajan wrote: >>>>>>>> Hi, >>>>>>>> >>>>>>>> I get significantly different white spaces (and hence page breaks) >>>>>>>> while using mkiv and mkii. Is this expected, or should I try to create >>>>>>>> minimal example exhibiting such "problems"? >>>>>>> indeed >>>>>> Here is a minimal example. The spaces around formulas are more. >>>>>> >>>>> in the meantime I have also updated my \texmf subtree (LM should be up >>>>> to date). Using your example, I now get a >>>>> >>>>> 12pt text font with pdftex and >>>>> 10pt text font with luatex (but 12pt in math mode). >>>>> >>>>> So maybe you have the same problem? >>>>> >>>>> If I remember it right, luatex normally used the OTF variant of LM in my >>>>> prior test. Now it's also T1, but with an additional font (this one is >>>>> used for the 10pt text) in comparison to pdftex: >>>>> >>>>> lmrroman12-regular (Embedded Subset) >>>>> Type: Type1 (CID) >>>>> Encoding: Identity-H >>>>> >>>> stupid me. this is otf :) >>>> >>>> http://partners.adobe.com/public/developer/opentype/index_font_formats.html >>> the lm 12 file says ... >>> >>> ["design_size"]=0, >>> ["familyname"]="LMRoman12", >>> ["fontname"]="LMRoman12-Regular", >>> ["fullname"]="LMRoman12-Regular", >>> >>> so it looks like we have a problem there; in that case mkiv assumes 10pt >>> >> i see. which format is used for "design_size"? i tried "12", but i still >> get 10pt. "12pt" gives a compilation warning (using luac); i should use >> texluac, right? :D > > 120 > makes sense > but there's also a problem in the loader (in font-otf) > > > local designsize = data.designsize or data.design_size or 100 it took me a minute to see, that the 'or 100' is not obsolete. lua is tricky and a bit nuts. > if designsize == 0 then > designsize = 100 > end > tfm.designsize = (designsize/10)*65536 > > > > > i'll upload a new zip later > ok. i'll retest the example then. > i made a mechanism that can 'repair fonts' so lm is fixed (well, the > error is intercepted > > Hans > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | fax: 038 477 53 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 : 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 ___________________________________________________________________________________