Re: Using Fonts
| From: | Steph | Date: | Tue, 12 Aug 2003 19:12:58 +0000 |
| Subject: | Re: Using Fonts | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-3695@lists.php.net to get a copy of this message | ||
> can someone point me to an example of how to use fonts, again I'm
kinda
> stumped by the manual.
>
> All I really want to do is to change the font size/weight in a label
to
> add a title to a screen. I do need it to work under Linux and Windows
> though.
http://gtk.php.net/manual/en/gtk.gtkstyle.constructor.php
shows you
exactly how to do that (I agree it's fairly well hidden).
Searching the manual for 'font' gives you GdkFont, which links to
gdk::font_load() - I think that 'not found' is actually down to you :)
- Steph