badge: The badge is broken due to librsvg
I just installed badge in my new machine today and after run badge command the icon become broken, but it works fine on my old machine.
before

after

About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 39
- Comments: 31
@wiedem Thanks for solution!
Here is my solution. open the Terminal and type it commands.
Solution
I’ve reported this:
And the underlying issue may be connected to the fact that in pango 1.44, they have replaced cairo by harfbuzz for getting glyph extents: https://github.com/harfbuzz/harfbuzz/issues/1892
Solution
brew uninstall librsvgbrew uninstall pangoThe workaround for now is to uninstall
librsvgand use defaultgraphicsmagick@marcosgriselli Happened to me a couple of days ago. I used the built in brew install step of Bitrise and some caching which I disabled and replaced everything related to librsvg with a shell script:
I don’t know if it helps (I think it’s been posted before)
Yes.
In case you’ve already cleaned up version 1.42.4_1, run the following command first:
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7cf3b63be191cb2ce4cd86f4406915128ec97432/Formula/pango.rb@techinpark Thanks for your advice, when trying to run your command (with a removed whitespace between – and dark) inside the folder containing the .png, badge does not find any icons. Anyway, we will probably need to get a solution using the fastfile, since running manual commands is not something we want to do in our automation process, if possible. If we find a solution to this which works for us I will update you.
I came across the issue today and i resolved it with:
brew upgrade librsvgThanks @aitor for the effort here
@fruitcoder thanks! You pushed me in the right direction. I was using the script step but left the
set -eline which was probably reporting a false error and failed the step with no reason. Removed it and the installation is working again and the badge looks perfect.@techinpark The ‘alpha’ or ‘beta’ label no more generate.
@julianch have you installed graphicsmagick?
brew install graphicsmagick