From what I have seen you have to specify the font path. So if your font is 
at /usr/fontlibrary/fonts (as an example - mine don't live there), then you 
have to say "/usr/fontlibrary/fonts/arial.ttf" (as an example).

Where your fonts are depends on the system setup, etc. YMMV as they say.

Cheers,

Lloyd

On Friday 03 November 2006 03:51, Aries.chang wrote:
> Sorry. I also get the same error.
> My configuration is Redhat 9 + DirectFB 1.0 RC2 +DirectFB example 0.9.25.
> Could someone can give me a hint?
> thanks.
>
> Aries
>
> Randall Philipson-2 wrote:
> > Never mind.  It was a problem with my cross-compile setup.  Setting the
> > datadir correctly made all the tests work right.  Please excuse my
> > noobiness.
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Randall
> > Philipson
> > Sent: Tuesday, October 31, 2006 10:51 AM
> > To: [email protected]
> > Subject: [directfb-users] Font configuration problem
> >
> > Hello everyone,
> >
> > I'm new to DirectFB and setting up custom graphic environments in
> > general, please bear with me.
> >
> > I cross-compiled DirectFB for an embedded unit I'm putting together and
> > my graphics works great, but it seems to have problems with fonts.  When
> > I try certain examples, say df_drivertest I get the output;
> >
> >      =======================|  DirectFB 1.0.0-rc2
> >
> > |=======================
> >
> >           (c) 2001-2006  United Cultures of Earth - go for outer space!
> >           (c) 2000-2004  Convergence (integrated media) GmbH
> >         ----------------------------------------------------------------
> >
> > (*) DirectFB/Core: Single Application Core. (2006-10-31 14:05)
> > (*) Direct/Thread: Running 'VT Switcher' (CRITICAL, 596)...
> > (*) Direct/Thread: Running 'Keyboard Input' (INPUT, 597)...
> > (*) DirectFB/Input: Keyboard 0.9 (directfb.org)
> > (*) DirectFB/Genefx: MMX detected and enabled
> > (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)
> > (*) DirectFB/Core/WM: Default 0.2 (directfb.org)
> > df_drivertest.c <107>:
> >         (#) DirectFBError [dfb->CreateFont( dfb, FONT, &desc, &font )]:
> > File not
> >  found!
> >  (!!!)  *** WARNING [Application exited without deinitialization of
> > DirectFB!] *
> > ** [core.c:744 in dfb_core_deinit_check()]
> >
> > But if I run df_font with the path to the decker.ttf font, I get the
> > fontmap display.  I'm clueless how to configure fonts, I went to the
> > freetype sight, but just became more confused.  Is there a quick and easy
> > way to set fonts up?
> >
> > Thanks,
> > Randy
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Ville Syrjälä
> > Sent: Tuesday, October 31, 2006 10:28 AM
> > To: Dave Henderson
> > Cc: [email protected]
> > Subject: Re: [directfb-users] mplayer
> >
> > On Tue, Oct 31, 2006 at 05:48:31AM -0800, Dave Henderson wrote:
> >> Gang,
> >>
> >>     I have another question about mplayer using directfb.  When I try
> >> to run mplayer using directfb, I get the following error:
> >>
> >> # mplayer -vo directfb Weather\ man.avi
> >
> > <snip>
> >
> >> (!) DirectFB/core/fbdev: Error opening `/dev/fb0'!
> >>     --> No such device
> >
> > Look under 'Configuring the Linux frame buffer device' in the README.
> >
> > --
> > Ville Syrjälä
> > [EMAIL PROTECTED]
> > http://www.sci.fi/~syrjala/
rs

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to