xffm crash

Olivier Fourdan fourdan at xfce.org
Mon Jan 13 22:22:35 CET 2003


Out of curiosity, I tried to remove the call to "set_font" in
xffm/libs/icons.c at line 483 and *really* looks better w/out

(See attached screenshot)


On Mon, 2003-01-13 at 10:38, Olivier Fourdan wrote:
> 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
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at moongroup.com
> http://moongroup.com/mailman/listinfo/xfce4-dev
Olivier Fourdan <fourdan at xfce.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xffm-nofont.png
Type: image/png
Size: 59119 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20030113/699de73c/attachment.png>

More information about the Xfce4-dev mailing list