From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44481 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: ansi codes Date: Wed, 1 Oct 2008 14:57:59 +0200 Message-ID: <326847810810010557t13335d26v4e98f1143c9c8339@mail.gmail.com> References: <326847810809300323m4b315c19x59b28282f7c2acc9@mail.gmail.com> <20080930133756.f4aca410.taco@elvenkind.com> <326847810809300701y4b3bf96bvecda807b2ce9d128@mail.gmail.com> <48E234C2.60703@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0196267601==" X-Trace: ger.gmane.org 1222865997 30818 80.91.229.12 (1 Oct 2008 12:59:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2008 12:59:57 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 01 15:00:55 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kl1Jp-00011I-Md for gctc-ntg-context-518@m.gmane.org; Wed, 01 Oct 2008 15:00:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 557D11FE9C; Wed, 1 Oct 2008 14:59:36 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 18029-07-5; Wed, 1 Oct 2008 14:58:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8E21C1FE47; Wed, 1 Oct 2008 14:58:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE6DE1FE47 for ; Wed, 1 Oct 2008 14:58:34 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20991-01-2 for ; Wed, 1 Oct 2008 14:58:00 +0200 (CEST) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.147]) by ronja.ntg.nl (Postfix) with ESMTP id 2718A1FE19 for ; Wed, 1 Oct 2008 14:58:00 +0200 (CEST) Original-Received: by ey-out-1920.google.com with SMTP id 21so149975eyc.38 for ; Wed, 01 Oct 2008 05:58:00 -0700 (PDT) Original-Received: by 10.210.22.16 with SMTP id 16mr1724896ebv.14.1222865880004; Wed, 01 Oct 2008 05:58:00 -0700 (PDT) Original-Received: by 10.210.16.2 with HTTP; Wed, 1 Oct 2008 05:57:59 -0700 (PDT) In-Reply-To: <48E234C2.60703@elvenkind.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44481 Archived-At: --===============0196267601== Content-Type: multipart/alternative; boundary="----=_Part_10175_9887518.1222865880015" ------=_Part_10175_9887518.1222865880015 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 wrote: > > > Alan Stone wrote: > > On Tue, Sep 30, 2008 at 1:37 PM, Taco Hoekwater > > wrote: > > > > On Tue, 30 Sep 2008 12:23:56 +0200 > > "Alan Stone" > > 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 > ------=_Part_10175_9887518.1222865880015 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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@elvenkind.com> wrote:


Alan Stone wrote:
> On Tue, Sep 30, 2008 at 1:37 PM, Taco Hoekwater <taco@elvenkind.com
> <mailto:taco@elvenkind.com>> wrote:
>
>     On Tue, 30 Sep 2008 12:23:56 +0200
>     "Alan Stone" <software.list.1es9s@gmail.com
>     <mailto:software.list.1es9s@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


------=_Part_10175_9887518.1222865880015-- --===============0196267601== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0196267601==--