RE: Pango support for X fonts (Was: Re: How to use X fonts in my GTK appication?)



My concern is the speed. If I use the pango font, it will be 600 times
slow than I use the X fonts directly. 

For my application, every place I need fast painting, I have to use X
function calls directly. Otherwise noboday will use my program because
it is too slow.

This really brings up problems: In my application, some place is xft
font and some place is X font really looks bad.

Thanks.
Tom
 

-----Original Message-----
From: gtk-app-devel-list-bounces gnome org [mailto:gtk-app-devel-list-
bounces gnome org] On Behalf Of Stefan Kost
Sent: Monday, November 15, 2004 7:44 AM
To: Nix N. Nix
Cc: gtk-app-devel-list gnome org
Subject: Re: Pango support for X fonts (Was: Re: How to use X fonts in
my
GTK appication?)

+1 for that from here as well. I am using the glib-2/gtk-2 seriens on
a
sparc
machine with solaris as well. Getting the xrender stuff to work is
quite a
p.i.t.a. here. So please don't deprecate thsi too quick.

Stefan

Nix N. Nix wrote:
On Thu, 2004-11-04 at 15:19, Maciej Katafiasz wrote:

Pango no longer supports core X fonts, the only backend (on X,
anyway)
is xft nowadays. So whatever you do to pangox.alias file, it's not
going
to have any effect on pango


This is very unfortunate, especially when you try to install
gtk+-2.4
into your home directory, on a machine where you don't have root
access.  Pango should be able to fall back to whatever fonts are
available, because not every X server in the world has the "Render"
extension, and not every X server in the world is XFree86 or X.org,
complete with Xft2.

By restricting pango to xft fonts, you (whoever disabled X fonts in
pango) have basically prevented gtk+-2.4 from being available on a
wide
variety of systems with lder X servers, including our Solaris
server,
where gtk+-2.2 worked fine, but not 2.4. IOW, gtk+ is now only as
good
as your X setup.

I would personally be very grateful to see somebody "put the X back
into
pango", as it were, so I can use the latest and greatest gtk+ on our
Solaris machines.

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


--
      \|/            Stefan Kost
     <@ @>           private            business
+-oOO-(_)-OOo------------------------------------------------------ -
- -
-   -
|       __  Address  Simildenstr. 5     HTWK Leipzig, Fb IMN, Postfach
301166
|      ///           04277 Leipzig      04251 Leipzig
| __  ///            Germany            Germany
| \\\///    Phone    +49341 2253538     +49341 30766101
|  \__/     EMail    st_kost_at_gmx.net kost_at_imn.htwk-leipzig.de
|           WWW      www.sonicpulse.de  www.imn.htwk-
leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]