Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change diff font in GitKraken

I program APL and have been considering switching from SourceTree to GitKraken. However, I have been unable to change the diff view font. As the font is pretty essential to APL, this is holding my move back.

Is there a way to change font face (and size) in GitKraken?

Both official an hacky answers are welcome.

SourceTree, using the APL385 Unicode font, size 16:
SourceTree screenshot

GitKraken, using the default font:
GitKraken screenshot

For comparison, here is Stack Overflow's rendering:

c←⊃chunk
(c1 c2)←{⍵{(1,1↓<\⍵)⊂⍺}'::'⍷⍵}c
c2←#.Strings.deb 2↓c2
c2←c2{0∊⍴⍺:⍵ ⋄ 0∊⍴⍵:⊂⍺ ⋄ (⊂⍺),⍵}1↓chunk
c2←¯2↓∊c2,¨⊂⎕UCS 13 10
r⍪←c1 c2
like image 532
Adám Avatar asked Oct 26 '16 09:10

Adám


2 Answers

This tip is not exactly about font but there's a zoom icon at the bottom right which allows to zoom in which I didn't notice initially. HTH.

like image 152
Andrei Pokrovsky Avatar answered Oct 15 '22 09:10

Andrei Pokrovsky


While Axosoft usually make a big deal about enhancements to GitKraken, this essential one went unnoticed. GitKraken 4.1.1 allows you to choose font and size freely, and renders them very nicely too:

GitKraken 4.1.1 diff

It isn't even so easy to find the options. Go to Preferences > Editor Preferences:

Preferences > Editor Preferences

like image 43
Adám Avatar answered Oct 15 '22 09:10

Adám