From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81597 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Hanging and Protrusion with Typescript Date: Wed, 10 Apr 2013 12:09:57 +0200 Message-ID: <238DD6B3-005F-4E89-BE7A-F0DCD686161A@gmail.com> References: <51653733.1060903@mmnetz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1365588630 12986 80.91.229.3 (10 Apr 2013 10:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Apr 2013 10:10:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Apr 10 12:10:34 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 1UPrz7-0008BJ-6P for gctc-ntg-context-518@m.gmane.org; Wed, 10 Apr 2013 12:10:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50A87103DB; Wed, 10 Apr 2013 12:10:15 +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 WiyBmc826o-o; Wed, 10 Apr 2013 12:10:09 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E74C6103CB; Wed, 10 Apr 2013 12:10:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D2309103CB for ; Wed, 10 Apr 2013 12:10: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 Wind8YRb89i0 for ; Wed, 10 Apr 2013 12:10:05 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 91D9F103BB for ; Wed, 10 Apr 2013 12:10:05 +0200 (CEST) Original-Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3AAV76a007823 for ; Wed, 10 Apr 2013 12:31:08 +0200 Original-Received: by mail-bk0-f54.google.com with SMTP id q16so135056bkw.13 for ; Wed, 10 Apr 2013 03:10:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=xYYcuAF8SAXBCxEal0flqR9IUQChnYbYofk3cZco7uI=; b=fVdlJM4CPs64QjVxhvlbQT0xbCIcLRLANJ526MTDgaibMRxOpfLxAnlshMA1kDEXPO FrXCiHv18ECNAeeEW/KIBGQIx18lcfS8VZArUkYc3BH9LGjGvyM5X6kpCIegEcN7nHmB kbAcBhnGS44Ic2cMqlB527JoBEBKRLcegKXRo1x6XLcVmcZGwGtydkgWuJMvE/IFRkxi oe0cTiRZbzwdSANk1AxDRCyUCPWlreR1/75qckIxmCBgjHDcCa1IalGliEZGQ73/E/Bh zdbzVD5G4ruWjIz4fL6cXOKNLH/y4+Nz9V3q+fw/G89Ev7zaJ8ZyFENG3+kFM1JbUNyj GgeQ== X-Received: by 10.205.10.10 with SMTP id oy10mr469483bkb.89.1365588603669; Wed, 10 Apr 2013 03:10:03 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbe57bc.pool.mediaWays.net. [77.190.87.188]) by mx.google.com with ESMTPS id b21sm15455477bkw.12.2013.04.10.03.10.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Apr 2013 03:10:03 -0700 (PDT) In-Reply-To: <51653733.1060903@mmnetz.de> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::236; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Jmav8Gp - aed2da0e7c3e - 20130410 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81597 Archived-At: Am 10.04.2013 um 11:56 schrieb H. =D6zoguz : > 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 fo= llowing 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 Simplef= ont solution and your Typescript solution, both with hanging. Both works, b= ut 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 wit= h Simplefont. >>> > >>> >Where does this difference in typography between Typescript and Simple= font comes from? >> Maybe a kerning issue, you can add \showfontkerns at the begin of your d= ocument to visualize the kerning. >> = >> Wolfgang > = > \showfontkerns works with Simplefont, but not with Typescript. More preci= sely: > = > This shows kerning: > +++++++++++++ > \showfontkerns > = > \usemodule[simplefonts] > = > \setmainfont[AGaramondPro][boldfont=3DAGaramondPro-Bold, > = > italicfont=3DAGaramondPro-Italic, bolditalicfont=3DAGaramondPro-BoldItali= c, > = > protrusion=3Dquality, expansion=3Dquality] > = > \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=3Dquality,expansion=3Dqua= lity] > = > \definetypeface [nimbus] [rm] [serif] [nimbus] [default] [features=3Ddefa= ult] > = > \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 u= nderstand the reason for this difference? (Just interested to learn more ab= out ConTeXt, of course I am not able to fix anything or understand it by my= self). Can you add =93mode=3Dnode=94 to \definefontfeature in the typescript based= solution. Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________