From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70234 Path: news.gmane.org!not-for-mail From: Alexandre Leray Newsgroups: gmane.comp.tex.context Subject: Using mycrotypography features with simplefont module and OTF/TTF Date: Fri, 22 Jul 2011 15:56:25 +0200 Message-ID: <4E298189.4080904@alexandreleray.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311342990 21751 80.91.229.12 (22 Jul 2011 13:56:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2011 13:56:30 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 22 15:56:23 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QkGDF-0000pb-Ur for gctc-ntg-context-518@m.gmane.org; Fri, 22 Jul 2011 15:56:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 862AACAE68; Fri, 22 Jul 2011 15:56:20 +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 OUmHE0fd3-Nf; Fri, 22 Jul 2011 15:56:17 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AF6ECAE64; Fri, 22 Jul 2011 15:56:17 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56C53CAE64 for ; Fri, 22 Jul 2011 15:56:16 +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 AIPYZ3SkE7Dn for ; Fri, 22 Jul 2011 15:56:14 +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 03473CAE61 for ; Fri, 22 Jul 2011 15:56:14 +0200 (CEST) Original-Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6MDu5oZ031186 for ; Fri, 22 Jul 2011 15:56:10 +0200 X-Originating-IP: 217.70.178.137 Original-Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 49823A8072 for ; Fri, 22 Jul 2011 15:55:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id zFjlrgSPYo3F for ; Fri, 22 Jul 2011 15:55:23 +0200 (CEST) X-Originating-IP: 85.27.6.249 Original-Received: from [192.168.0.133] (host-85-27-6-249.brutele.be [85.27.6.249]) (Authenticated sender: newsletters@alexandreleray.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id D7E3FA8074 for ; Fri, 22 Jul 2011 15:55:23 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110628 Thunderbird/5.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.70.183.195; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 05Fb1U5c6 - 82c2b20871b5 - 20110722 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:70234 Archived-At: Dear all, I'm trying to enable protrusion on a text composed with a ttf font (tried otf converted from ttf as well) and using the simplefont module. We have tried different things but did not see any difference in the results. Our context version is 2011.07.20 14:10 The full context code is visible here: http://dpaste.com/574351/ The relevant chunk is this: % USING SIMPLEFONT: FAILS % %\usemodule[simplefonts][protrusion=quality,expansion=quality] %\setmainfont[umepmincho] % USING TYPESCRIPT: FAILS TOO % \starttypescript [serif] [umepmincho] \definefontsynonym [Serif] [name:umepmincho] \stoptypescript \definetypeface [umepmincho] [rm] [serif] [umepmincho] \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \setupbodyfont[umepmincho, 10pt] \definebodyfontenvironment[default][x=0.75 ,a=1.5, b=1.75, c=2,d=3.4] % defines higher sizes of fonts Is there a way to make it work? Thanks! Alex ___________________________________________________________________________________ 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 ___________________________________________________________________________________