From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43182 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Font problems with latest minimals on Linux Date: Thu, 14 Aug 2008 10:33:09 +0200 Message-ID: <48A3EDC5.8090304@elvenkind.com> References: <48A2908E.6020408@elvenkind.com> <48A2C384.6020808@wxs.nl> <115224fb0808130646q6249467eo94348a48c26047d4@mail.gmail.com> <48A31331.2030404@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218702904 10453 80.91.229.12 (14 Aug 2008 08:35:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 08:35:04 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen To: gaburici@cs.umd.edu Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 10:35:55 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 1KTYJ5-00027r-As for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2008 10:35:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E396D1FE67; Thu, 14 Aug 2008 10:34:44 +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 19414-01-5; Thu, 14 Aug 2008 10:33:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 797381FDFE; Thu, 14 Aug 2008 10:33:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F36011FC78 for ; Thu, 14 Aug 2008 10:33:46 +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 19022-01-12 for ; Thu, 14 Aug 2008 10:33:10 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 66AD11FDFE for ; Thu, 14 Aug 2008 10:33:09 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 4AF528026A36; Thu, 14 Aug 2008 10:33:09 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: 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:43182 Archived-At: Vasile Gaburici wrote: > > Feel free to fiddle with the sort function if you name fonts > differently, but you need to make sure that bold italic gets loaded > before bold for the bug to occur. Ok, bug found and squashed. Patch is below >> Okay, I've updated to the latest beta. Recursive OSFONTDIR works now >> for "script --fonts --reload" and for "context", but "script --fonts >> --list" is broken: no output. Hans changed the commandline so that "nothing" is no longer the same as "*". This works: $ mtxrun script --fonts --list \* Best wishes, Taco --- font-syn.lua.old 2008-08-13 14:47:44.000000000 +0200 +++ font-syn.lua 2008-08-14 10:25:13.631806083 +0200 @@ -133,7 +133,8 @@ fontname = fontname or result.fontname add(result.fontname, fontname, filename, suffix, is_sub) end - if result.familyname and result.weight then + if result.familyname and result.weight and + result.italicangle == 0 then local madename = result.familyname .. " " .. result.weight fontname = fontname or madename add(madename, fontname, filename, suffix, is_sub) ___________________________________________________________________________________ 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 ___________________________________________________________________________________