ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* fontvariants
@ 2005-12-03 12:33 Hans van der Meer
  2005-12-03 16:37 ` fontvariants Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Hans van der Meer @ 2005-12-03 12:33 UTC (permalink / raw)


I was probing into the font variant mechanism.

This did not work, th Light font could not be made to typeset:

\starttypescript [calligraphy] [mathtimeyy] [name]
     \definefontsynonym [CalligraphyRegular] [Calligraphy]
     \definefontsynonym [Calligraphy]         [MathTimes-Calligraphy]
     \definefontsynonym [CalligraphyBold]    [MathTimes-CalligraphyBold]

     \definefontvariant [Calligraphy] [light] [-Light]
     \definefontsynonym [CalligraphyRegular-Light]    [MathTimes- 
CalligraphyLight]
     \definefontsynonym [CalligraphyBold-Light]        [MathTimes- 
CalligraphyLightBold]
\stoptypescript

But changing Calligraphy into Serif in the last three lines

     \definefontvariant [Serif] [light] [-Light]
     \definefontsynonym [SerifRegular-Light]            [MathTimes- 
CalligraphyLight]
     \definefontsynonym [SerifBold-Light]            [MathTimes- 
CalligraphyLightBold]

it seems to work.

QUESTION: Is the variant mechanism exclusively tied to the series  
Serif (\rm) and Sans (\ss)?
If otherwise, what am I doing wrong then?

yours sincerely,
dr. H. van der Meer

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

end of thread, other threads:[~2005-12-04 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-03 12:33 fontvariants Hans van der Meer
2005-12-03 16:37 ` fontvariants Adam Lindsay
2005-12-04 20:52   ` fontvariants Hans Hagen

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