From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/38572 Path: news.gmane.org!not-for-mail From: "luigi scarso" Newsgroups: gmane.comp.tex.context Subject: Re: Unicode.otf Date: Fri, 11 Jan 2008 05:51:11 +0100 Message-ID: References: <20080111040350.GB21098@phare.normalesup.org> 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 1200027306 18924 80.91.229.12 (11 Jan 2008 04:55:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2008 04:55:06 +0000 (UTC) To: "Mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Fri Jan 11 05:55:26 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 1JDBvO-00036c-Of for gctc-ntg-context-518@m.gmane.org; Fri, 11 Jan 2008 05:55:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A5BD21FCF5; Fri, 11 Jan 2008 05:54:57 +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 11439-01; Fri, 11 Jan 2008 05:54:56 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6E81D1FCDD; Fri, 11 Jan 2008 05:51:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 81A061FC0B for ; Fri, 11 Jan 2008 05:51:53 +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 10663-01 for ; Fri, 11 Jan 2008 05:51:23 +0100 (CET) Original-Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by ronja.ntg.nl (Postfix) with ESMTP id 9B5BF1FCF5 for ; Fri, 11 Jan 2008 05:51:12 +0100 (CET) Original-Received: by py-out-1112.google.com with SMTP id p76so1259424pyb.5 for ; Thu, 10 Jan 2008 20:51:11 -0800 (PST) Original-Received: by 10.65.44.5 with SMTP id w5mr6082779qbj.45.1200027071389; Thu, 10 Jan 2008 20:51:11 -0800 (PST) Original-Received: by 10.64.156.17 with HTTP; Thu, 10 Jan 2008 20:51:11 -0800 (PST) In-Reply-To: <20080111040350.GB21098@phare.normalesup.org> 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:38572 Archived-At: On Jan 11, 2008 5:03 AM, Arthur Reutenauer wrote: > This seems to be a slight misfeature in Mark IV: I take that when > opening a font file with an .otf extension, it assumes it is an OpenType > font with PostScript outlines (cubic splines); when the file has a .ttf > extension, it supposes there are TrueType outlines (quadratic splines). > Both types of outlines are mutually exclusive and are contained in > different tables of the font file (respectively, 'CFF' and 'glyf'). > This is indeed a widespread convention (including FontForge's), but this > font doesn't follow it, since it has TrueType outlines and an .otf > extension; hence the error message (ConTeXt is looking for a CFF table > and can't find it, since there is a glyf table instead). > > When you edited the font in Fontforge and exported it as > UnicodeSymbols.otf, it was converted to a CFF-based OpenType font, so > ConTeXt could use it. > I consider this a bug in Mark IV (I think the problem is really in > ConTeXt, not LuaTeX). It should be able to use the original font, even > if this extension thing is annoying. Is there another solution other than fontforge ? I mean, I was not able to use original font without processing it with font forge. > > > And How can I quicky access symbols like U+25c9 ? > > One would think you knew that, Luigi! Just use ^^^^25c9, for example. ok. I mean using by using characters.data in char-def.lua: [0x25C9] = { unicodeslot=0x25C9, category='so', description='FISHEYE' }, it should be easy with a bit \ctxlua get glyph by description . -- luigi it's new . it's powerful . it's luatex . http://www.luatex.org ___________________________________________________________________________________ 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 ___________________________________________________________________________________