ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: typescript problem (hw variants)
Date: Tue, 13 Dec 2005 10:21:14 +0100	[thread overview]
Message-ID: <439E928A.9020104@elvenkind.com> (raw)
In-Reply-To: <C5F6040B-0CA8-46FB-A424-AF7C44A1B9A5@fiee.net>



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

  reply	other threads:[~2005-12-13  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-12 20:39 Henning Hraban Ramm
2005-12-13  9:21 ` Taco Hoekwater [this message]
2005-12-13 15:58   ` Henning Hraban Ramm

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=439E928A.9020104@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).