From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55338 Path: news.gmane.org!not-for-mail From: Oliver Buerschaper Newsgroups: gmane.comp.tex.context Subject: Getting font parameters in MkIV Date: Sat, 26 Dec 2009 15:22:31 +0100 Message-ID: <1B390CEB-4DE6-4EDD-8E68-CCC837B48704@mpq.mpg.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1261837366 29246 80.91.229.12 (26 Dec 2009 14:22:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2009 14:22:46 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 26 15:22:38 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 1NOXXS-00086p-O5 for gctc-ntg-context-518@m.gmane.org; Sat, 26 Dec 2009 15:22:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD055C9C8E; Sat, 26 Dec 2009 15:22:38 +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 hJ0OGSWNbAYE; Sat, 26 Dec 2009 15:22:36 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 261BDC9C71; Sat, 26 Dec 2009 15:22:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DD58C9C71 for ; Sat, 26 Dec 2009 15:22:35 +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 OTLK9MRU7Xly for ; Sat, 26 Dec 2009 15:22:33 +0100 (CET) Original-Received: from post.rzg.mpg.de (post.rzg.mpg.de [130.183.30.42]) by balder.ntg.nl (Postfix) with ESMTP id 8F956C9C6D for ; Sat, 26 Dec 2009 15:22:33 +0100 (CET) Original-Received: from [192.168.178.23] (g229117076.adsl.alicedsl.de [92.229.117.76]) (authenticated bits=0) by post.rzg.mpg.de (8.14.3/8.14.3) with ESMTP id nBQEMW1P1008044 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Sat, 26 Dec 2009 15:22:33 +0100 X-Mailer: Apple Mail (2.1077) 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:55338 Archived-At: Dear all, how can I access font parameters (e.g. the thickness of the fraction rule) of an OpenType font in MkIV? Taco once gave me the solution: --- \usetypescript[cambria] \setupbodyfont[cambria] \def\defaultrulethickness{\the\fontdimen8\textfont3\relax} \starttext \the\defaultrulethickness \stoptext --- which used to work in the old MkII days. Now with MkIV I get: --- ! Font \nullfont has only 7 fontdimen parameters. \relax l.10 \the\defaultrulethickness ? --- What's the new method to obtain the desired parameters? Best wishes, Oliver ___________________________________________________________________________________ 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 ___________________________________________________________________________________