From: "Marco Costalba" <mcostalba@gmail.com>
To: "Andy Parkins" <andyparkins@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] qgit: Default the log window to wider than the file list and set monospaced font
Date: Thu, 8 Feb 2007 20:29:42 +0100 [thread overview]
Message-ID: <e5bfff550702081129x6c94eaa4p40cf09e70c4e09cd@mail.gmail.com> (raw)
In-Reply-To: <200702081913.09952.andyparkins@gmail.com>
On 2/8/07, Andy Parkins <andyparkins@gmail.com> wrote:
> 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.
>
No problem, stable qgit has less layout problems, probably the only
patch I will back port is the fixed font in log viewer.
qgit4 seems to have more layout weirdeness also in patch and file
tabs. I didn't fixed it until because I'm still wondering if it is
enough fixing the layout using stretch factors or bite the bullet and
implement a geometry persistent saving with QSettings (Qt4 is quite
powerful in this regard), of course saved geometry should work both
with maximized and not-maximized window, so perhaps saving
panes/splitters factors is better then save absolute value at least
for 'internal' widget, and use absolute window geometry only for qgit
main window.
>
> > 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.
>
Please add dbg(text) line in git.cpp, just below
Qt::convertFromPlainText(text) call
text.append("\n\n " + colorMatch(c->shortLog(), shortLogRE) +
'\n' + colorMatch(c->longLog(), longLogRE));
}
text = Qt::convertFromPlainText(text);
dbg(text);
// highlight SHA's
//
// added to commit logs, we avoid to call git rev-parse for a
possible abbreviated
// sha if there isn't a leading trailing space or an open parenthesis and,
This will print the converted text as plain string, as you can see
there is 'something' instead of spaces but I cannot guess what.
> > 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.
>
Thanks
next prev parent reply other threads:[~2007-02-08 19:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-07 21:38 [PATCH] qgit: Default the log window to wider than the file list and set monospaced font Andy Parkins
2007-02-08 8:39 ` Marco Costalba
2007-02-08 9:46 ` Jakub Narebski
2007-02-08 10:20 ` Andy Parkins
2007-02-08 19:06 ` Marco Costalba
2007-02-08 19:12 ` Andy Parkins
2007-02-08 19:29 ` Marco Costalba [this message]
2007-02-08 19:51 ` Marco Costalba
2007-02-08 21:58 ` Andy Parkins
2007-02-08 23:31 ` [PATCH] qgit4: Add a header and set the font family appropriately to the log message Andy Parkins
2007-02-08 23:41 ` Shawn O. Pearce
2007-02-08 23:58 ` Junio C Hamano
2007-02-09 0:29 ` Linus Torvalds
2007-02-09 0:43 ` [PATCH] format-patch -n: make sorting easier by padding number Johannes Schindelin
2007-02-09 0:47 ` Johannes Schindelin
2007-02-09 9:19 ` [PATCH] qgit4: Add a header and set the font family appropriately to the log message Michael S. Tsirkin
2007-02-09 5:44 ` Marco Costalba
2007-02-08 23:31 ` [PATCH] qgit4: Removed the monospace font override from the log viewer box Andy Parkins
2007-02-08 23:31 ` [PATCH] qgit4: Set a 5:1 stretch ratio on the left and right halves of the patch viewer Andy Parkins
2007-02-08 23:04 ` [PATCH] qgit: Default the log window to wider than the file list and set monospaced font Andy Parkins
2007-02-08 10:22 ` Andy Parkins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e5bfff550702081129x6c94eaa4p40cf09e70c4e09cd@mail.gmail.com \
--to=mcostalba@gmail.com \
--cc=andyparkins@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).