From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44775 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: fallbacks for characters Date: Thu, 16 Oct 2008 13:24:09 +0200 Message-ID: References: <9749F6AD-4174-4941-AB4D-D5D153E6C7AD@uni-bonn.de> <115224fb0810160226s5386f852h1b2ae12d33de9c52@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224156369 15879 80.91.229.12 (16 Oct 2008 11:26:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2008 11:26:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 16 13:27:08 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KqR0U-0003y8-9c for gctc-ntg-context-518@m.gmane.org; Thu, 16 Oct 2008 13:27:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F3BF51FCE5; Thu, 16 Oct 2008 13:25:58 +0200 (CEST) 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 26785-02-3; Thu, 16 Oct 2008 13:24:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 53DC11FCC7; Thu, 16 Oct 2008 13:24:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A3C671FCC7 for ; Thu, 16 Oct 2008 13:24:52 +0200 (CEST) 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 26832-01-5 for ; Thu, 16 Oct 2008 13:24:18 +0200 (CEST) Original-Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) by ronja.ntg.nl (Postfix) with ESMTP id 8D7131FC6B for ; Thu, 16 Oct 2008 13:24:18 +0200 (CEST) Original-Received: from fwd11.aul.t-online.de by mailout10.sul.t-online.de with smtp id 1KqQxl-0002hL-0C; Thu, 16 Oct 2008 13:24:17 +0200 Original-Received: from [192.168.0.2] (S90dVrZE8hB25k+XCmKmQitAfgIIRgAKyebXhv1jMWyh7M3aI5xDp7dcN3Z8Lr1ZEh@[87.178.86.222]) by fwd11.aul.t-online.de with esmtp id 1KqQxd-1BFbkm0; Thu, 16 Oct 2008 13:24:09 +0200 In-Reply-To: <115224fb0810160226s5386f852h1b2ae12d33de9c52@mail.gmail.com> X-Mailer: Apple Mail (2.929.2) X-ID: S90dVrZE8hB25k+XCmKmQitAfgIIRgAKyebXhv1jMWyh7M3aI5xDp7dcN3Z8Lr1ZEh@t-dialin.net X-TOI-MSGID: cb4fe32a-a352-4c49-9e92-f40a3a7a3329 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:44775 Archived-At: On Oct 16, 2008, at 11:26 AM, Wolfgang Schuster wrote: > On Thu, Oct 16, 2008 at 9:47 AM, Thomas A. Schmitz > wrote: >> Hi all, >> >> the answer to this one may be completely obvious, but I haven't found >> anything: I know we can define fallback fonts in mkiv, but is it >> possible to define fallbacks for single characters. Let's take >> 0x0113, >> "emacron." > > \definefontfallback [myfallback] [Fallbackfont] [0x0113] > [force=yes|no,check=yes|no] > > % check : only replace when present in replacement font (default: no) > % force : force replacent even when basefont has glyph (default: yes) > >> Is it possible to define "if character is present in >> current font, use it; else \buildtextaccent\macron e" ? > Wolfgang, thanks for your answer! But if I understand definefontfallback correctly, this will define a replacement font - that's not what I want. I want to take glyphs from the same font, either the matching glyph or a composite one. Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________