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

Re: Currently checked out branch is not bold in gitk when using ssh X-forwarding

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
Mar 23, 2012, 00:02 UTC
Message-ID
<4F6BBD8D.1050905@gmail.com>
In-Reply-To
<4F6BB0EC.2080209@gmail.com>
On 3/22/2012 6:08 PM, Neal Kreitzinger wrote:
Show 17 quoted lines
> On 3/22/2012 4:10 PM, Jeremy Ramer wrote:
>> However, when I log in from my newer Ubuntu 11.11 laptop (ssh -X
>> buildserver) and start gitk the currently checked out branch is
>> not displayed in bold font. In fact, all the fonts are a little
>> ugly, though it is the lack of bold that is the hardest to work
>> with.
>>
> FWIW, my theory is that is has something to do with your fonts. Just
> a simple end user observation. I'm not a gitk programmer.
>
> Maybe you don't have your fonts set for what-you-want in gitk. Maybe
> you don't have the fonts installed/setup on your ubuntu box for
> what-you-want in gitk.
>
> I assume gitk uses the fonts that you tell it to, or that are
> available.
>
Hint: the bold version of a font is its own font.  You could have the 
non-bold font installed, but not the bold font.  Here's a link on how to
install fonts: http://karmak.org/archive/2004/06/ttfonts.html?lang=en
*If* that is the reason for your lack of bold-ness in gitk.
Also, I see from my install log that it does do something with fonts:
  DEST /usr/share/git-gui/lib
     INSTALL 644 tclIndex
     INSTALL 644 about.tcl
     INSTALL 644 blame.tcl
     INSTALL 644 branch_checkout.tcl
     INSTALL 644 branch_create.tcl
     INSTALL 644 branch_delete.tcl
     INSTALL 644 branch_rename.tcl
     INSTALL 644 branch.tcl
     INSTALL 644 browser.tcl
     INSTALL 644 checkout_op.tcl
     INSTALL 644 choose_font.tcl
I'm not sure how closely gitk and git-gui are tied together.
Hope this helps some more.

v/r, neal

Previous: Neal KreitzingerNext: Jeremy Ramer
Message 3 of 4 in “Currently checked out branch is not bold in gitk when using ssh X-forwarding”
  1. Jeremy RamerMar 22, 2012
  2. Neal KreitzingerMar 22, 2012
  3. Neal KreitzingerMar 23, 2012
  4. Jeremy RamerMar 29, 2012

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.