meld icon indicating copy to clipboard operation
meld copied to clipboard

Can't change font

Open coyotwill opened this issue 7 years ago • 15 comments

Meld build 3.16.0 r1 (osx-9) + macOS Sierra 10.12.4

I just installed Meld by moving the .App in my /Applications folder.

Now when I run it and try to change the editor font, it seems to always fail and fallback to a non-monospaced font. The result is hard to read. (see attached capture) meld

If I start Meld from a terminal (cd cd /Applications/Meld.app/Contents/MacOS/; Meld), I can see the following message in the console, when the editor is opened: (meld:7990): Pango-WARNING **: couldn't load font "Courier New Bold Condensed Not-Rotated 14", modified variant/weight/stretch as fallback, expect ugly output. This not quite right since I chose Courier New Regular from the Preferences Window.

This fails for any font.

Using the default font is working fine.

coyotwill avatar Apr 26 '17 20:04 coyotwill

I have exactly the same issue. For me this is a deal breaker, the font is just too small on a retina display. It's too bad, the description on the main web page mentioned support for "retina display", so I was hopeful. I'll have to chase for another diff & merge tool that is more friendly on the eyes unless we can get some quick resolution.

erictabellion avatar May 20 '17 06:05 erictabellion

3.19.0 should fix this issue.

yousseb avatar Nov 30 '17 06:11 yousseb

Hi @yousseb, thanks for the heads up, but unfortunately 3.19 did not fox this for me (on High Sierra, 10.13.2). When "Use system fixed font" is checked, the UI uses a monospaced font so tiny that it's almost impossible to read. And when I uncheck the box, the UI ignores my choice and still displays the same non-monospaced font.

coyotwill avatar Jan 15 '18 21:01 coyotwill

yes, I think it is fixed in 3.19 on high sierra

asimonov avatar Mar 31 '18 20:03 asimonov

yes, I think it is fixed in 3.19 on high sierra

Not fixed for me. Checking "Use the system fixed width font" does have an effect, but choosing any other font by selecting the "Editor font" does not work correctly.

kbd avatar Apr 16 '18 16:04 kbd

I have the exact same problem. Meld is unusable as a result.

charleseolson avatar Jun 08 '18 17:06 charleseolson

Interestingly, the small font problem only occurs on the built-in Retina display of my Macbook. On the external non-Retina display, it's fine. Changing the font still doesn't work, however.

charleseolson avatar Jun 08 '18 18:06 charleseolson

I too see this issue on High Sierra 10.13.6 MacPro Retina. Changing the font does not stick. I wanted to changed to a fixed with font and it never seems to work. Choosing the "system font" option is too small on the laptop screen. Using "system font" is fine when my Mac is connected to a large display.

I'm running Meld 3.19.0.

benstse avatar Aug 21 '18 19:08 benstse

@benstse

Changing the font does not stick.

Yes!

But, Meld macOS-ported by @yousseb use plist preference ~/Library/Preferences/org.gnome.meld.plist. So, you can set Meld's custom font with defaults CLI. Indeed, you can get your current settings of Meld preferences.

$ defaults read org.gnome.meld

Then, you can set to turn-off use system font:

$ defaults write org.gnome.meld "/org/gnome/meld/use-system-font" = 0

and set to chose custom font:

$ defaults write org.gnome.meld "/org/gnome/meld/custom-font" = "Ricty, 20"

If you would like to change other keys, please check /Applications/Meld.app//Contents/Resources/share/meld/org.gnome.meld.gschema.xml.

munepi avatar Oct 02 '18 16:10 munepi

Seems the syntax has change somewhat since the post above.

What works now: defaults write org.gnome.meld "/org/gnome/meld/use-system-font" 0 defaults write org.gnome.meld "/org/gnome/meld/custom-font" "Source Code Pro, 12"

austinbutler avatar Oct 29 '19 18:10 austinbutler

This is still an issue with 3.21.0.osx3 on Big Sur

bbottema avatar Dec 10 '21 09:12 bbottema

Problems still present in Monterey 12.0.1 using version 3.21.0.osx3

hbarahona avatar Jan 16 '22 20:01 hbarahona

Problems still present in Monterey 12.0.1 using version 3.21.0.osx3

here too

DarkTrick avatar Apr 27 '22 06:04 DarkTrick

Same issue on MacOS Ventura 13.1

et304383 avatar Jan 12 '23 16:01 et304383

I fixed it, got it to use JetBrains Mono 18.... then it crashed on me like half way into modifying a document. Time to shelve meld for me.

jconnolly avatar Feb 02 '23 20:02 jconnolly