[mgt-devel] NEWBIE QUESTIONS: which autoconf to use?
Mohammed Sameer
msameer at foolab.org
Wed Feb 20 10:05:40 UTC 2008
On Wed, Feb 20, 2008 at 11:19:04AM +1100, Craig Sanders wrote:
> On Tue, Feb 19, 2008 at 10:00:56PM +0100, Emilian Nowak wrote:
> > On 19-02-2008, at 21:30:06 Mohammed Sameer wrote:
> >
> > > How can AA fonts be disabled ? Any idea ?
> >
> > You can do this in libvte
> >
> > There is a function like
> > void vte_terminal_set_font_full(VteTerminal *terminal,
> > const PangoFontDescription *font_desc,
> > VteTerminalAntiAlias antialias);
>
> ah, that's good.
>
> so, if that results in reasonable speed, the only thing missing is a
> function to check for new output in a terminal tab (to change the colour
> of the tab title).
>
> if vte is good enough then using it avoids the hassle of maintaining
> zvt just for MGT2. it's probably also got better unicode support that
> Mohammed probably needs if he wants to support arabic script (although
> if that impacts speed, it should probably be a compile-time option and a
> separate binary or even a separate package).
No. VTE doesn't also work properly with Arabic.
Anyway, don't bother about Arabic. A very few people are using that so it's not fair for
to affect the majority.
> > > How can you really test something like "the widget speed" ?
> >
> > Create window put one terminal-widget on it and do something like Craig
> > Sanders proposed: List all files from some big directory and measure time.
>
> listing /usr/lib was just a quick way of generating a lot of output
> without having to think about it or do any programming :-) i did say it
> was a lame test.
>
> better to do something like pre-generate a dozen or so random lines and
> print them repeatedly in a loop. otherwise you're also testing the speed
> of the disk & disk cache, and the getent & stat() lookups (for 'ls -l').
That's why I repeated the test until I started to get almost equal times.
I did the test but it didn't really make a big difference.
Attached a patch with the changes I made. Do you mind testing it again ?
generating a dozen of lines is easy (/dev/urandom ?).
--
GPG-Key: 0xA3FD0DF7 - 9F73 032E EAC9 F7AD 951F 280E CB66 8E29 A3FD 0DF7
Debian User and Developer.
Homepage: www.foolab.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tabterm_no_aa.patch
Type: text/x-diff
Size: 865 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/multignometerm-devel/attachments/20080220/085dc2f2/attachment-0001.patch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/multignometerm-devel/attachments/20080220/085dc2f2/attachment-0001.pgp
More information about the multignometerm-devel
mailing list