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

* Re: fontvariants
  2005-12-03 12:33 fontvariants Hans van der Meer
@ 2005-12-03 16:37 ` Adam Lindsay
  2005-12-04 20:52   ` fontvariants Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2005-12-03 16:37 UTC (permalink / raw)


Hans van der Meer wrote:
> I was probing into the font variant mechanism.
> 
> QUESTION: Is the variant mechanism exclusively tied to the series  Serif 
> (\rm) and Sans (\ss)?

Yes, pretty much, in the implementation's design.

> If otherwise, what am I doing wrong then?

Nothing. Except, is that Math Calligraphy font really suited to setting 
text? :)

adam
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: fontvariants
  2005-12-03 16:37 ` fontvariants Adam Lindsay
@ 2005-12-04 20:52   ` Hans Hagen
  0 siblings, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2005-12-04 20:52 UTC (permalink / raw)


Adam Lindsay wrote:

> Hans van der Meer wrote:
>
>> I was probing into the font variant mechanism.
>>
>> QUESTION: Is the variant mechanism exclusively tied to the series  
>> Serif (\rm) and Sans (\ss)?
>
>
> Yes, pretty much, in the implementation's design.

more precisely, it;s related to rm|ss|tt (mapped onto Serif Sans Mono)

Hans

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