Hi, The following works ok here (see previous mail for example of MPenvironment) label(btex Hans Maaß, Berlin etex, center currentpicture); ^^^ , needed, else wrong mp run! ===== changed code ===== \setupoutput[pdftex] \setuppagenumbering[state=stop] \useencoding[win] \mainlanguage[de] \starttext \startMPcode verbatimtex \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex, center currentpicture); \stopMPcode \startMPcode verbatimtex \usetypescript [berry][ec] \definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec] \definetypeface [palatino] [mm] [math] [palatino] [default] [encoding=ec] \setupbodyfont [palatino, 10pt, rm] \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex, center currentpicture); \stopMPcode \startMPcode verbatimtex \setupencoding [default=ec] \usetypescript[berry][ec] \definetypeface [postscript] [rm] [serif] [times] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=..9] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1] \setupbodyfont [postscript, 11pt] \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex, center currentpicture); \stopMPcode \stoptext
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=stop] \useencoding[win] \mainlanguage[de] \starttext \startMPgraphic verbatimtex \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex(center currentpicture)); \stopMPgraphic \loadcurrentMPgraphic \placeMPgraphic
Hans Maaß, Berlin
\startMPgraphic verbatimtex \usetypescript [berry][ec] \definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec] \definetypeface [palatino] [mm] [math] [palatino] [default] [encoding=ec] \setupbodyfont [palatino, 10pt, rm] \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex(center currentpicture)); \stopMPgraphic \loadcurrentMPgraphic \placeMPgraphic \usetypescript [berry][ec] \definetypeface [palatino] [rm] [serif] [palatino] [default] [encoding=ec] \definetypeface [palatino] [mm] [math] [palatino] [default] [encoding=ec] \setupbodyfont [palatino, 10pt, rm]
Hans Maaß, Berlin
\startMPgraphic verbatimtex \setupencoding [default=ec] \usetypescript[berry][ec] \definetypeface [postscript] [rm] [serif] [times] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=..9] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1] \setupbodyfont [postscript, 11pt] \useencoding[win] \mainlanguage[de] etex; draw fullcircle scaled 4cm; label(btex Hans Maaß, Berlin etex(center currentpicture)); \stopMPgraphic \loadcurrentMPgraphic \placeMPgraphic \setupencoding [default=ec] \usetypescript[berry][ec] \definetypeface [postscript] [rm] [serif] [times] [default] \definetypeface [postscript] [ss] [sans] [helvetica] [default] [rscale=..9] \definetypeface [postscript] [tt] [mono] [courier] [default] [rscale=1.1] \setupbodyfont [postscript, 11pt]
Hans Maaß, Berlin \stoptext _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Deze e-mail is door E-mail VirusScanner van Planet Internet gecontroleerd op virussen. Op http://www.planet.nl/evs staat een verwijzing naar de actuele lijst waar op wordt gecontroleerd.
------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------