ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: fontvariants
Date: Sat, 3 Dec 2005 13:33:17 +0100	[thread overview]
Message-ID: <69E403DA-81A1-48FB-A294-94E9A97FBFA5@science.uva.nl> (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

             reply	other threads:[~2005-12-03 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-03 12:33 Hans van der Meer [this message]
2005-12-03 16:37 ` fontvariants Adam Lindsay
2005-12-04 20:52   ` fontvariants Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69E403DA-81A1-48FB-A294-94E9A97FBFA5@science.uva.nl \
    --to=hansm@science.uva.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).