ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* why no smallcaps?
@ 2012-01-25 22:12 Steffen Wolfrum
  2012-01-25 22:35 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Wolfrum @ 2012-01-25 22:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

whats wrong with this code?

"Times New Roman.ttf" states to be an otf font.

But the "\sc" gives no Times New Roman:



\definefontfeature[default][default]
[mode=node,script=latn,smcp=yes]

\definefontfeature[smcp][mode=node,smcp=yes]

\unexpanded\def\sc{\addfs{smcp}}


\starttypescript [serif] [TimesNewRomanPSMT] [name]
     \setups[font:fallback:sans]
     \definefontsynonym [Serif]          [file:Times New Roman.ttf]            [features=default]
     \definefontsynonym [SerifBold]      [file:Times New Roman Bold.ttf]       [features=default]
     \definefontsynonym [SerifItalic]    [file:Times New Roman Italic.ttf]     [features=default]
     \definefontsynonym [SerifBoldItalic][file:Times New Roman Bold Italic.ttf][features=default]
\stoptypescript

\starttypescript[TheTimes]
     \definetypeface [TheTimes] [rm] [serif] [TimesNewRomanPSMT]   [default]
\stoptypescript

\usetypescript[TheTimes]
\setupbodyfont[TheTimes, 10pt]\setupinterlinespace[line=12pt]


\starttext

\sc{Name}

\stoptext



-------
Steffen
___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2012-01-25 22:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-25 22:12 why no smallcaps? Steffen Wolfrum
2012-01-25 22:35 ` Wolfgang Schuster

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