From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54279 Path: news.gmane.org!not-for-mail From: Oliver Heins Newsgroups: gmane.comp.tex.context Subject: enabling pdftex's microtypographic features with variant old style figures Date: Thu, 12 Nov 2009 17:57:34 +0100 Message-ID: <87r5s365q9.fsf@sopos.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258045135 13691 80.91.229.12 (12 Nov 2009 16:58:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 16:58:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Nov 12 17:58:48 2009 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.50) id 1N8d0R-0002tl-Sj for gctc-ntg-context-518@m.gmane.org; Thu, 12 Nov 2009 17:58:47 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B8A26C9AE6; Thu, 12 Nov 2009 17:56:42 +0100 (CET) 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 qnMjVcM6KyoT; Thu, 12 Nov 2009 17:56:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 492F0C9A70; Thu, 12 Nov 2009 17:56:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AA26FC9A70 for ; Thu, 12 Nov 2009 17:56:36 +0100 (CET) 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 Vf13fTv7m2Lb for ; Thu, 12 Nov 2009 17:56:33 +0100 (CET) Original-Received: from black.cryptix.de (black.cryptix.de [83.137.101.103]) by balder.ntg.nl (Postfix) with ESMTP id 365BFC9A41 for ; Thu, 12 Nov 2009 17:56:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by black.cryptix.de (Postfix) with ESMTP id 2311E266D8F for ; Thu, 12 Nov 2009 17:58:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at black.cryptix.de Original-Received: from black.cryptix.de ([127.0.0.1]) by localhost (black.cryptix.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PTjxG2Y494jP for ; Thu, 12 Nov 2009 17:58:12 +0100 (CET) Original-Received: from dionysos.sopos.net (Qcec0.q.pppool.de [89.53.206.192]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by black.cryptix.de (Postfix) with ESMTP id 4A755266D79 for ; Thu, 12 Nov 2009 17:58:12 +0100 (CET) Original-Received: from olli by dionysos.sopos.net with local (Exim 4.69) (envelope-from ) id 1N8czr-0006T2-B1 for ntg-context@ntg.nl; Thu, 12 Nov 2009 17:58:11 +0100 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Face: j~5v(Bp|w-}v-^x(PbHz\0k(_hhT~N>n|%e\0cGUJMbW^V}}1H&D0"19u8XGq=[NV[8]$jwG)]ii@jcTZt)Geu})D+lw_C$"#$M^MNTIIRUZ!m 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:54279 Archived-At: With the help of Patrick's otfinstall I've installed a font for use with pdftex/mark ii. this works fine so far, but i want to use the microtypographic features not only for the base font, but for the old style figures variant, too. \usetypescriptfile[type-corporate] \usetypescript[corporate] \setupfontsynonym[Serif][handling=pure] \setupfontsynonym[Sans][handling=pure] \definetypeface[corporate][rm][serif][corporate][default][encoding=texnansi] \definetypeface[corporate][ss][sans][corporate][default][encoding=texnansi] \definetypeface[corporate][tt][mono][modern] [default][rscale=1.12] \definetypeface[corporate][mm][math][iwona] [default][rscale=1.02] \setupfonthandling[hz][min=25,max=25,step=5] \usetypescript[sans][hanging][normal] % this creates the 'handling' synonyms \usetypescript[serif][hanging][normal] % this creates the 'handling' synonyms \usetypescript[sans][hz][quality] % this creates the 'handling' synonyms \usetypescript[serif][hz][quality] % this creates the 'handling' synonyms \setupbodyfont[corporate,ss,10pt] %\Var[osf] This works for normal figures, but when I switch to osf with \Var[osf] there is no protrusion nor font expansion. TIA, olli -- Oliver Heins heins@sopos.org http://oliverheins.net/ http://blog.overheins.net/ F27A BA8C 1CFB B905 65A8 http://scriptorium-adp.de/ 2544 0F07 B675 9A00 D827 1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827 Please avoid sending me Word or PowerPoint attachments: http://www.gnu.org/philosophy/no-word-attachments.html ___________________________________________________________________________________ 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 ___________________________________________________________________________________