From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81568 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Hanging and Protrusion with Typescript Date: Tue, 09 Apr 2013 21:21:09 +0200 Message-ID: <51646A25.8090701@wxs.nl> References: <5164132A.2020905@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365535291 9618 80.91.229.3 (9 Apr 2013 19:21:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Apr 2013 19:21:31 +0000 (UTC) Cc: =?ISO-8859-1?Q?=22H=2E_=D6zoguz=22?= To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 09 21:21:33 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UPe6m-0000Sa-03 for gctc-ntg-context-518@m.gmane.org; Tue, 09 Apr 2013 21:21:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8C5A1022C; Tue, 9 Apr 2013 21:21:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id p2O+KMDjtnyQ; Tue, 9 Apr 2013 21:21:07 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id AA78210290; Tue, 9 Apr 2013 21:21:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4AD5710290 for ; Tue, 9 Apr 2013 21:21:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WXjLvZ-Np-1f for ; Tue, 9 Apr 2013 21:21:02 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 991731022C for ; Tue, 9 Apr 2013 21:21:02 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r39JL1UZ019933 for ; Tue, 9 Apr 2013 21:21:01 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 6.1c) with ESMTP (TLS) id 15160-1713362 for multiple; Tue, 09 Apr 2013 21:20:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <5164132A.2020905@mmnetz.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJlTl1TG - 1251eafdad57 - 20130409 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81568 Archived-At: On 4/9/2013 3:10 PM, "H. =D6zoguz" 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=3Dquality,expansion=3Dquality] 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________