git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] qgit: Default the log window to wider than the file list and set monospaced font

From
APAndy Parkins <andyparkins@gmail.com>
Date
Feb 8, 2007, 19:12 UTC
Message-ID
<200702081913.09952.andyparkins@gmail.com>
In-Reply-To
<e5bfff550702081106u1e02f371g3a91c7462ff5e442@mail.gmail.com>
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 <pre> 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/
    <alias>
        <family>Bitstream Vera Sans Mono</family>
        <family>DejaVu Sans Mono</family>
        <family>Courier</family>
        <family>Courier New</family>
        <family>Andale Mono</family>
        <family>Luxi Mono</family>
        <family>Cumberland AMT</family>
        <family>Nimbus Mono L</family>
        <family>NSimSun</family>
        <family>FreeMono</family>
        <default><family>monospace</family></default>
    </alias>
In case that helps you.
Andy
-- 
Dr Andrew Parkins, M Eng (Hons), AMIEE
andyparkins@gmail.com
Previous: Marco CostalbaNext: Marco Costalba
Message 6 of 21 in “qgit: Default the log window to wider than the file list and set monospaced font”
  1. qgit: Default the log window to wider than the file list and set monospaced fontAndy Parkins, Feb 7, 2007
  2. Marco CostalbaFeb 8, 2007
  3. Jakub NarebskiFeb 8, 2007
  4. Andy ParkinsFeb 8, 2007
  5. Marco CostalbaFeb 8, 2007
  6. Andy ParkinsFeb 8, 2007
  7. Marco CostalbaFeb 8, 2007
  8. Marco CostalbaFeb 8, 2007
  9. Andy ParkinsFeb 8, 2007
  10. qgit4: Add a header and set the font family appropriately to the log messageAndy Parkins, Feb 8, 2007
  11. Shawn O. PearceFeb 8, 2007
  12. Junio C HamanoFeb 8, 2007
  13. Linus TorvaldsFeb 9, 2007
  14. format-patch -n: make sorting easier by padding numberJohannes Schindelin, Feb 9, 2007
  15. Johannes SchindelinFeb 9, 2007
  16. Michael S. TsirkinFeb 9, 2007
  17. Marco CostalbaFeb 9, 2007
  18. qgit4: Removed the monospace font override from the log viewer boxAndy Parkins, Feb 8, 2007
  19. qgit4: Set a 5:1 stretch ratio on the left and right halves of the patch viewerAndy Parkins, Feb 8, 2007
  20. Andy ParkinsFeb 8, 2007
  21. Andy ParkinsFeb 8, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.