From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39917 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: analyzing type-otf.tex Date: Tue, 8 Apr 2008 12:39:24 +0200 Message-ID: <6faad9f00804080339g57647307l801e2b229258f2b6@mail.gmail.com> References: <7F6B54BD-335B-48CA-B5EB-0A5012BB71B9@fiee.net> <6faad9f00804070358y732172bv39fb3e1c5bd738fc@mail.gmail.com> <47FB292E.3080506@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: ger.gmane.org 1207651234 25395 80.91.229.12 (8 Apr 2008 10:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2008 10:40:34 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 08 12:41:05 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 1JjBGD-0007NI-48 for gctc-ntg-context-518@m.gmane.org; Tue, 08 Apr 2008 12:41:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0DEAD1FBEB; Tue, 8 Apr 2008 12:40:24 +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 29972-03; Tue, 8 Apr 2008 12:40:01 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7A5B1FBD4; Tue, 8 Apr 2008 12:40:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 41E241FBD4 for ; Tue, 8 Apr 2008 12:40:00 +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 30286-02-4 for ; Tue, 8 Apr 2008 12:39:26 +0200 (CEST) Original-Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by ronja.ntg.nl (Postfix) with ESMTP id 80AF61FBB8 for ; Tue, 8 Apr 2008 12:39:26 +0200 (CEST) Original-Received: by wr-out-0506.google.com with SMTP id c53so1620053wra.20 for ; Tue, 08 Apr 2008 03:39:25 -0700 (PDT) Original-Received: by 10.151.145.5 with SMTP id x5mr3375380ybn.12.1207651164075; Tue, 08 Apr 2008 03:39:24 -0700 (PDT) Original-Received: by 10.150.122.20 with HTTP; Tue, 8 Apr 2008 03:39:24 -0700 (PDT) In-Reply-To: <47FB292E.3080506@wxs.nl> Content-Disposition: inline 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:39917 Archived-At: On Tue, Apr 8, 2008 at 10:13 AM, Hans Hagen wrote: > Mojca Miklavec wrote: > > Hello Hraban, > > > > thanks for pointing this out. > > > > To Hans: the \typescriptthree indeed needs to go out of those > > definitions (line 300 in type-otf). > > hm, can you post the line? i have this 300-311 (301-310), this are the fixed ones, but probably broken across lines: \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular] [file:texgyre\typescriptprefix{f:\typescripttwo}-regular] [features=default] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Italic] [file:texgyre\typescriptprefix{f:\typescripttwo}-italic] [features=default] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Bold] [file:texgyre\typescriptprefix{f:\typescripttwo}-bold] [features=default] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalic] [file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [features=default] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Caps] [file:texgyre\typescriptprefix{f:\typescripttwo}-regular] [features=oldstyle] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-ItalicCaps] [file:texgyre\typescriptprefix{f:\typescripttwo}-italic] [features=oldstyle] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldCaps] [file:texgyre\typescriptprefix{f:\typescripttwo}-bold] [features=oldstyle] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps] [file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [features=oldstyle] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Slanted] [\typescriptprefix{n:\typescripttwo}-Italic] [features=default] \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldSlanted] [\typescriptprefix{n:\typescripttwo}-BoldItalic] [features=default] > > type-xtx contains quite some "uc" leftovers, but I'm not sure if > > "fixing" them is a wise idea or not (backward compatibility). > > i dunno either ... this may date from the time that not that many open > type fonts were around, so we may consider dropping it (i.e. we kind of > assume that xetex users use open type) There are definitions like this one: \starttypescript[sans][arial][uc] \definefontsynonym[Arial] [name:Arial] [features=default] \definefontsynonym[ArialItalic] [name:Arial Italic] [features=default] \definefontsynonym[ArialBold] [name:Arial Bold] [features=default] \definefontsynonym[ArialBoldItalic][name:Arial Bold Italic][features=default] \stoptypescript It just predefines some (mostly Mac) typescripts. Some of those typescripts might be usable in luaTeX as well. I have no idea how many people have ever used \usetypescript[arial][uc] [uc] could be removed, but if these lines are deleted, the documents will be broken (which is probably true for quite some XeTeX documents from past which used the old notation). And on the other hand, the definitions could be made more generic (to be usable in LuaTeX as well). Mojca To Hraban: oh, I did not understand you joke at first :-) Now I see what you were trying to say with "extending the font to the full unicode range" :-) And sure enough - LuaTeX doesn't do that either. What I meant was - in afm files you have: C 235 ; WX 355 ; N ordmasculine ; B 38 369 317 710 ; C 241 ; WX 791 ; N ae ; B 45 -10 741 460 ; C 245 ; WX 283 ; N dotlessi ; B 75 -10 263 450 ; C 248 ; WX 328 ; N lslash ; B 20 -10 308 700 ; C 249 ; WX 497 ; N oslash ; B 55 -39 442 489 ; C 250 ; WX 792 ; N oe ; B 55 -10 742 460 ; C 251 ; WX 488 ; N germandbls ; B 80 -10 448 710 ; C -1 ; WX 620 ; N afii10017 ; B 10 0 610 700 ; C -1 ; WX 626 ; N afii10020 ; B 100 0 576 700 ; C -1 ; WX 626 ; N afii10050 ; B 100 0 576 770 ; C -1 ; WX 685 ; N afii10018 ; B 100 -10 625 700 ; C -1 ; WX 685 ; N afii10046 ; B 100 -10 625 700 ; C -1 ; WX 745 ; N afii10044 ; B 10 -10 685 700 ; C -1 ; WX 957 ; N afii10045 ; B 100 -10 857 700 ; C -1 ; WX 685 ; N afii10019 ; B 100 -10 625 710 ; C -1 ; WX 626 ; N afii10052 ; B 100 0 576 880 ; And there is probably no way for XeTeX to access afiiXXXXX, whatever that is, while LuaTeX tries to guess the unicode point from the glyph name and uses that one when available. But - I will stop talking about LuaTeX, as I have promised you already in the last email. ___________________________________________________________________________________ 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 ___________________________________________________________________________________