Re: [NTG-context] fontvariants

2005-12-04 Thread Hans Hagen

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

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] fontvariants

2005-12-03 Thread Hans van der Meer

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



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] fontvariants

2005-12-03 Thread Adam Lindsay

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. [EMAIL PROTECTED]
 Lancaster University, InfoLab21+44(0)1524/510.514
 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context