xffm crash

Olivier Fourdan fourdan at xfce.org
Mon Jan 13 10:38:56 CET 2003


Hi Edscott,

> I haven't done much work on fonts yet (still trying to get all the
> basics in place). When I run xffm on FreeBSD I get an ugly font like
> in
> xftree, but when I use redhat 8 I get a real nice true-type font. If
> you

Hehehe, I didn't say I had "ugly" fonts (mine are truetype fonts too), I just
wanted to point out that the treeview uses non standard fonts which is, well, odd.

> know how to fix the font issue I'd appreciate it if you'd give it a
> try.

I believe the best is to leave fonts to their defaults. I guess it's not a good
idea to use separate fonts unless strictly necessary.

But yes, I know how to set a font for a given widget. 

        PangoFontDescription *desc;
        desc = pango_font_description_from_string (font);
        if (desc) 
	{
	    gtk_widget_modify_font (widget, desc);
	}

Cheers,
Olivier.
--
XFce is a lightweight  desktop  environment  for  various *NIX systems. 
Designed for productivity,  it loads  and  executes  applications fast,
while conserving  system resources. XFce is all free software, released
under GNU General Public License.    Available from http://www.xfce.org



More information about the Xfce4-dev mailing list