Re: Change font's size

2004-01-27 Thread Manoj tr
Hai
  
 U can specify the size of font in the fints name itself.
ie give font name like this 

-adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1

here 12 is the size.

u will get more help from 
http://developer.gnome.org/doc/API/2.2/gdk/gdk-Fonts.html#gdk-font-load

-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Change font's size

2004-01-27 Thread Sven Neumann
Hi,

Manoj tr [EMAIL PROTECTED] writes:

  U can specify the size of font in the fints name itself.
 ie give font name like this 
 
 -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
 
 here 12 is the size.

This is the old and deprecated way of doing it. Modern code shouldn't
be using XLFD any longer but use the Pango API to describe a font.


Sven
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Change font's size

2004-01-27 Thread bheemesh
 -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1

 here 12 is the size.

 u will get more help from
 http://developer.gnome.org/doc/API/2.2/gdk/gdk-Fonts.html#gdk-font-load

Here it is given that GdkFont is deprecated  should not be used.
Is it feasible enough?

Bheemesh.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Change font's size

2004-01-26 Thread Roger Leigh
Pisanu Prasertnopakun [EMAIL PROTECTED] writes:

 I try to find how can I change font's size, but I didn't find any functions for
 this. Can someone help me?

What exactly are you trying to achieve?

Have you tried using Pango markup?


-- 
Roger Leigh

Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Change font's size

2004-01-26 Thread bheemesh
Hi,
Try this link very usefull one.

http://mail.gnome.org/archives/gtk-list/2002-August/msg00279.html

Reaaly great info for changigng fonts  their attributes. Thanks to the 
person who composed such a usefull mail.

cheers,
Bheemesh.





On Tuesday 27 January 2004 12:47 am, Pisanu Prasertnopakun wrote:
 Hello list,

 I try to find how can I change font's size, but I didn't find any functions
 for this. Can someone help me?

 **

 GdkFont *font;

 font = gdk_font_load(fixed);

 **

 best regards,

 Pisanu
 ___
___ Nachrichten, Musik und Spiele schnell und einfach per Quickstart im
 WEB.DE Screensaver - Gratis downloaden:
 http://screensaver.web.de/?mc=021110
 ___ gtk-list mailing list
 [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list

___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list