From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39895 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: analyzing type-otf.tex Date: Mon, 7 Apr 2008 12:58:00 +0200 Message-ID: <6faad9f00804070358y732172bv39fb3e1c5bd738fc@mail.gmail.com> References: <7F6B54BD-335B-48CA-B5EB-0A5012BB71B9@fiee.net> 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 1207565982 11356 80.91.229.12 (7 Apr 2008 10:59:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Apr 2008 10:59:42 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 07 13:00:13 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 1Jip5A-0002XE-Gp for gctc-ntg-context-518@m.gmane.org; Mon, 07 Apr 2008 13:00:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3187C1FBAC; Mon, 7 Apr 2008 12:59:33 +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 20054-08-2; Mon, 7 Apr 2008 12:58:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4A0921FB72; Mon, 7 Apr 2008 12:58:54 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A96F1FB38 for ; Mon, 7 Apr 2008 12:58:52 +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 20136-02-10 for ; Mon, 7 Apr 2008 12:58:18 +0200 (CEST) Original-Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by ronja.ntg.nl (Postfix) with ESMTP id BD1531FB77 for ; Mon, 7 Apr 2008 12:58:11 +0200 (CEST) Original-Received: by ti-out-0910.google.com with SMTP id y8so445173tia.14 for ; Mon, 07 Apr 2008 03:58:01 -0700 (PDT) Original-Received: by 10.151.158.2 with SMTP id k2mr2625401ybo.206.1207565880386; Mon, 07 Apr 2008 03:58:00 -0700 (PDT) Original-Received: by 10.150.122.20 with HTTP; Mon, 7 Apr 2008 03:58:00 -0700 (PDT) In-Reply-To: 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:39895 Archived-At: Hello Hraban, thanks for pointing this out. To Hans: the \typescriptthree indeed needs to go out of those definitions (line 300 in type-otf). To Hraban: encoding=uc has *zero* effect. To be honest - I doubt that you will be able to extract any more than (theoretical limit of) 256 glyphs from the Type1 font with XeTeX - character slots and font glyphs are in one-to-one correlation, so I doubt that you can access the glyphs outside of those 256 slots (unless you make tfm & map files, but that's probably the reason why one wants to use XeTeX - to get rid of that encoding mess). So: I guess that Latin-1 works, but encoding=uc is ignored anyway. type-xtx contains quite some "uc" leftovers, but I'm not sure if "fixing" them is a wise idea or not (backward compatibility). Mojca On Sun, Apr 6, 2008 at 2:37 PM, Henning Hraban Ramm wrote: > Am 2008-04-06 um 13:35 schrieb Henning Hraban Ramm: > > > (2) > > This seems wrong to me (i.e. I don't understand it): > > > > \starttypescript [serif] > > [adventor,bonum,cursor,heros,pagella,schola,termes] > > \definefontsynonym > > [\typescriptprefix{n:\typescripttwo}-Regular] > > [file:texgyre\typescriptthree\typescriptprefix{f:\typescripttwo}- > > regular] > > [features=default] > > Works for me if I just leave out \typescriptthree ! > > Here's my working setup, including a PostScript font: > > \usetypescriptfile [type-otf2] % with change mentioned above > \usetypescript [schoolbook][uc] > > \starttypescript [sans] [urw-grotesk] > % PostScript name / file name (in texmf tree) / instead of an encoding > \definefontsynonym [URWGroteskT-LighNarr] [file:u004242t] > [features=default] > \definefontsynonym [URWGroteskT-MediNarr] [file:u004244t] > [features=default] > \definefontsynonym [URWGroteskT-LighNarrObli] [file:u004262t] > [features=default] > \definefontsynonym [URWGroteskT-MediNarrObli] [file:u004264t] > [features=default] > \stoptypescript > > \starttypescript [sans] [urw-grotesk] %[name] > \definefontsynonym [Sans] [URWGroteskT-LighNarr] > \definefontsynonym [SansItalic] [URWGroteskT-LighNarrObli] > \definefontsynonym [SansBold] [URWGroteskT-MediNarr] > \definefontsynonym [SansBoldItalic][URWGroteskT-MediNarrObli] > \definefontsynonym [SansSlanted] [SansItalic] > \definefontsynonym [SansBoldSlanted] [SansBoldItalic] > \stoptypescript > > \starttypescript [fiee] [mix] > \definetypeface [mix] [rm] [serif] [schola] [default] %[encoding= > \defaultencoding] > \definetypeface [mix] [ss] [sans] [urw-grotesk] [default] [encoding=uc] > \stoptypescript > \usetypescript [fiee][mix] > \setupbodyfont [mix,rm,8pt] ___________________________________________________________________________________ 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 ___________________________________________________________________________________