From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50660 Path: news.gmane.org!not-for-mail From: Dohyun Kim Newsgroups: gmane.comp.tex.context Subject: Re: beta Date: Thu, 21 May 2009 20:10:08 +0900 Message-ID: References: <4A132EF9.80204@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242904268 22828 80.91.229.12 (21 May 2009 11:11:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 11:11:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 21 13:11:01 2009 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 1M76Av-0005GH-1L for gctc-ntg-context-518@m.gmane.org; Thu, 21 May 2009 13:11:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 433A31FDEA; Thu, 21 May 2009 13:10:58 +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 20479-04; Thu, 21 May 2009 13:10:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3947A1FD83; Thu, 21 May 2009 13:10:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 80E4C1FD83 for ; Thu, 21 May 2009 13:10:18 +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 18701-07-2 for ; Thu, 21 May 2009 13:10:09 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 9E0F61FD38 for ; Thu, 21 May 2009 13:10:09 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.144]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4LBA8jN020387 for ; Thu, 21 May 2009 13:10:09 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 5so638462qwc.38 for ; Thu, 21 May 2009 04:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=foZwqJCjdIqwZbeR/1tvzW3oJzD/maTTCf6dxYRxVjY=; b=w4pv+kF1i0G7fFrPRkFIUDDF5lJi1v9ajRA1eH1uvFD3E/e0gyzruCElAFpxm4Kd9B HoIF+muIvshxh9mLTeAowRWwmXx/2ZL6PvGofzrjbGa9zhHokA9YrVVU4+f0Tv8ZsNDf EUxXtRowpZ5ETBAJZ3uXSCIyF6RqKmyT3aVY0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cx63Gn3RDYirY+srAHK1WX2M854JhzkK7vxoZB27qEBMv0w0jTYP5l+foLIwClGPak 6LIn+GRsXeWucFwLd3WM2Q049sgIgTJVZmQfJnspdvpd9+tUJbsgK/mrGUDZnWWnqu9W TwefHgqhO6TCD+as+83i6Y46uIfZeF9KCfCrc= Original-Received: by 10.224.20.79 with SMTP id e15mr2449570qab.47.1242904208042; Thu, 21 May 2009 04:10:08 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.144; 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: 229595706 - bd3fe9c226d5 - 20090521 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50660 Archived-At: 2009/5/20 Dohyun Kim : > Lastly, current beta does not support subfonts contained in > TTC (truetype collection). =A0TTC fonts are becoming more and more > difficult to find, but we still can find them especially in CJK world. > It's quite simple to support them: > just commenting out three lines from font-dum.lua > > -- function fonts.define.get_specification(str) > -- =A0 =A0 return "", str, "", ":", str > -- end > Additionally, to be able to access TTC subfonts with "name:" method, a patch should be inserted into font-dum.lua as follows: if found then local filename, is_sub =3D found[3], found[4] + if is_sub then is_sub =3D found[2] end return filename, is_sub else Regards, Dohyun Kim ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________