xffm crash

edscott wilson garcia edscott at imp.mx
Tue Jan 14 04:08:04 CET 2003


El lun, 13-01-2003 a las 15:22, Olivier Fourdan escribió:
> Edscott,
> 
> 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)

It looks much cleaner. It seems I had forgotten to comment a line and
that made two different fonts appear simultaneously (rather screwy). The
set_font call was just to set the font size, which is probably not
necesary. I've disabled the set_font function in CVS.

saludos,

Edscott

 
> 
> Cheers,
> Olivier.
> 
> 
> 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>
> http://www.xfce.org





More information about the Xfce4-dev mailing list