From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Re: Chinese
Date: Tue, 13 Dec 2005 10:52:18 +0100 [thread overview]
Message-ID: <439E99D2.3000804@wxs.nl> (raw)
In-Reply-To: <439E8152.7020100@capdm.com>
Duncan Hothersall wrote:
>Hans wrote:
>
>
>
>>chinese is not yet defined in utf so if you want that, we need to do it
>>
>>
>...
>
>
>>assuming this, how about making a set of tfm,enc,map files that match
>>the unicode positions (volunteers ...)
>>
>>
>
>I'm very willing to help, especially if there is some drudge work
>involved in constructing the files. I don't know enough (yet) about the
>logic of it all to help with setting up the system, but if someone can
>supply skeleton files and/or a method for constructing the necessary
>files, I'm happy to do any leg-work.
>
>
what we need is a set of encoding files like
/UniEncoding52 [
....
/uni52DF
/uni52E0
/uni52E1
/uni52E2
/uni52E3
/uni52E4
...
/.notdef
....
] def
that represent the ranges and can be used to construct tfm files.
(or whatever index entry is needed in order to filter the metrics from
the ttf file)
maybe patricks font code already can do that:
- read in a ttf file (or a glyph list produced by ttf2tfm or ttf2afm)
- make a range of enc and tfm files
actually, this is rather generic, since pdftex can handle symbolic names
like /index... and /uni..., so if we have such a set, we can stick to
one bunch of enc files
the utf handler can then simply access char E1 from htsong-52.tfm
testing is rather simple:
\pdfmapline{htsong-52 <uni-52.enc <htsong.ttf}
\font\test=htsong-52 \char"e1
Hans
Hans
next prev parent reply other threads:[~2005-12-13 9:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20051212173143.94765127FA@ronja.ntg.nl>
2005-12-13 8:07 ` Chinese Duncan Hothersall
2005-12-13 9:52 ` Hans Hagen [this message]
2005-12-13 10:03 ` Chinese sjoerd siebinga
2005-12-13 10:34 ` Hans Hagen
2005-12-13 11:26 ` sjoerd siebinga
2005-12-13 13:02 ` your mails at go Hans Hagen
2005-12-13 10:46 ` Re: Chinese Tobias Burnus
2005-12-13 10:56 ` Hans Hagen
2005-12-13 12:33 ` Adam Lindsay
2005-12-13 15:12 ` Hans Hagen
2005-12-13 15:29 ` Adam Lindsay
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=439E99D2.3000804@wxs.nl \
--to=pragma@wxs.nl \
--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).