From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65369 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: \getscaledglyph Date: Thu, 20 Jan 2011 16:37:11 +0100 Message-ID: <63348924-2CD0-4AD4-977E-25CCF7A4212F@boede.nl> References: <003101cbb876$df30a530$9d91ef90$@floeren@boschung.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1295537855 2244 80.91.229.12 (20 Jan 2011 15:37:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 Jan 2011 15:37:35 +0000 (UTC) To: thomas.floeren@boschung.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 20 16:37:28 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 1PfwZk-0004xt-TJ for gctc-ntg-context-518@m.gmane.org; Thu, 20 Jan 2011 16:37:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D497DCAA24; Thu, 20 Jan 2011 16:37:27 +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 2+Bas9hj8Ycm; Thu, 20 Jan 2011 16:37:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62BB1CAA1F; Thu, 20 Jan 2011 16:37:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93B23CAA1F for ; Thu, 20 Jan 2011 16:37:24 +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 k372m3ssO92V for ; Thu, 20 Jan 2011 16:37:13 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 51788CAA1E for ; Thu, 20 Jan 2011 16:37:13 +0100 (CET) Original-Received: from mars.digitpaint.nl (mars.digitpaint.nl [83.98.197.63]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0KFbC3J024714 for ; Thu, 20 Jan 2011 16:37:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mars.digitpaint.nl (Postfix) with ESMTP id C91DC8B76; Thu, 20 Jan 2011 16:37:11 +0100 (CET) Original-Received: from mars.digitpaint.nl ([127.0.0.1]) by localhost (mail.digitpaint.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tY1UoOTsk6Oh; Thu, 20 Jan 2011 16:37:11 +0100 (CET) Original-Received: from [192.168.1.198] (a83-161-249-79.adsl.xs4all.nl [83.161.249.79]) by mars.digitpaint.nl (Postfix) with ESMTPA id 9180C8AD9; Thu, 20 Jan 2011 16:37:11 +0100 (CET) In-Reply-To: <003101cbb876$df30a530$9d91ef90$@floeren@boschung.com> X-Mailer: Apple Mail (2.1082) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.98.197.63; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDVPBcH6 - 9433b8152d40 - 20110120 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:65369 Archived-At: Hi Thomas, I had to do some work with regard to this issue recently. What was mentioned on this list, is, that \fontchar is a command which will= stay. \setupbodyfont[Myfont,rm,12pt] \definesymbol[Q.alt] [\fontchar{Q.alt}] \def\Qa{\symbol[Q.alt]} The easiest way to get a stable environment is to use the char-names from t= he font. You can extract a table with all char-names with = \usemodule[fnt-10] \setupbodyfont[Myfont,rm,12pt] \starttext \ShowCompleteFont{Myfont.otf}{10pt}{1} % fontname, size,columns % \ShowAllGlyphs {Myfont}{48pt}{4} % fontname, size,columns = \stoptext Kind regards Willi On 20 Jan 2011, at 08:51, Thomas Floeren wrote: > Hi, > = > I did a rather huge update step from my working context 2010.09.29 to the= actual beta. I noted that \getscaledglyph doesn=92t work anymore. = > = > I use it a lot for symbol insertions like this: > = > \definefontsynonym [ArialU] [name:ArialUnicodeMS] > \definesymbol [Diameter] [\getscaledglyph{1.5}{ArialU}{\char"2300}] > \def\Diam{\symbol[Diameter]} > = > \starttext > hello \Diam\ goodbye > \stoptext > = > = > ( \getglyph seems to work as usual: \definesymbol [Diameter] [\tfb\getgly= ph{ArialU}{\char"2300}] ) > = > Should I better change my definitions or is it just a bug? > = > = > = > Thank you > & Greetings > Thomas > = > = > MTXrun | current version: 2011.01.18 19:34 > This is LuaTeX, Version beta-0.65.0-2010121316 > = > _________________________________________________________________________= __________ > 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-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________