gdk_fontset_load and font descriptor
- From: Christian Marillat <marillat christian wanadoo fr>
- To: gnome-devel-list gnome org
- Subject: gdk_fontset_load and font descriptor
- Date: 10 Jan 2002 18:19:53 +0100
Hi,
In some apps I see the font descriptor is gettextized and I think this is a
bad hack. The second example with a fallback to *-r-* seems more correct
to me. Then which is the rigth way for the font descriptor ?
In gnome-core panel/button-widget.c
font = gdk_fontset_load(_("-*-helvetica-medium-r-normal-*-8-*-*-*-*-*-*-*"));
And in gnome-about/gnome-about.c
italicfont = gdk_fontset_load("-adobe-helvetica-medium-o-normal--*-120-*-*-*-*-*-*,*-r-*");
Christian
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]