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 the 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’t 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\getglyph{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-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________