From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12439 Path: main.gmane.org!not-for-mail From: "Tim 't Hart" Newsgroups: gmane.comp.tex.context Subject: RE: Writing Japanese using ConTeXt Date: Tue, 10 Jun 2003 21:36:16 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <000301c32f87$9258f620$0a01a8c0@TIMBO> References: <5.2.0.9.1.20030610100605.026c5190@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1055273884 29208 80.91.224.249 (10 Jun 2003 19:38:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Jun 2003 19:38:04 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jun 10 21:37:58 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19PowQ-0007a9-00 for ; Tue, 10 Jun 2003 21:37:58 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8C12610B25; Tue, 10 Jun 2003 21:40:28 +0200 (MEST) Original-Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by ref.ntg.nl (Postfix) with ESMTP id B152610B21 for ; Tue, 10 Jun 2003 21:36:18 +0200 (MEST) Original-Received: from [212.238.244.167] (helo=TIMBO) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 19Pouo-000I4R-00 for ntg-context@ntg.nl; Tue, 10 Jun 2003 19:36:18 +0000 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 In-Reply-To: <5.2.0.9.1.20030610100605.026c5190@server-1> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12439 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12439 Hello Hans and Matt, > >Can PDFTeX handle TTC files? I know ttf2afm/ttf2pk can process them, but > >I have tried 2 or 3 times to include a Japanese TTC font directly in a > >PDFTeX document, but was never able to make it work. > > dunno, maybe dvipdfmx can I don't think PDFTeX can use TTC fonts. I use PDFTeX for DVI output and use dvipdfmx for PDF. Map files for dvipdfmx support fonts inside a TrueType Collection. TTF2TFM also supports the extra fonts inside a TTC by using the -f switch. For example, msmincho.ttc contains MS-Mincho and MS-PMincho: ttf2tfm msmincho.ttc msmin@Unicode@ (will make TFM for MS-Mincho) ttf2tfm msmincho.ttc -f 1 mspmin@Unicode@ (will make TFM for MS-PMincho) The map file for dvipdfmx will then look like: msmin@Unicode@ Identity-H :0:msmincho.ttc (for MS-Mincho) mspmin@Unicode@ Identity-H :1:msmincho.ttc (for MS-PMincho) > >Well, it can be done in stages. I think that any serious attempt to > >support Japanese in ConTeXt should encompass all common encodings. But > >I don't see anything wrong with starting out Unicode-only. > > in that case some range mapping should be defined; proper test files, etc Right now I'm working on a home page which contains information about where to find Japanese fonts and how to install them for ConTeXt/dvipdfmx. I will also add some example files of what is already possible in ConTeXt. I'll post the URL soon. My best, Tim