Hello "Curious",

> I have been using Latex for sometime and am thinking of switching to Context 
> for
> at least some types of documents and hence have been trying it out. I love the
> charter font and tried to use the following commands to use the Charter font
>
> \definetypeface [charter] [rm] [serif] [charter] [default] [encoding=ec]
> \switchtotypeface [charter] [12pt,rm]
>
> However, when I compile the file with texexec I get the following warning:
>
> pdfTeX warning: pdftex (file ec-bitstrea-charter.map): cannot open font map 
> file
>
> Can someone please help me fix this problem? I get the charter font output,
> however, the results are different from what I get with Latex. The letters 
> seem
> more spread out and there seems to be more spacing between the words in the
> Context output. Could this be because of the above warning?

You are right that some things need to be fixed in ConTeXt - if
nothing else, the map file could be removed from type-one and
type.map. (Do not bother if you don't understand what I have written -
it's targeted to ConTeXt gurus. Any opinions?)

The file is missing, but all the needed definitions are inside
ec-base.map (I guess, I don't find ec-bitstrea-charter.map anywhere in
order to compare):

bchb8t  CharterBT-Bold           <ec.enc <bchb8a.pfb
bchbi8t CharterBT-BoldItalic     <ec.enc <bchbi8a.pfb
bchr8t  CharterBT-Roman          <ec.enc <bchr8a.pfb
bchri8t CharterBT-Italic         <ec.enc <bchri8a.pfb

bchbo8t CharterBT-Bold           ".167 SlantFont" <ec.enc <bchb8a.pfb
bchro8t CharterBT-Roman          ".167 SlantFont" <ec.enc <bchr8a.pfb

There are these files present on TeX Live (they are not in minimals):

/usr/local/texlive/2008/texmf-dist/fonts/tfm/bitstrea/charter/bchr8t.tfm
/usr/local/texlive/2008/texmf-dist/fonts/vf/bitstrea/charter/bchr8t.vf

But when I compare to LaTeX with the following code
    \usepackage[T1]{fontenc}
    \usepackage[charter]{mathdesign}
it uses other font metric files:
    /usr/local/texlive/2008/texmf-dist/tex/latex/mathdesign/mdbch/t1mdbch.fd
...
\DeclareFontShape{T1}{mdbch}{m}{n}{
   <->s * [0.96]  mdbchr8t
}{}
...
    /usr/local/texlive/2008/texmf-dist/fonts/tfm/mathdesign/mdbch/mdbchr8t.tfm

I suspect that one might need to fix or improve typescripts. Do you
have some visual examples to show the differences? It would be
interesting to compare the differences between bchr8t and mdbchr8t and
change typescripts if needed.

Moreover, math support would have to be added to typescripts - it
could be based on mathdesign.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to