Re: gtk + directfb + live cd



Hi,

Ottavio Campana <ottavio campana vi it> writes:

> On Sat, Jan 04, 2003 at 12:00:29PM +0100, Sven Neumann wrote:
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 16384 (LWP 242)]
> > > 0x40394fdb in MiniXftPatternFind () from /usr/lib/libpangoft2-1.0.so.0
> > 
> > looks as if your setup doesn't provide any fonts. Font configuration
> > is explained in the FAQ:
> > 
> >   http://www.directfb.org/documentation/faq.xml
> 
> what  kind  of  fonts?   I've  tried  installing  xfont-base-transcoded,
> xfont-100dpi-transcoded, xfont-75dpi-transcoded  (I'm using  debian) but
> it doesn't work...

any kind of fonts that FreeType2 can handle. Preferably Truetype fonts.
I'd suggest you apt-get msttcorefonts.

> My XftConfig is:
> 
> dir "/usr/X11R6/lib/X11/fonts/100dpi"
> dir "/usr/X11R6/lib/X11/fonts/75dpi"
> dir "/usr/X11R6/lib/X11/fonts/misc"
> 
> match any family == "fixed"             edit family =+ "mono";
> match any family == "fixed"             edit family =+ "sans";
> match any family == "fixed"             edit family =+ "serif";

This looks strange. Something like this seems more appropriate:

dir "/usr/share/fonts/truetype"

#
# alias 'fixed' for 'mono'
#
match any family == "fixed"             edit family =+ "mono";

#
# Check users config file
#
includeif       "~/.xftconfig"

match any family == "sans"              edit family += "Verdana";
match any family == "serif"             edit family += "Times";
match any family == "mono"              edit family += "Courier";



Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]