* 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
* Re: why no smallcaps?
2012-01-25 22:12 why no smallcaps? Steffen Wolfrum
@ 2012-01-25 22:35 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2012-01-25 22:35 UTC (permalink / raw)
To: Steffen Wolfrum; +Cc: mailing list for ConTeXt users
Am 25.01.2012 um 23:12 schrieb Steffen Wolfrum:
> Hi,
>
> whats wrong with this code?
>
> "Times New Roman.ttf" states to be an otf font.
>
> But the "\sc" gives no Times New Roman:
The font has now smcp feature and the setting is ignored.
Here is the info list from my system:
mtx-fonts | mapping : timesnewromanpsmt
mtx-fonts | fontname: timesnewromanpsmt
mtx-fonts | fullname: timesnewroman
mtx-fonts | filename: /Library/Fonts/Microsoft/Times New Roman.ttf
mtx-fonts | family : timesnewroman
mtx-fonts | weight : normal
mtx-fonts | style : normal
mtx-fonts | width : normal
mtx-fonts | variant : normal
mtx-fonts | subfont :
mtx-fonts | fweight : conflict: book
mtx-fonts |
mtx-fonts | gpos features:
mtx-fonts |
mtx-fonts | feature script languages
mtx-fonts |
mtx-fonts | kern cyrl dflt
mtx-fonts | grek dflt
mtx-fonts | latn dflt lth
mtx-fonts | mark arab dflt urd
mtx-fonts | cyrl dflt
mtx-fonts | grek dflt
mtx-fonts | hebr dflt
mtx-fonts | latn dflt lth
mtx-fonts | mkmk arab dflt urd
mtx-fonts | cyrl dflt
mtx-fonts | grek dflt
mtx-fonts | latn dflt lth
mtx-fonts |
mtx-fonts | gsub features:
mtx-fonts |
mtx-fonts | feature script languages
mtx-fonts |
mtx-fonts | anum arab URD dflt
mtx-fonts | ccmp arab dflt urd
mtx-fonts | grek dflt
mtx-fonts | hebr dflt
mtx-fonts | latn dflt lth
mtx-fonts | dlig hebr dflt
mtx-fonts | fina arab dflt urd
mtx-fonts | init arab dflt urd
mtx-fonts | isol arab dflt urd
mtx-fonts | liga arab dflt urd
mtx-fonts | locl arab urd
mtx-fonts | latn lth
mtx-fonts | medi arab dflt urd
mtx-fonts | rlig arab dflt urd
mtx-fonts | tcom all all
mtx-fonts | tlig all all
mtx-fonts | trep all all
Wolfgang
___________________________________________________________________________________
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).