Re: Speed improvement of gnome-terminal
- From: James Henstridge <james jamesh id au>
- To: Nat Friedman <nat novell com>
- Cc: "desktop-devel-list gnome org" <desktop-devel-list gnome org>, Owen Taylor <otaylor redhat com>, Alexander Larsson <alexl redhat com>, Alan Cox <alan lxorguk ukuu org uk>
- Subject: Re: Speed improvement of gnome-terminal
- Date: Sat, 16 Oct 2004 10:50:45 +0800
On 16/10/04 01:12, Nat Friedman wrote:
On Fri, 2004-10-15 at 01:00 +0100, Alan Cox wrote:
gnome-terminal is also noticably faster with antialiasing off - as you'd
expect. That one seems to have a lot to do with poor render acceleration
in Xorg/XFree
Is there a way to turn antialiasing off only for gnome-terminal?
It looks like the newer versions of vte include a
vte_terminal_set_font_full() function that includes a third argument to
set whether antialiasing should be used. That argument has three
values: use the default setting, force enable and force disable.
It appears that gnome-terminal is using vte_terminal_set_font(), which
is a wrapper for vte_terminal_set_font_full() that passes
VTE_ANTI_ALIAS_USE_DEFAULT as the third argument.
So it would be possible to get gnome-terminal to allow disabling of
antialiasing. It is probably worth making it check a gconf key to see
if it should be disabled for the current profile, even if it is decided
that it would clutter the preferences dialog.
Of course, the ideal solution would be if gnome-terminal could figure
out whether antialiasing is slowing things down too much and turn off AA
in that case, but that sounds quite difficult to get right.
James.
--
Email: james jamesh id au
WWW: http://www.jamesh.id.au/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]