ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Tim 't Hart" <tim@t-hart.com>
Subject: RE: Writing Japanese using ConTeXt
Date: Tue, 10 Jun 2003 21:36:16 +0200	[thread overview]
Message-ID: <000301c32f87$9258f620$0a01a8c0@TIMBO> (raw)
In-Reply-To: <5.2.0.9.1.20030610100605.026c5190@server-1>

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

  reply	other threads:[~2003-06-10 19:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-08 11:48 Tim 't Hart
2003-06-09 14:16 ` Matthew Huggett
2003-06-09 16:33   ` Tim 't Hart
2003-06-10  8:18     ` Hans Hagen
2003-06-10 20:02       ` Tim 't Hart
2003-06-11  2:35         ` Matthew Huggett
2003-06-09 23:24 ` Matt Gushee
2003-06-10  7:41   ` Matthew Huggett
2003-06-10  8:13   ` Hans Hagen
2003-06-10 19:36     ` Tim 't Hart [this message]
2003-06-15 21:03 ` Hans Hagen
2003-06-15 22:22   ` Matt Gushee
2003-06-16  7:55     ` Hans Hagen
2003-06-16  4:37   ` Tim 't Hart
2003-06-16  7:51     ` Hans Hagen
2003-06-17  7:15 Lei Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301c32f87$9258f620$0a01a8c0@TIMBO' \
    --to=tim@t-hart.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).