From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69345 Path: news.gmane.org!not-for-mail From: Stef Schoonderwoerd Newsgroups: gmane.comp.tex.context Subject: non-unicode glyphs in ttf fonts Date: Tue, 21 Jun 2011 10:03:14 +0200 Message-ID: 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: dough.gmane.org 1308643417 20102 80.91.229.12 (21 Jun 2011 08:03:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2011 08:03:37 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 21 10:03:26 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QYvvi-0001sH-7z for gctc-ntg-context-518@m.gmane.org; Tue, 21 Jun 2011 10:03:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3B5BBCADD3; Tue, 21 Jun 2011 10:03:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gnj2GdL8dZIb; Tue, 21 Jun 2011 10:03:22 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2359FCACE5; Tue, 21 Jun 2011 10:03:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8300CACE5 for ; Tue, 21 Jun 2011 10:03:20 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jqkHvXPjpKuG for ; Tue, 21 Jun 2011 10:03:18 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id C2CA8CAC8D for ; Tue, 21 Jun 2011 10:03:18 +0200 (CEST) Original-Received: from mail-iy0-f169.google.com (mail-iy0-f169.google.com [209.85.210.169]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5L83FFR014153 for ; Tue, 21 Jun 2011 10:03:16 +0200 Original-Received: by iyl8 with SMTP id 8so5996504iyl.14 for ; Tue, 21 Jun 2011 01:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=0bkLKIuqKlGBx7LuqhbaHgM55nNMXi0RkuTc1yOnCHM=; b=ad6b3VqjrZ55oE5AdsoUer6+3UX4Y57EBxC2BI7amwuhpqs9PM/7e6tzS/19rPxg00 pLJF6XUf4kZQfglhTWdbGEhmWQ0aKJoOgbrLuqLfmddYOMYiz7PV4/ndMFr9mJUR9SOq OiD+3WiPQNPfavxWgkvswLtLM24G4RFXQNrXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=M1fMzRohmduAt5HTce0OVpBCTZNZBcBqbE0i11u9V7m1Q1rQlqceYVruDfxdx9TdpK v/Q99C5uLOo8SJM6pl2xOCS/rx5Kv/4v3RPWH4otwwOoM00e+WKNu4rOHM95b6SJ+OgS mX5X65ICsfCfS/IcROwmFa9RdDKvflkcCojwI= Original-Received: by 10.231.84.3 with SMTP id h3mr5944400ibl.109.1308643394944; Tue, 21 Jun 2011 01:03:14 -0700 (PDT) Original-Received: by 10.231.169.141 with HTTP; Tue, 21 Jun 2011 01:03:14 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.210.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05EWw3f1X - ebc8f8ab488b - 20110621 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69345 Archived-At: Dear all, My last question concerning feature files has been resolved, my feature files now work fine. But there is one problem that still remains. The standard ligatures in the font I use (Andron Mega Corpus) work fine when approached by name in the feature file (some of them are in the PUA here); However, other ligatures, notably Th, do not work in stable nor beta. When I run context mkiv and it calls on e.g. the Th ligature, i get "!LuaTeX error (file:(...)): Invalid glyph index (gid ...). I tested it on palatino linotype which does the same. Interestingly, the gid that luatex says is invalid is always the one after the last glyph in the font (For palatino linotype, 1328; for Andron Mega Corpus, 5486). In Andron Mega Corpus, I furthermore tested all the ligatures that had a unicode codepoint (PUA) and they all work when referenced by name. All those that do not, however, fail to work. What is going on here? Working on Mac OS X 10.6.7, btw. Some help is greatly appreciated. Kind regards, Stef Schoonderwoerd ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________