From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66000 Path: news.gmane.org!not-for-mail From: "Philipp A." Newsgroups: gmane.comp.tex.context Subject: Re: Chinese TTC fonts can not be loaded with the beta (2011.02.11) Date: Sun, 13 Feb 2011 11:31:11 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1208750048==" X-Trace: dough.gmane.org 1297593118 8689 80.91.229.12 (13 Feb 2011 10:31:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 10:31:58 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 13 11:31:54 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 1PoZFC-0001DU-Dd for gctc-ntg-context-518@m.gmane.org; Sun, 13 Feb 2011 11:31:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 81861CA96B; Sun, 13 Feb 2011 11:31:53 +0100 (CET) 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 92Ez10-zEP5c; Sun, 13 Feb 2011 11:31:40 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 873E1CA94E; Sun, 13 Feb 2011 11:31:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11399CA94E for ; Sun, 13 Feb 2011 11:31:39 +0100 (CET) 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 CG8O8lFKNx8R for ; Sun, 13 Feb 2011 11:31:17 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id AE7B4CA676 for ; Sun, 13 Feb 2011 11:31:17 +0100 (CET) Original-Received: from mail-wy0-f169.google.com (mail-wy0-f169.google.com [74.125.82.169]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1DAVCHk025205 for ; Sun, 13 Feb 2011 11:31:13 +0100 Original-Received: by wyj26 with SMTP id 26so3869965wyj.14 for ; Sun, 13 Feb 2011 02:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=q2hPgCZcJWgeey0UHdlrpPejR1HYciT5ZJL6tUmpdGM=; b=MPZFNXGMWaIcYWAg7MxbMuTbWZ95ImmliQuXLYCx7AySaqdRGteIDTIobM2x8KsZ34 v44lrxor2I1V33S5spy96Lp1f2VvJ+dQGl6zL69f9Usxu3zCgDy3B1uD1KntGWe/BwDi 8FMg25KJuITSrqK6fCpyW4YFBY9SJu1sEDiMQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=HuKfpw6IV9k80qLjzPiPmEYsn/kJlUv4NbI41nLtE3wOZe2/MqSY1kbKb93Goc65Vi lc+b3fEfinXf66ExcfYsdQjgczFckRzAt0nhYB5xFPlVveGa6RQ2syXeorOCjmPIxrDn w/2l97iMmUX1SAO+X2eTWhx0lo0YjlImnu54s= Original-Received: by 10.227.141.85 with SMTP id l21mr1536272wbu.99.1297593071637; Sun, 13 Feb 2011 02:31:11 -0800 (PST) Original-Received: by 10.227.145.200 with HTTP; Sun, 13 Feb 2011 02:31:11 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: sfPWGCCnRtbuqIKXS_10mM7czaw X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.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: 0BE7mvdKd - 29d06401a61b - 20110213 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:66000 Archived-At: --===============1208750048== Content-Type: multipart/alternative; boundary=0016e659f58c191398049c276e85 --0016e659f58c191398049c276e85 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2011/2/13 Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E) > Hi, > > For this example with simsun.ttc (it can be download from > http://www.slax.org/modules.php?action=3Ddetail&id=3D2630): > > \definefont[song][name:nsimsun] > \starttext > \song =E6=B5=8B=E8=AF=95 > \stoptext > > ConTeXt MkIV said: > > fonts > fallback modern rm 12pt is loaded > system > begin file b at line 3 > fonts > otf loading > loading: > selfautoparent:texmf-local/fonts/truetype/winfonts/simsun.ttc (hash: > simsun-nsimsun) > fonts > otf loading > font loaded okay > fonts > otf loading > loading failed (file read error) > fonts > defining > forced type ttc of simsun not found > > I have tested the uming.ttc (AR PL UMing, it can be download from > http://www.freedesktop.org/wiki/Software/CJKUnifonts/Download) and got > the same error. > > -- > Best regards, > > Li Yanrui > i wanted to load a ttc at one point, too, and failed. i found beer , a free software collection, and ported it=E2=80=99s ttc2ttf tool to python (as a challenge). you can find my port here , but it doesn=E2= =80=99t get the magic numbers right. it works for me, though. --0016e659f58c191398049c276e85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2011/2/13 Li Yanrui (=E6=9D=8E=E5=BB=B6=E7=91=9E= ) <liyanrui.m= 2@gmail.com>
Hi,

For this example with simsun.ttc (it can be download from
http://www.slax.org/modules.php?action=3Ddetail&id=3D2= 630):

\definefont[song][name:nsimsun]
\starttext
\song =E6=B5=8B=E8=AF=95
\stoptext

ConTeXt MkIV said:

fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > fallback modern rm 12pt is lo= aded
system =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0> begin file b at line 3
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > otf loading > loading:
selfautoparent:texmf-local/fonts/truetype/winfonts/simsun.ttc (hash:
simsun-nsimsun)
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > otf loading > font loaded = okay
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > otf loading > loading fail= ed (file read error)
fonts =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > defining > forced type ttc= of simsun not found

I have tested the uming.ttc (AR PL UMing, it can be download from
http://www.freedesktop.org/wiki/Software/CJKUnifonts/Downl= oad) and got
the same error.

--
Best regards,

Li Yanrui

i wanted to load a ttc at one point, too= , and failed.

i found beer, a free software collection, and ported it=E2=80=99s t= tc2ttf tool to python (as a challenge).

you can find my port here,= but it doesn=E2=80=99t get the magic numbers right. it works for me, thoug= h.
--0016e659f58c191398049c276e85-- --===============1208750048== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1208750048==--