Re: Font antialising in php-gtk
| From: | Ciprian Popovici | Date: | Tue, 05 Apr 2005 10:52:18 +0000 |
| Subject: | Re: Font antialising in php-gtk | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5739@lists.php.net to get a copy of this message | ||
On Mon, 04 Apr 2005 11:33:56 -0300 marcus <marcus@lanhelp.com.br> wrote:
> Hi, Is there a way to use antialiased fonts with php-gtk?
Rendering fonts is not php-gtk's business, it's up to whatever font
backend the system uses. With the currently stable php-gtk which uses GTK
v1.x, it's not possible. GTK v1 doesn't do AA fonts. GTK v2 does, and that
will become apparent in the upcoming php-gtk version. I have no idea how
GTK on Windows behaves in this respect, haven't thought to check.
Depending on how desperate you are for AA, there is a hack out there which
enables AA for GTK v1, but it was quite buggy and crash-prone the last
time I tried it. I'd rather have ugly fonts than have apps crashing.
--
Ciprian Popovici