ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Metafun, Font
@ 2002-04-05 21:37 Patrick Gundlach
  2002-04-07  8:20 ` Hans Hagen
  2002-04-07 20:15 ` Patrick Gundlach
  0 siblings, 2 replies; 3+ messages in thread
From: Patrick Gundlach @ 2002-04-05 21:37 UTC (permalink / raw)


Hi, 

again a font problem :)

that is my type-tetex.tex:
-----------------------------------------------------
% Times-Roman
\starttypescript [tetexnames][ec]
 \definefontsynonym [Times-Roman]      [ptmr8t]  [encoding=ec]
 \definefontsynonym [Times-Italic]     [ptmri8t] [encoding=ec]
 \definefontsynonym [Times-Bold]       [ptmb8t]  [encoding=ec]
 \definefontsynonym [Times-BoldItalic] [ptmbi8t] [encoding=ec]
 \definefontsynonym [Times-Slanted]    [ptmro8t] [encoding=ec]
 \definefontsynonym [Times-BoldSlanted][ptmbo8t] [encoding=ec]
 \definefontsynonym [Times-Caps]       [ptmrc8t] [encoding=ec]
 \definefontsynonym [Times-BoldCaps]   [ptmbc8t] [encoding=ec]
\stoptypescript
\starttypescript[serif][tetextimes][name]
 \definefontsynonym [Serif]           [Times-Roman]
 \definefontsynonym [SerifItalic]     [Times-Italic]
 \definefontsynonym [SerifBold]       [Times-Bold]        
 \definefontsynonym [SerifBoldItalic] [Times-BoldItalic]  
 \definefontsynonym [SerifSlanted]    [Times-Slanted]     
 \definefontsynonym [SerifBoldSlanted][Times-BoldSlanted] 
 \definefontsynonym [SerifCaps]       [Times-Caps] 
 \definefontsynonym [SerifBoldCaps]   [Times-BoldCaps] 
\stoptypescript
-----------------------------------------------------

and here is the problem child:
-----------------------------------------------------
\setupencoding[default=ec]
\usetypescriptfile[type-tetex]
\usetypescript[tetexnames][ec]
\definetypeface [patrick] [rm] [serif] [tetextimes] [default] [encoding=ec]

\starttext
\switchtobodyfont[patrick]
%typeset in Times-Roman
The quick brown fox ...

\startMPenvironment 
 \switchtobodyfont[patrick]
\stopMPenvironment 

\startMPcode
draw btex Good Morning etex; % this gets typeset in cmr
\stopMPcode

\stoptext
\endinput
-----------------------------------------------------

How can I make the Good Morning appear in 'patrick' aka Times-Roman?!?

-- 
Viele Grüße, 

    Patrick Gundlach


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

end of thread, other threads:[~2002-04-07 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-05 21:37 Metafun, Font Patrick Gundlach
2002-04-07  8:20 ` Hans Hagen
2002-04-07 20:15 ` Patrick Gundlach

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).