Re: How to port existing apps to xft2?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jan 02, 2003 at 12:41:29PM +0100, Klaasjan Brand wrote:
> On Thu, 2003-01-02 at 12:24, Marco Fioretti wrote:
> > Yet another xft question: I have found lots of info for users who need
> > to add new fonts in their xft based distro, but how to port a pre-xft2
> > app to the new system? What a developer should read?
> 
> Xft2 is the font-rendering back-end, and not meant for everyday use. If
> your application uses Qt2 or higher or GTK2 it's already using xft2 (on
> psyche that is). If your application uses GTK1, you probably want to
> port it to GTK2.

Ok, well where do Xt apps fit in?  Or do they, even?

I'll take xterm over any of its replacements any day of the week.
IMO, no one can touch it.  I don't much care if the fonts are
anti-aliased, or if I can make my background "transparent" -- all that
seems to accomplish is to slow command output WAY down...

For comparison, open an xterm, gnome-terminal, and konsole all next to
eachother (if you have room, or near to eachother if not).  Then:

  $ ls -laR /

...in each of them.  

Notice that xterm blazes.  Konsole is noticably slower, and gnome-term
is /dog/ slow.  The latter will eat up all of your CPU, even on a fast
machine, whereas xterm uses very little cpu (of course both cause the
X server to work).  And, xterm is more configurable, to boot (or if it
isn't, then at least how to do so is well documented).  

Then make the terminal windows as tall as they'll fit on your screen
and repeat.  Watch the effect become amplified.  xterm continues to
zip along smoothly, KDE gets a little worse, and gnome-terminal is
very choppy.  The xterm uses about 3-4% of the cpu, konsole uses about
40-45% of the cpu, and gnome-term sucks up about 60% of the cpu, with
the X server using most of what's left in each case.

Yucky.

- -- 
Derek D. Martin
http://www.pizzashack.org/
GPG Key ID: 0xDFBEAD02

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+FDojHEnASN++rQIRAiW4AJ9Al86O6chvLfR9YDElA1X50gccZwCgwlGy
0dRnhJQKOh3ZKiQzobMEhII=
=2IGN
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux