ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
Subject: Re: Hanging and Protrusion with Typescript
Date: Tue, 09 Apr 2013 21:21:09 +0200	[thread overview]
Message-ID: <51646A25.8090701@wxs.nl> (raw)
In-Reply-To: <5164132A.2020905@mmnetz.de>

On 4/9/2013 3:10 PM, "H. Özoguz" wrote:
> Hi there,
>
> normally I use simplefont, with protrusion and typescript. But
> Simplefont does not recognize the regular, italic, and bold of
> AdobeGaramondPro correctly by default. So I tried to work with a
> typescript definition, and it works - with the exception of hanging (and
> protrusion?). This is my example:

Best look into some type-imp files to see how typescript are defined.

> +++++++++++++++++++++++
> \enableregime[utf]

^^ not needed


> \starttypescript [serif] [nimbus]
>
> \definefontsynonym [Serif] [file:AGaramondPro-Regular.otf]
>
> \definefontsynonym [SerifBold] [file:AGaramondPro-Bold.otf]
>
> \definefontsynonym [SerifItalic] [file:AGaramondPro-Italic.otf]
>
> \definefontsynonym [SerifBoldItalic] [file:AGaramondPro-BoldItalic.otf]
>
> \stoptypescript

what features? maybe add *default or so ... depends on how general 
definitions are

>
> \definetypeface [nimbus] [rm] [serif] [nimbus]
>
>
> \definefontfeature
>
> [default]
>
> [default]
>
> [protrusion=quality,expansion=quality]

should come before \definetypeface

>
> \setupalign[hz,hanging]
>
> \setupbodyfont[nimbus,rm,12pt]
>
>
> \starttext
>
> \input tufte
>
> \stoptext
> +++++++++++++++++++++
>
>
> The Font is correctly used by ConText, but no hanging is applied. How to
> achieve that?
>
> Thanks.
>
> Huseyin
>
> ___________________________________________________________________________________
>
> 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  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-04-09 19:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 13:10 "H. Özoguz"
2013-04-09 19:21 ` Hans Hagen [this message]
2013-04-09 19:45   ` "H. Özoguz"
2013-04-09 21:20     ` Wolfgang Schuster
2013-04-09 21:54       ` Peter Münster
     [not found] <mailman.329.1365547442.2084.ntg-context@ntg.nl>
2013-04-10  8:00 ` "H. Özoguz"
2013-04-10  8:06   ` Wolfgang Schuster
2013-04-10  8:07 ` "H. Özoguz"
2013-04-10  8:13   ` Wolfgang Schuster
     [not found] <mailman.336.1365582553.2084.ntg-context@ntg.nl>
2013-04-10  8:46 ` "H. Özoguz"
2013-04-10  9:26   ` Wolfgang Schuster
     [not found] <mailman.338.1365586023.2084.ntg-context@ntg.nl>
2013-04-10  9:56 ` "H. Özoguz"
2013-04-10 10:09   ` Wolfgang Schuster
2013-04-10 10:59 "H. Özoguz"
2013-04-10 21:00 ` Wolfgang Schuster
2013-04-10 21:35   ` Hans Hagen

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=51646A25.8090701@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=h.oezoguz@mmnetz.de \
    --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).