nanogui: BDF and TTF fonts in NanoX


Previous by date: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Next by date: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Previous in thread: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Next in thread: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus

Subject: RE: [nanogui] RE: BDF and TTF fonts in NanoX
From: Kiran Mahajan ####@####.####
Date: 21 Dec 2006 06:57:36 +0000
Message-Id: <1166685255.3446.10.camel@KiranLinux>

Hi Teemu,

fonts.dir should be in the directory path which you have mentioned in
the config file of Nano-X. as for example:

####################################################################
# TrueType font support thru FreeType 1.x
####################################################################
HAVE_FREETYPE_SUPPORT    = Y
INCFTLIB                 = /usr/include/freetype1
LIBFTLIB                 = /usr/lib/libttf.a
FREETYPE_FONT_DIR        = "fonts/truetype"

fonts.dir file contains name of font file, encodings and font attributes.
You need to edit that file for your font. This file should be in the 
directory where your TTF font file is. To have a sample copy how to 
write this file, go to the Nano-X's src/fonts/truetype directory. 
there you will find fonts.dir.pseudoadobe file.

Thanks and regards,
Kirankumar

On Thu, 2006-12-21 at 07:24 +0100, Teemu Keskinarkaus wrote:
> Hi,
> 
> I already has freetype 1.3.1 ported to my platform. Only thing is that I
> don't seem to be able to get TTF fonts work. My program doesn't find them.
> Where should that fonts.dir - file be and what should it contain? My program
> doesn't have one. Or should that file be in NanoX directory somewhere?
> 
> Teemu Keskinarkaus
> CC-Systems
> 



Previous by date: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Next by date: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Previous in thread: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus
Next in thread: 21 Dec 2006 06:57:36 +0000 Re: BDF and TTF fonts in NanoX, Teemu Keskinarkaus


Powered by ezmlm-browse 0.20.