From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81596 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?=22H=2E_=D6zoguz=22?= Newsgroups: gmane.comp.tex.context Subject: Re: Hanging and Protrusion with Typescript Date: Wed, 10 Apr 2013 11:56:03 +0200 Message-ID: <51653733.1060903@mmnetz.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1365587849 5114 80.91.229.3 (10 Apr 2013 09:57:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 09:57:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 10 11:57:32 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 1UPrmV-000301-3j for gctc-ntg-context-518@m.gmane.org; Wed, 10 Apr 2013 11:57:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 67B43103BE; Wed, 10 Apr 2013 11:57:10 +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 RWt9+w4SoKeE; Wed, 10 Apr 2013 11:57:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 06568103B5; Wed, 10 Apr 2013 11:57:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B12E0103B5 for ; Wed, 10 Apr 2013 11:57:07 +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 ES1orSKCnWsi for ; Wed, 10 Apr 2013 11:57:06 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 89A7E1036D for ; Wed, 10 Apr 2013 11:57:06 +0200 (CEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3A9uxgG015776 for ; Wed, 10 Apr 2013 11:57:00 +0200 Original-Received: from [10.39.154.136] ([89.204.137.136]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MBSfG-1UGTZX15L4-00AV9M; Wed, 10 Apr 2013 11:56:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-Provags-ID: V02:K0:w3zny8V8nwOJ37F5MDzLGd4By/0lxRlcaXKRSKK7JE/ O9A0s9VGV8x1C9yC07cqL6DJ4hn2F+flOiyVT3OBPB5Q2XIcaE o3g8N/DIva/YWLPaKFT8jtfyLNzay9ggowGEp6kZQIOUgLxuZ3 tsHfkEGEEio85undct2Ba2sCRItG1HlU2v+/PFaF8YmsmNmxG4 hWERZHWYIicN4gA44KjndzpWab2b0yKS1UI64/jGcUrGtYZOV+ Cd7AecQrNMzyneia/wUCzPpqYB9fpX9mxFDvEcmglINKB/no8x S7T8gr0kazEaIXylI90KHACf7vTnizeEJ3uKPIdSIqAfgeTJKJ ilNmpJ2soM93yTewxQnU= X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.126.186; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Jm9V0EL - ae0c46d1a231 - 20130410 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:81596 Archived-At: Am 10.04.2013 11:27, schrieb ntg-context-request@ntg.nl: > This is no problem because they have different names, you can try the following example: > > \usemodule[simplefonts] > > \setmainfont[Garamond] > %\setmainfont[Adobe Garamond Pro] > %\setmainfont[AGaramondPro] > %\setmainfont[EBGaramond] > %\setmainfont[Stempel Garamond] > > \starttext > Regular, \it Italic, \bf Bold and \bi Bolditalic. > \stoptext With \setmainfont[AGaramondPro] it works! The first and second does not work. > >> >Another interesting question: I compared the results using the Simplefont solution and your Typescript solution, both with hanging. Both works, but it is not the same output. It seems, that with Simplefont it is "nicer", in the following sence: The distance between a capital of a beginning word to the next letter it better typed, f.e. in "Hans Meier" the distance of "H" to "ans" could be too much in the typescript example, but is perfect with Simplefont. >> > >> >Where does this difference in typography between Typescript and Simplefont comes from? > Maybe a kerning issue, you can add \showfontkerns at the begin of your document to visualize the kerning. > > Wolfgang \showfontkerns works with Simplefont, but not with Typescript. More precisely: This shows kerning: +++++++++++++ \showfontkerns \usemodule[simplefonts] \setmainfont[AGaramondPro][boldfont=AGaramondPro-Bold, italicfont=AGaramondPro-Italic, bolditalicfont=AGaramondPro-BoldItalic, protrusion=quality, expansion=quality] \setupalign[hz, hanging] \starttext \input tufte \stoptext ++++++++++++++ But this one not: +++++++++++++ \showfontkerns \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 \definefontfeature[default][default][protrusion=quality,expansion=quality] \definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=default] \setupbodyfont[nimbus,rm,12pt] \setupalign[hz,hanging] \starttext \input tufte \stoptext ++++++++++++++++ Where the mistake? And independent from that: That the kerning is different, is for sure (by visual inspection). How can the showing in numbers (showkerning) help to understand the reason for this difference? (Just interested to learn more about ConTeXt, of course I am not able to fix anything or understand it by myself). 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 ___________________________________________________________________________________