[NTG-context] ansi codes
software.list.1es9s at gmail.com
Wed Oct 1 14:57:59 CEST 2008
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:
> Best wishes,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ntg-context