nanogui: fonts


Previous by date: 27 Apr 2007 02:08:31 +0100 nanowm colors, Yan Seiner
Next by date: 27 Apr 2007 02:08:31 +0100 Re: VT100 terminal emulation, Greg Haerr
Previous in thread: 27 Apr 2007 02:08:31 +0100 Fonts, Yan Seiner
Next in thread: 27 Apr 2007 02:08:31 +0100 Fonts, Łukasz Wójcicki

Subject: Re: [nanogui] Fonts
From: "Greg Haerr" ####@####.####
Date: 27 Apr 2007 02:08:31 +0100
Message-Id: <09f301c78868$5d42be60$6401a8c0@winXP>

: I need to try some different fonts, but I can't figure out how fonts work.

Fonts can be either loaded at runtime, or compiled-in.  They
are selected using GrCreateFont, using either a pathname or
a pre-set MWFONT_xxx as below, which selects a compiled-in
array index.

See the demos associated with src/fontdemo*.sh for more details.


: 
: I've tried substtituting various monospace fonts in for SystemFixed by 
: changing the
: 
: #define MWFONT_SYSTEM_FIXED

No, you'll never redefine an index.  To compile in another
font, look at src/drivers/genfont.c.

 
: I need to figure out which font (if any) has the line draw characters I 
: need (the so-called 'extended ASCII' set, rather than the 
: 'multinational' set.)

You'll either have to convert a Windows font or find a .bdf for this.

Regards,

Greg


Previous by date: 27 Apr 2007 02:08:31 +0100 nanowm colors, Yan Seiner
Next by date: 27 Apr 2007 02:08:31 +0100 Re: VT100 terminal emulation, Greg Haerr
Previous in thread: 27 Apr 2007 02:08:31 +0100 Fonts, Yan Seiner
Next in thread: 27 Apr 2007 02:08:31 +0100 Fonts, Łukasz Wójcicki


Powered by ezmlm-browse 0.20.