From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24304 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Re: Chinese Date: Tue, 13 Dec 2005 10:52:18 +0100 Message-ID: <439E99D2.3000804@wxs.nl> References: <20051212173143.94765127FA@ronja.ntg.nl> <439E8152.7020100@capdm.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134467668 12969 80.91.229.2 (13 Dec 2005 09:54:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2005 09:54:28 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 13 10:54:26 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1Em6pj-0006uY-NQ for gctc-ntg-context-518@m.gmane.org; Tue, 13 Dec 2005 10:52:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 24BE8127F1; Tue, 13 Dec 2005 10:52:30 +0100 (CET) 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 01011-01; Tue, 13 Dec 2005 10:52:24 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F8EA127D5; Tue, 13 Dec 2005 10:52:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E9FB127D5 for ; Tue, 13 Dec 2005 10:52:22 +0100 (CET) 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 00835-09 for ; Tue, 13 Dec 2005 10:52:21 +0100 (CET) Original-Received: from controller-1 (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by ronja.ntg.nl (Postfix) with ESMTP id 7E8B2127CB for ; Tue, 13 Dec 2005 10:52:21 +0100 (CET) Original-Received: from [10.100.1.102] (unverified [10.100.1.102]) by controller-1 (SurgeMail 3.5b3) with ESMTP id 7469 for ; Tue, 13 Dec 2005 10:58:50 +0300 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <439E8152.7020100@capdm.com> X-Server: High Performance Mail Server - http://surgemail.com r=-274017400 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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:24304 Archived-At: 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