From: Andy Parkins Date: Thu, 08 Feb 2007 19:12:56 GMT Subject: Re: [PATCH] qgit: Default the log window to wider than the file list and set monospaced font Message-ID: <200702081913.09952.andyparkins@gmail.com> In-Reply-To: On Thursday 2007, February 08 19:06, Marco Costalba wrote: > I have applied and pushed all your patches. BTW you are referring to > qgit4 at Pasky http://repo.or.cz/ site, not the stable qgit in > kernel.org repo! My apologies - that was the first one I found when I typed qgit4 repository. > Hint: Regarding application 'fixed width' font please refer to > TYPE_WRITER_FONT variable defined in common.h in your new patch, > this is where user choosen font is stored. Excellent; I'll use that then. More patches coming soon. I hope the git list is the right place for these patches. > P.S: Yes, I have noted this Qt::convertFromPlainText() misbehaviour, > but I don't know if are the spaces that are not escaped correctly by > the function or the QTextEdit rendering engine that eats the > (escaped) spaces anyway. I definitely think this is a bug in Qt; QTextBrowser will show the spaces in HTML mode if
 is used, so I don't think it's a fault in 
QTextBrowser.

> P.P.S: Give a try to Bitstream Vera Sans Mono as fixed width font,
> it's muuuuuch better then Monospace IMHO ;-)

No need to persuade me; that's what I already use.  Monospace isn't a 
font on most systems - it's an alias to the default monospaced font - 
and for me it's aliased to Bitstream Mono :-)

It seems to be done by the following in /etc/fonts/

    
        Bitstream Vera Sans Mono
        DejaVu Sans Mono
        Courier
        Courier New
        Andale Mono
        Luxi Mono
        Cumberland AMT
        Nimbus Mono L
        NSimSun
        FreeMono
        monospace
    

In case that helps you.


Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com