ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problem with font mapping
@ 2009-11-25 15:27 Mika Ritola
  2009-11-25 16:47 ` Hans Hagen
  2009-11-26 12:27 ` Problem with font mapping Wolfgang Schuster
  0 siblings, 2 replies; 16+ messages in thread
From: Mika Ritola @ 2009-11-25 15:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1723 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1969 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Metapost and mkiv
@ 2009-09-22 12:44 Otared Kavian
  2009-09-22 16:03 ` Hans Hagen
  0 siblings, 1 reply; 16+ messages in thread
From: Otared Kavian @ 2009-09-22 12:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

The following minimal example used to work with mkiv (until last May,  
I would guess…) but now it doesn't work with the latest
ConTeXt version 2009.09.21 17:39

Can any one tell me please what am I doing wrong?

Best regards: OK
%% begin

\setupcolors[state=start]
\starttext

\startbuffer[axes-1]
numeric u ; u := .5cm ;
path xox ; xox := (-u,0)--(8u,0) ;
path yoy ; yoy := (0,-u)--(0,7u) ;
draw xox withcolor blue ;
draw yoy withcolor blue ;
\stopbuffer

This MetaPost graphic is  \doifmodeelse{mkiv}{not shown with mkiv} 
{shown with mkii}:

\placefigure[middle][-]{}{\processMPbuffer[axes-1]} {}

\stoptext


%% end
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2009-11-29  8:03 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-25 15:27 Problem with font mapping Mika Ritola
2009-11-25 16:47 ` Hans Hagen
2009-11-25 18:52   ` Mika Ritola
2009-11-26 10:39     ` Hans Hagen
2009-11-27  9:31       ` Metapost and mkiv Alan BRASLAU
2009-11-27  9:53         ` Hans Hagen
2009-11-27 13:54         ` Willi Egger
2009-11-28 18:28           ` Alan BRASLAU
2009-11-29  8:03             ` Taco Hoekwater
2009-11-26 12:27 ` Problem with font mapping Wolfgang Schuster
2009-11-26 15:01   ` Hans Hagen
2009-11-26 15:43     ` Wolfgang Schuster
2009-11-26 15:49       ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2009-09-22 12:44 Metapost and mkiv Otared Kavian
2009-09-22 16:03 ` Hans Hagen
2009-09-22 16:45   ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).