Henning Hraban Ramm wrote:
Hi wizards!

I'm reworking my setup of Apostrophe's huge "Republika" font clan and reckognized that handwriting (hw) doesn't accept style switches; the following doesn't work:

\starttypescript    [handwriting]    [republika1-cond]    [name]
    \definefontsynonym    [Handwriting]        [RepublikaCnd-Sketch]
\definefontsynonym [HandwritingItalic] [RepublikaCnd- Sktech-Italic]
    \definefontsynonym    [HandwritingBold]        [RepublikaCnd-Haze]
\definefontsynonym [HandwritingBoldItalic] [RepublikaCnd- Haze-Italic]
    \definefontsynonym    [HandwritingRegularBlack][RepublikaCnd- Shatter]
\definefontsynonym [HandwritingItalicBlack] [RepublikaCnd- Shatter-Italic]
    \definefontvariant    [Handwriting] [black] [Black]
    \definefontsynonym    [HandwritingSlanted]    [HandwritingItalic]
\definefontsynonym [HandwritingBoldSlanted] [HandwritingBoldItalic]
\stoptypescript

I always get only the "plain" font (Handwriting).
I need rm, ss and tt for other purposes.
Could the font mechanism get enhanced?

From font-unk.tex:

\definebodyfont [default] [hw]  [tf=Handwriting sa 1]

So, you would need something like this:

   \definebodyfont [default] [hw]
   [tf=Handwriting sa 1,
    bf=HandwritingBold sa 1,
    it=HandwritingItalic sa 1,
    sl=HandwritingSlanted sa 1,
    bi=HandwritingBoldItalic sa 1,
    bs=HandwritingBoldSlanted sa 1,
    sc=HandwritingCaps sa 1]

As well as (perhaps?):

   \definefontsynonym [HandwritingBold]        [Handwriting]
   \definefontsynonym [HandwritingItalic]      [Handwriting]
   \definefontsynonym [HandwritingSlanted]     [Handwriting]
   \definefontsynonym [HandwritingBoldItalic]  [Handwriting]
   \definefontsynonym [HandwritingBoldSlanted] [Handwriting]
   \definefontsynonym [HandwritingCaps]        [Handwriting]

It should be possible to fix this in font-unk  without breaking
compatibility.

Cheers, Taco
_______________________________________________
ntg-context mailing list
[email protected]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to