From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10086 Path: main.gmane.org!not-for-mail From: Simon Pepping Newsgroups: gmane.comp.tex.context Subject: Re: utf 8 / test file Date: Mon, 9 Dec 2002 21:32:03 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <20021209203203.GB1164@scaprea> References: <5.1.0.14.1.20021207123223.0254e040@server-1> <5.1.0.14.1.20021207123223.0254e040@server-1> <5.1.0.14.1.20021209001503.02b22708@remote-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1039469022 17367 80.91.224.249 (9 Dec 2002 21:23:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 21:23:42 +0000 (UTC) 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 18LVNN-0004Vw-00 for ; Mon, 09 Dec 2002 22:23:41 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 8941610AEA; Mon, 9 Dec 2002 22:23:50 +0100 (MET) Original-Received: from hgatenl.hobby.nl (ns.hobby.nl [212.72.224.8]) by ref.ntg.nl (Postfix) with ESMTP id B43BE10AE8 for ; Mon, 9 Dec 2002 22:21:02 +0100 (MET) Original-Received: from hgatenl.hobby.nl (localhost [127.0.0.1]) by hgatenl.hobby.nl (8.12.5/8.12.2) with ESMTP id gB9LKvIF036550 for ; Mon, 9 Dec 2002 22:20:57 +0100 (CET) (envelope-from spepping@scaprea.hobby.nl) Original-Received: (from uucp@localhost) by hgatenl.hobby.nl (8.12.5/8.12.2/Submit) with UUCP id gB9LKvlD036549 for ntg-context@ntg.nl; Mon, 9 Dec 2002 22:20:57 +0100 (CET) Original-Received: from simon by scaprea.salix.nl with local (Exim 3.35 #1 (Debian)) id 18LUZP-0000Z3-00; Mon, 09 Dec 2002 21:32:03 +0100 Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline In-Reply-To: <5.1.0.14.1.20021209001503.02b22708@remote-1> User-Agent: Mutt/1.3.28i 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:10086 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10086 On Mon, Dec 09, 2002 at 12:26:16AM +0100, Hans Hagen wrote: > At 09:38 PM 12/8/2002 +0100, you wrote: > > For Context this might be worked out as follows: Each font family must > >be in a known encoding. When a font family is loaded, the encoding and > >the associated font family are added to a table of loaded > >encodings. When a unicode character is sought, the loaded encodings > >are scanned in the order in which they appear in the table, until an > >encoding is found that provides a glyph for that character. > > hm, must think this over, esp since tex has no way (except measuring) to > determine if a slot is really taken My idea was that the encoding should indicate which slots are provided (if the font complies). > >The NFSS in LaTeX provides a default encoding for a character (not to > >be confused with Context's default encoding, which is a different > >thing). When the character is not found in the current encoding, it is > >taken from this default encoding. Such a strategy may be more > >efficient than going through the list of loaded encodings. > > eh ... context does have fall backs (nearly always something default, often > very plain); if something does not show up, it's probably not defined > (yet); so, maybe i misunderstand you I do not see this as a fallback but as an optimization. It is an effective means of knowing which encoding is on top for a certain character. > Indeed i think that we should have some reasonable defaults, and it seems > that there are no free complete unicode fonts, so we probably end up with > something There are apps, e.g. XMLSpy, that rely on a single font to provide all required characters. I find that a waste of resources; the user's fonts are used much better if they can combined into a set. Simon -- Simon Pepping email: spepping@scaprea.hobby.nl