bitcoin: OSX: Bad kerning in disk image background

The background image generated by make deploy for our OSX disk image has bad kerning at least for the OSX version I tested.

Screen Shot 2019-09-09 at 12 57 33 PM

Software specs:

ProductName:    Mac OS X
ProductVersion: 10.14.6
BuildVersion:   18G87

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 15 (15 by maintainers)

Most upvoted comments

Small update: seems to be a pango issue https://gitlab.gnome.org/GNOME/pango/issues/422

I’ve looked into this issue some more and provided upstream with a minimal reproducer: https://gitlab.gnome.org/GNOME/librsvg/issues/520

It appears to be an issue that only occurs on OSX.

Looks like its related to the width="1000pt" height="640pt" part in the <svg> tag (changing from pt to px makes the kerning looks good, but unsure about the output image size).

@jonasschnelli I’ve been playing around with this issue and as you mentioned changing from pt to px seems to solve the kerning issue.

However when using px instead of pt, the png outputs from the rsvg-convert seem to create the exact same file (regardless of the change in dpi) and therefor having the two different image output files (background.tiff.png and background.tiff@2x.png) would be pointless.

A potential solution would be to have two different background.svg files for each image resolution, however a solution that keeps it confined to one background.svg would seem more appropriate.

I’m willing to take on fixing this issue if nobody else already has, not sure of the best solution yet and your thoughts on this would be appreciated.

Also I’m fairly new around here so apologies if i haven’t followed correct procedure or have put this in the wrong place (working my way through the contributing guide)