From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43175 Path: news.gmane.org!not-for-mail From: "Vasile Gaburici" Newsgroups: gmane.comp.tex.context Subject: Re: Font problems with latest minimals on Linux Date: Thu, 14 Aug 2008 08:48:54 +0300 Message-ID: References: <48A2908E.6020408@elvenkind.com> <48A2C384.6020808@wxs.nl> <115224fb0808130646q6249467eo94348a48c26047d4@mail.gmail.com> <48A31331.2030404@elvenkind.com> Reply-To: gaburici@cs.umd.edu, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_58410_20549634.1218692934737" X-Trace: ger.gmane.org 1218693071 16964 80.91.229.12 (14 Aug 2008 05:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 05:51:11 +0000 (UTC) Cc: mailing list for ConTeXt users , Hans Hagen To: "Taco Hoekwater" Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 07:52:02 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 1KTVkc-00061w-44 for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2008 07:51:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C43161FE58; Thu, 14 Aug 2008 07:50:48 +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 25250-03-11; Thu, 14 Aug 2008 07:49:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D70A61FC43; Thu, 14 Aug 2008 07:49:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CB0FC1FBD4 for ; Thu, 14 Aug 2008 07:49:34 +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 26703-02-10 for ; Thu, 14 Aug 2008 07:48:56 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by ronja.ntg.nl (Postfix) with ESMTP id 1A6B61FC43 for ; Thu, 14 Aug 2008 07:48:54 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so202830nfd.44 for ; Wed, 13 Aug 2008 22:48:54 -0700 (PDT) Original-Received: by 10.210.47.1 with SMTP id u1mr870498ebu.133.1218692934755; Wed, 13 Aug 2008 22:48:54 -0700 (PDT) Original-Received: by 10.210.17.17 with HTTP; Wed, 13 Aug 2008 22:48:54 -0700 (PDT) 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:43175 Archived-At: ------=_Part_58410_20549634.1218692934737 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline If you still haven't figured out how to reproduce it, apply the patched I've attached. It will force the hash entries to be added in sorted order. With the patch applied, if you have some fonts called Calibri Bold Italic.otf Calibri Bold.otf Calibri Italic.otf Calibri.otf the order of hash insertions will always exactly as above, regardless of disk order, e.g.: filename | 49 -> /usr/share/fonts/vista/C-series/Calibri Bold Italic.otf filename | 50 -> /usr/share/fonts/vista/C-series/Calibri Bold.otf filename | 51 -> /usr/share/fonts/vista/C-series/Calibri Italic.otf filename | 52 -> /usr/share/fonts/vista/C-series/Calibri.otf So, you'll get bold italic instead of bold in the PDF. 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. On Thu, Aug 14, 2008 at 7:33 AM, Vasile Gaburici wrote: > On Wed, Aug 13, 2008 at 8:00 PM, Taco Hoekwater wrote: >> Vasile Gaburici wrote: >>> >>> Before I get anymore strawman arguments, here's the definitive experiment: >> >> As Hans said, should be corrected in the latest beta. Please cut us some >> slack here, debugging unreproducible problems is hard and timeconsuming. > > 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. > > The other bug, i.e. embedding bold italic instead of bold for some > fonts, is still present. > ------=_Part_58410_20549634.1218692934737 Content-Type: text/x-patch; name=reveal-bold-bug.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_fjuy9lv30 Content-Disposition: attachment; filename=reveal-bold-bug.patch ZGlmZiAtdXAgY29udGV4dC90ZXgvdGV4bWYtY29udGV4dC90ZXgvY29udGV4dC9iYXNlL2ZvbnQt c3luLmx1YS5ub3NvcnQgY29udGV4dC90ZXgvdGV4bWYtY29udGV4dC90ZXgvY29udGV4dC9iYXNl L2ZvbnQtc3luLmx1YQotLS0gY29udGV4dC90ZXgvdGV4bWYtY29udGV4dC90ZXgvY29udGV4dC9i YXNlL2ZvbnQtc3luLmx1YS5ub3NvcnQJMjAwOC0wOC0xNCAwNzo0Mzo0OC4wMDAwMDAwMDAgKzAz MDAKKysrIGNvbnRleHQvdGV4L3RleG1mLWNvbnRleHQvdGV4L2NvbnRleHQvYmFzZS9mb250LXN5 bi5sdWEJMjAwOC0wOC0xNCAwODo0NjoyOC4wMDAwMDAwMDAgKzAzMDAKQEAgLTE5Myw4ICsxOTMs MTIgQEAgZnVuY3Rpb24gZm9udHMubmFtZXMuaWRlbnRpZnkodmVyYm9zZSkKICAgICAgICAgICAg ICAgICBsb2NhbCBwYXR0ZXJuID0gcGF0aCAuLiAiKiouIiAuLiBzdWZmaXggLS0gKiogZm9yY2Vz IHJlY3Vyc2UKICAgICAgICAgICAgICAgICBsb2dzLnJlcG9ydCgiZm9udG5hbWVzIiwgImdsb2Ji aW5nIHBhdGggJXMiLHBhdHRlcm4pCiAgICAgICAgICAgICAgICAgbG9jYWwgdCA9IGRpci5nbG9i KHBhdHRlcm4pCi0gICAgICAgICAgICAgICAgZm9yIF8sIG5hbWUgaW4gcGFpcnModCkgZG8gLS0g aXBhaXJzCisgICAgICAgICAgICAgICAgdGFibGUuc29ydCh0LCBmdW5jdGlvbiAoc3RyMSwgc3Ry MikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBzdHIxIDwgc3RyMgor ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZW5kKQorICAgICAgICAgICAgICAgIGZvciBo dWgsIG5hbWUgaW4gcGFpcnModCkgZG8gLS0gaXBhaXJzCiAgICAgICAgICAgICAgICAgLS0gIGlm IGxmcy5pc2ZpbGUobmFtZSkgdGhlbiAtLSBhbHdheXMgdHJ1ZSBhbnl3YXkKKyAgICAgICAgICAg ICAgICAgICAgICAgIGxvZ3MucmVwb3J0KCJmaWxlbmFtZSIsICIlZCAtPiAlcyIsIGh1aCwgbmFt ZSkKICAgICAgICAgICAgICAgICAgICAgICAgIGlkZW50aWZ5KG5hbWUsZmlsZS5iYXNlbmFtZShu YW1lKSxzdWZmaXgpCiAgICAgICAgICAgICAgICAgLS0gIGVuZAogICAgICAgICAgICAgICAgIGVu ZAo= ------=_Part_58410_20549634.1218692934737 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ------=_Part_58410_20549634.1218692934737--