From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6666 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Setting up lbr fonts Date: Fri, 25 Jan 2002 10:46:06 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020125103651.03ddd8c8@server-1> References: <5.1.0.14.1.20020124140116.02db2aa8@server-1> <5.1.0.14.1.20020123093117.033d0c00@server-1> <5.1.0.14.1.20020122132800.032ff078@server-1> <20020122114515.900@oxmail.ox.ac.uk> <5.1.0.14.1.20020122132800.032ff078@server-1> <5.1.0.14.1.20020123093117.033d0c00@server-1> <5.1.0.14.1.20020124140116.02db2aa8@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035397180 12578 80.91.224.250 (23 Oct 2002 18:19:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:19:40 +0000 (UTC) Cc: ConTeXt Original-To: Jens-Uwe Morawski In-Reply-To: <20020125082513.4dd06657.morawski@gmx.net> Xref: main.gmane.org gmane.comp.tex.context:6666 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6666 At 08:25 AM 1/25/2002 +0100, Jens-Uwe Morawski wrote: >On Thu, 24 Jan 2002 14:23:08 +0100 >Hans Hagen wrote: > > > >And another question: fontinst generates some fonts including > > >symbols like degree. upright-mu or the registered-symbol. These > > >are in (LaTeX) TS1 encoding. What declarations are needed to use them? > > > > you can define them as symbols > > > > \definesymbol [registered] [\getglyph{Serif}{\char123}] % or > > {Palatino}{\char123} or {fontname}{\char123} or take your choice > >In mfonts.pdf is shown how font-style switches (\bf, ...) >automatically apply to the Euro-Symbol. > >Is it enough when i say >\definefontsynonym [PalatinoSymbols] [] >\definefontsynonym [PalatinoSymbolsBold] [] > >\definefontsynonym [SerifSymbols] [PalatinoSymbols] >\definefontsynonym [SerifSymbolsBold] [PalatinoSymbolsBold] > >\definesymbol [registered] [\getglyph{SerifSymbols}{\char123}] > >to reach the same automatism. indeed, the getglyph macro tries to resolve size (x,xx,1,a,b,c,d,..) as well as style (Bold, BoldSlanted,...). >Can i use the \definesymbol declaration in typescripts in order to >make the symbol-name<-->slot mapping local? in principle you can put anythinhg in a typescript, but it's not local btw, interesting point; maybe i should add fontclass/encoding specific symbols \definesymbol[registered] [{\symbol[\currentencoding-registered]}] \definesymbol[texnansi-registered][\getglygh{SerifSymbols}{\char123}] that one switches with the encoding, the next with the typeface \definesymbol [registered] [{\symbol[\fontclass-registered]}] \definesymbol [somename-registered] [...] with somename being the typeface; actually, i think that i could even automate that; will think about it. that way we can mix any combination of fonts / symbols [one of the ideas behind typefaces/scripts is that one can mix in one doc complete different font families without clashes] > > these will scale with the current font size. The problem with these > symbols > > is that because they are not always present in a font, we cannot add them > > to encoding vectors. > >In both cases >- declaring a symbol >- using a symbol from a predefined encoding > one must know which symbols are available, thus some predefined > symbol-declarations could make the life easier. TS1 s a good > starting-point, since it includes most of the symbols commonly available > in commercial fonts. But i see, there is no good integration in texfont. sure, but for that i depend on users; these things can go into the symb-* files Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-pod.nl -------------------------------------------------------------------------