ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: ud@mucschach.de, "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: Some layout questions
Date: Thu, 28 Aug 2008 10:50:48 +0200	[thread overview]
Message-ID: <115224fb0808280150g47d9a6fbs4a1056fcc1a39dd@mail.gmail.com> (raw)
In-Reply-To: <005f01c908d9$712b7a50$53826ef0$@de>

On Thu, Aug 28, 2008 at 8:43 AM, Ulrich Dirr <ud@mucschach.de> wrote:
> Taco Hoekwater wrote:
>> Ulrich Dirr wrote:
>> >
>> > After defining a typescript (see comlete example attached) I want to use
>> > protrusion and expansion (I've followed the description in
>> > co-typography.pdf):
>> >
>> > \definetypeface[kievit][rm][sans][kievit][default][features=hz]
>> > \definetypeface[kievit][ss][sans][kievit][default][features=hz]
>> > \definetypeface[kievit][tt][mono][modern][default][rscale=1.12]
>> > \definetypeface[kievit][mm][math][iwona] [default][rscale=1.02]
>> >
>> > \usetypescript[kievit]
>> > \setupbodyfont[kievit,ss,10pt]
>> > \definefontfeature[default][default]
>> >     [protrusion=pure,expansion=quality,mode=node,script=latn]
>>
>> This line should read:
>>
>>    \definefontfeature[hz][default]
>>          [prot....
>>
>> Afaics, everything else looks ok.
>
> But has no effect :-(

\definefontfeature[latin-default]  [default]
[script=latn,expansion=quality,protrusion=pure]
\definefontfeature[latin-smallcaps][smallcaps][script=latn,expansion=quality,protrusion=pure]
\definefontfeature[latin-oldstyle] [oldstyle]
[script=latn,expansion=quality,protrusion=pure]

\starttypescript [sans] [kievit]
  \definefontsynonym [KievitProRegular]
[name:KievitPro-Regular]         [features=latin-default]
  \definefontsynonym [KievitProMedium]
[name:KievitPro-Medium]          [features=latin-default]
  \definefontsynonym [KievitProExtraBold]
[name:KievitPro-ExtraBold]       [features=latin-default]
  \definefontsynonym [KievitProItalic]
[name:KievitPro-Italic]          [features=latin-default]
  \definefontsynonym [KievitProMediumItalic]
[name:KievitPro-MediumItalic]    [features=latin-default]
  \definefontsynonym [KievitProExtraBoldItalic]
[name:KievitPro-ExtraBoldItalic] [features=latin-default]
\stoptypescript

\starttypescript [sans] [kievit]
  \setups[font:fallback:sans]
  \definefontsynonym [Sans]           [KievitProRegular]
[features=latin-default]
  \definefontsynonym [SansBold]       [KievitProMedium]
[features=latin-default]
  \definefontsynonym [SansItalic]     [KievitProItalic]
[features=latin-default]
  \definefontsynonym [SansBoldItalic] [KievitProMediumItalic]
[features=latin-default]
  \definefontsynonym [SansCaps]       [Sans]
[features=latin-smallcaps]
\stoptypescript

\starttypescript [kieviet]
  \definetypeface [\typescriptone] [rm] [sans] [\typescriptone] [default]
  \definetypeface [\typescriptone] [ss] [sans] [\typescriptone] [default]
  \definetypeface [\typescriptone] [tt] [mono] [modern]
[default] [rscale=1.12]
  \definetypeface [\typescriptone] [mm] [math] [iwona]
[default] [rscale=1.02]
\stoptypescript

\usetypescript[kievit]
\setupbodyfont[kievit,ss,10pt]

\enableadjusting
\enableprotruding

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-08-28  8:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-26 10:59 Ulrich Dirr
2008-08-27 14:07 ` Taco Hoekwater
2008-08-28  6:43   ` Ulrich Dirr
2008-08-28  8:50     ` Wolfgang Schuster [this message]
2008-08-28  9:05     ` Taco Hoekwater
2008-08-28 10:25       ` Ulrich Dirr
2008-08-28 10:32         ` Taco Hoekwater

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=115224fb0808280150g47d9a6fbs4a1056fcc1a39dd@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=ud@mucschach.de \
    /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).