From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54763 Path: news.gmane.org!not-for-mail From: Mika Ritola Newsgroups: gmane.comp.tex.context Subject: Problem with font mapping Date: Wed, 25 Nov 2009 17:27:51 +0200 Message-ID: <86d68cc30911250727xcbb007elc822b887a3d54c30@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0155712319==" X-Trace: ger.gmane.org 1259162917 21931 80.91.229.12 (25 Nov 2009 15:28:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 15:28:37 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 25 16:28:31 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDJnC-0004mp-GN for gctc-ntg-context-518@m.gmane.org; Wed, 25 Nov 2009 16:28:30 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2480FC9C68; Wed, 25 Nov 2009 16:25:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4T8X4sxU5dsI; Wed, 25 Nov 2009 16:25:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9730C9C3D; Wed, 25 Nov 2009 16:25:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1078C9C3D for ; Wed, 25 Nov 2009 16:25:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id usoHOG9Vk8Aq for ; Wed, 25 Nov 2009 16:25:33 +0100 (CET) Original-Received: from mail-ew0-f209.google.com (mail-ew0-f209.google.com [209.85.219.209]) by balder.ntg.nl (Postfix) with ESMTP id BEB48C9C35 for ; Wed, 25 Nov 2009 16:25:31 +0100 (CET) Original-Received: by ewy1 with SMTP id 1so1114ewy.34 for ; Wed, 25 Nov 2009 07:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=sUb26PT1SLdRzEVJsKwgfrVOYzkfS4392SsEkA9w8gY=; b=iPmeDftm7KYLawMDRGuThK1Q86N71dimHpn6DBrvBBj0iLPFTimMKXGGfRQ/lTByBr f2tmY+gWtT+RXyN0YX6WvNYPZPYPUrEuw3Sabt85GVdlob+svJyL0q++zjhI/+HUtPPh YEow4Fi0t0/GRoOriJMcGEDfCiTD5fcQdLbGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=mmNwVHu59LM8xXh/T2TPOOb8bijv2nNnwyUlA90mHTSz3KXcQVIKbZOYp05C38Tgpq MV/0ySVcXOjtDS861IvRaagPl5QrwJaYrK4WZvdKBLUaTf9IzDTeIGVTPiN6+uf0owxy tR2Jv7pdHunmOldr6vrHyyt8aiBmovy7PrX1A= Original-Received: by 10.213.0.152 with SMTP id 24mr795883ebb.61.1259162871196; Wed, 25 Nov 2009 07:27:51 -0800 (PST) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:54763 Archived-At: --===============0155712319== Content-Type: multipart/alternative; boundary=000e0cdf97b4a6ecf1047933b3ad --000e0cdf97b4a6ecf1047933b3ad Content-Type: text/plain; charset=ISO-8859-1 Hello again, I seem to be running into all sorts of font problems. Now my document has suddenly turned bold. For example, running the following code results in "Test." being rendered in bold characters. \usemodule[simplefonts] \setmainfont[Adobe Garamond Pro] \starttext Test. \stoptext Running "mtxrun --script font --list --pattern="*Garamond*" --all" reveals that there's something fishy about the font mapping: adobegaramondpro => agaramondprosemibold => AGaramondPro-Semibold.otf adobegaramondprobold => agaramondprosemibold => AGaramondPro-Semibold.otf adobegaramondprobolditalic => agaramondprosemibolditalic => AGaramondPro-SemiboldItalic.otf adobegaramondproitalic => agaramondprobolditalic => AGaramondPro-BoldItalic.otf adobegaramondpronormal => agaramondproregular => AGaramondPro-Regular.otf adobegaramondproregular => agaramondprobold => AGaramondPro-Bold.otf adobegaramondprosemibold => agaramondprosemibold => AGaramondPro-Semibold.otf agaramondprobold => agaramondprobold => AGaramondPro-Bold.otf agaramondprobolditalic => agaramondprobolditalic => AGaramondPro-BoldItalic.otf agaramondproitalic => agaramondproitalic => AGaramondPro-Italic.otf agaramondproregular => agaramondproregular => AGaramondPro-Regular.otf agaramondprosemibold => agaramondprosemibold => AGaramondPro-Semibold.otf agaramondprosemibolditalic => agaramondprosemibolditalic => AGaramondPro-SemiboldItalic.otf As you can see, agaramond... are mapped properly while adobegaramond... are mapped wrong. Changing \setmainfont[Adobe Garamond Pro] to \setmainfont[agaramondpro] fixes the issue but, still, I'd prefer to use the former (as I've done until now) since it's clearer. I'm running ConTeXt version 2009.11.24 10:13. Mika --000e0cdf97b4a6ecf1047933b3ad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello again,

I seem to be running into all sorts of font problems. N= ow my document has suddenly turned bold. For example, running the following= code results in "Test." being rendered in bold characters.

\usemodule[simplefonts]
\setmainfont[Adobe Garamond Pro]

\sta= rttext
Test.
\stoptext

Running "mtxrun --script font --li= st --pattern=3D"*Garamond*" --all" reveals that there's = something fishy about the font mapping:

adobegaramondpro =3D> agaramondprosemibold =3D> AGaramondPro-Semi= bold.otf
adobegaramondprobold =3D> agaramondprosemibold =3D> AGara= mondPro-Semibold.otf
adobegaramondprobolditalic =3D> agaramondprosemi= bolditalic =3D> AGaramondPro-SemiboldItalic.otf
adobegaramondproitalic =3D> agaramondprobolditalic =3D> AGaramondPro-= BoldItalic.otf
adobegaramondpronormal =3D> agaramondproregular =3D>= ; AGaramondPro-Regular.otf
adobegaramondproregular =3D> agaramondprob= old =3D> AGaramondPro-Bold.otf
adobegaramondprosemibold =3D> agaramondprosemibold =3D> AGaramondPro-= Semibold.otf
agaramondprobold =3D> agaramondprobold =3D> AGaramond= Pro-Bold.otf
agaramondprobolditalic =3D> agaramondprobolditalic =3D&g= t; AGaramondPro-BoldItalic.otf
agaramondproitalic =3D> agaramondproitalic =3D> AGaramondPro-Italic.o= tf
agaramondproregular =3D> agaramondproregular =3D> AGaramondPro-= Regular.otf
agaramondprosemibold =3D> agaramondprosemibold =3D> AG= aramondPro-Semibold.otf
agaramondprosemibolditalic =3D> agaramondprosemibolditalic =3D> AGara= mondPro-SemiboldItalic.otf

As you can see, agaramond... are mapped p= roperly while adobegaramond... are mapped wrong.

Changing \setmainfo= nt[Adobe Garamond Pro] to \setmainfont[agaramondpro] fixes the issue but, s= till, I'd prefer to use the former (as I've done until now) since i= t's clearer.

I'm running ConTeXt version 2009.11.24 10:13.

Mika
--000e0cdf97b4a6ecf1047933b3ad-- --===============0155712319== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0155712319==--