[NTG-context] ansi codes
Alan Stone
software.list.1es9s at gmail.com
Wed Oct 1 14:57:59 CEST 2008
Wonderful !
Is there a (preferably free) Linux or Windows font tool out there which
allows to print a font's characters and corresponding character codes ?
On Tue, Sep 30, 2008 at 4:16 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
>
>
> Alan Stone wrote:
> > On Tue, Sep 30, 2008 at 1:37 PM, Taco Hoekwater <taco at elvenkind.com
> > <mailto:taco at elvenkind.com>> wrote:
> >
> > On Tue, 30 Sep 2008 12:23:56 +0200
> > "Alan Stone" <software.list.1es9s at gmail.com
> > <mailto:software.list.1es9s at gmail.com>> wrote:
> >
> > > How do you typeset font characters by their ansi code number, ex.
> > Alt+33
> > > (21h) ?
> >
> > \char "21 % hex
> > \char 33 % decimal
> >
> >
> > Thanks Taco.
> >
> > It didn't work as expected. It outputs exclamation points.
>
> OK, fetched the font.
>
> > \starttypescript [sans] [combinumerals]
> > \setups [font:fallback:sans]
> > \definefontsynonym [sans] [CombinumeralsRegular]
> > \definefontsynonym [sansBold] [CombinumeralsBold]
> > \stoptypescript
>
> Two changes are needed here
>
> [Sans] instead of [sans]
> [SansBold] instead of [sansBold]
>
> > \starttext
> > %\showcharacters
> > %\page
>
> Have to add a font switching command here:
>
> \switchtobodyfont[combinumerals,ss]
>
> Best wishes,
> Taco
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20081001/4484b660/attachment.html
More information about the ntg-context
mailing list