[NTG-context] german sharp s in Metapost Labels

Lutz Haseloff ntg-context@ntg.nl
Fri, 09 Jan 2004 12:39:21 +0100


Hi all,

if i use another Font as cmr to typeset labels
in MetaPost the german sharp s is typeset
with wrong width.

The same text direct typeset by tex (pdfetex)
without MetaPost looks right.

Is this a bug in tex or in metapost (i dont believe)
or is it a font problem?

Greetings Lutz

My File:

\setupoutput[pdftex]
\setuppagenumbering[state=3Dstop]
\useencoding[win]
\mainlanguage[de]
\starttext
\startMPgraphic
verbatimtex
\useencoding[win]
\mainlanguage[de]
etex;
draw fullcircle scaled 4cm;
label(btex Hans Maa=DF, Berlin etex(center currentpicture));
\stopMPgraphic
\loadcurrentMPgraphic
\placeMPgraphic

Hans Maa=DF, Berlin

\startMPgraphic
verbatimtex
\usetypescript  [berry][ec]
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=3D=
ec]
\definetypeface [palatino] [mm] [math]  [palatino] [default] [encoding=3D=
ec]
\setupbodyfont  [palatino, 10pt, rm]
\useencoding[win]
\mainlanguage[de]
etex;
draw fullcircle scaled 4cm;
label(btex Hans Maa=DF, Berlin etex(center currentpicture));
\stopMPgraphic
\loadcurrentMPgraphic
\placeMPgraphic
\usetypescript  [berry][ec]
\definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=3D=
ec]
\definetypeface [palatino] [mm] [math]  [palatino] [default] [encoding=3D=
ec]
\setupbodyfont  [palatino, 10pt, rm]

Hans Maa=DF, Berlin

\startMPgraphic
verbatimtex
\setupencoding [default=3Dec]
\usetypescript[berry][ec]
\definetypeface [postscript] [rm] [serif] [times] [default]
\definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=3D=
..9]
\definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=3D1.=
1]
\setupbodyfont [postscript, 11pt]
\useencoding[win]
\mainlanguage[de]
etex;
draw fullcircle scaled 4cm;
label(btex Hans Maa=DF, Berlin etex(center currentpicture));
\stopMPgraphic
\loadcurrentMPgraphic
\placeMPgraphic
\setupencoding [default=3Dec]
\usetypescript[berry][ec]
\definetypeface [postscript] [rm] [serif] [times] [default]
\definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=3D=
..9]
\definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=3D1.=
1]
\setupbodyfont [postscript, 11pt]

Hans Maa=DF, Berlin
\stoptext