nanogui: Font usage/setup


Previous by date: 4 Jan 2006 22:31:33 +0000 Font usage/setup, Martin Kajdas
Next by date: 4 Jan 2006 22:31:33 +0000 flnx comile woes, yan seiner
Previous in thread: 4 Jan 2006 22:31:33 +0000 Font usage/setup, Martin Kajdas
Next in thread: 4 Jan 2006 22:31:33 +0000 Re: Font usage/setup, Martin Kajdas

Subject: Re: [nanogui] Font usage/setup
From: "Greg Haerr" ####@####.####
Date: 4 Jan 2006 22:31:33 +0000
Message-Id: <01f401c6117e$b25a6d60$0300a8c0@RDP>

> I enabled PCF fonts support in config file, I copied PCF font files into
/usr/lib/X11/fonts directory of my ram disk.

How exactly fonts work in nano-X:
- are they compiled in?
- if not, where should they be located to be available? where and how are
they searched?
- what options need to be turned on?


Font locations are set in both the microwindows config file,
as well as in the NXLIB Makefile.  Make sure that these
are set properly.

The NXLIB library adds its own paths in front of the file names,
according to code in SetFont.c (or something like that, grep
for GrCreateFont).  When Microwindows gets a font spec,
it will attempt to load the file once if it starts with '/', otherwise,
it will use its own search mechanism, dependent on config file
setting and font loader.

If you turn on debug mode, then microwindows should print
the path it tries for every font.  Same for NXLIB.

Regards,

Greg


Previous by date: 4 Jan 2006 22:31:33 +0000 Font usage/setup, Martin Kajdas
Next by date: 4 Jan 2006 22:31:33 +0000 flnx comile woes, yan seiner
Previous in thread: 4 Jan 2006 22:31:33 +0000 Font usage/setup, Martin Kajdas
Next in thread: 4 Jan 2006 22:31:33 +0000 Re: Font usage/setup, Martin Kajdas


Powered by ezmlm-browse 0.20.