From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/60455 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: Re: relative size of symbols Date: Wed, 28 Jul 2010 10:16:26 +0200 Message-ID: <4C0FF0B0-FB04-44BC-AC99-199061F075BA@fiee.net> References: <6B1B9BC6-A66A-47C2-B37A-5F1DE1C83ABF@fiee.net> <4C4FE07A.7040007@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1280305003 20467 80.91.229.12 (28 Jul 2010 08:16:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 28 Jul 2010 08:16:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 28 10:16:42 2010 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 1Oe1of-00063n-AU for gctc-ntg-context-518@m.gmane.org; Wed, 28 Jul 2010 10:16:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1908AC9C0E; Wed, 28 Jul 2010 10:16:36 +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 OEdBe5OD7EjC; Wed, 28 Jul 2010 10:16:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F174AC9B91; Wed, 28 Jul 2010 10:16:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E1E7C9B91 for ; Wed, 28 Jul 2010 10:16:31 +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 ol6bvndji1ft for ; Wed, 28 Jul 2010 10:16:29 +0200 (CEST) Original-Received: from turan.fiee.net (turan.fiee.net [87.230.77.106]) by balder.ntg.nl (Postfix) with ESMTP id 0E7C6C9B10 for ; Wed, 28 Jul 2010 10:16:28 +0200 (CEST) X-No-Auth: unauthenticated sender Original-Received: from turan.fiee.net (lvps87-230-77-106.dedicated.hosteurope.de [127.0.0.1]) by turan.fiee.net (Postfix) with ESMTP id 17CDD17BC0290 for ; Wed, 28 Jul 2010 10:16:28 +0200 (CEST) Original-Received: from [10.128.9.9] (69-113.76-83.cust.bluewin.ch [83.76.113.69]) by turan.fiee.net (Postfix) with ESMTP for ; Wed, 28 Jul 2010 10:16:28 +0200 (CEST) In-Reply-To: <4C4FE07A.7040007@googlemail.com> X-Mailer: Apple Mail (2.936) 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:60455 Archived-At: Am 2010-07-28 um 09:47 schrieb Wolfgang Schuster: > Am 28.07.10 09:27, schrieb Henning Hraban Ramm: >> I need some symbols from a font, but they are too small in >> comparison to my text font. (It used to look right once, maybe now >> some font feature is handled different.) >> I know only the scaling options in type scripts, but how can I >> scale my glyphs in this setup? >> (minimals, latest beta, mkIV) >> >> >> \definefontsynonym [Symbola] [file:Symbola.otf] >> >> \def\UnicodeSymbol#1{\getglyph{Symbola}{\utfchar{#1}}} > > \def\UnicodeSymbol#1{\getscaledglyph{Symbola}{1.2}{\utfchar{#1}}} Thank you, looks good, but doesn't work for me: ! Missing number, treated as zero. S S ymbola \symbolicsizedfont ...ontsize #1\scaledfontsize #2 \scaledfontsize \font \the... \getscaledglyph ...->{\symbolicscaledfont {#1}{#2} \doifnumberelse {#3}\char ... l.21 \getscaledglyph{Symbola}{3.0}{A} "{A}" was only a test, since it didn't work with \utfchar either, same error. Looks like \getscaledglyph doesn't take my font definition? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___________________________________________________________________________________ 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 ___________________________________________________________________________________