-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The badge is broken due to librsvg #91
Comments
After some research, the issue is caused by |
The workaround for now is to uninstall |
@changLiuUNSW same issue. do you find any solution with using librsvg ? |
@techinpark no solution. Can we raise the issue to that link? |
Could you tell me how to use
|
@julianch have you installed graphicsmagick? |
@PatrickDotStar Yes, I have |
I am experiencing the same error as @julianch . I have graphicsmagick 1.3.33 installed. Sadly this does not seem to be a workaround (or might need some more configuration I am not aware of). |
@julianch how to you run badge? |
I use badge inside the fastfile like this. |
@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. |
using librsvg solved but the badges look blury, any idea to make them less blury? |
I got it working by
Copying /usr/local/Cellar/pango & /usr/local/Cellar/librsvg from a working machine (older formula versions: librsvg 2.44.14_1, pango 1.42.4_2) to a non working machine.
This might be a work around if you have access to the older version on another machine, but this is not recommend since I don't know what I'm doing with homebrew and you will probably break something and definetly wont be able to update these packages out-of-the-box later on. |
Easiest solution if you're using homebrew: |
This only works if you had it previously installed (and did not get removed via some kind of cleanup), right? |
Yes. In case you've already cleaned up version 1.42.4_1, run the following command first: |
@wiedem Thanks for solution! Here is my solution. open the Terminal and type it commands. Solutionbrew install librsvg brew unlink pango brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7cf3b63be191cb2ce4cd86f4406915128ec97432/Formula/pango.rb brew switch pango 1.42.4_1
|
@techinpark The 'alpha' or 'beta' label no more generate. |
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: harfbuzz/harfbuzz#1892 |
Solution |
Is anyone experiencing issues with |
@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) |
@fruitcoder thanks! You pushed me in the right direction. I was using the script step but left the |
I can confirm that, although the reported issues are still open, pango 1.46.1 fixed the font tracking problem for us and we are using off-the-shelf dependencies configuration again for badge. If the correct behavior is reproduced for more people maybe this issue can be closed. |
I came across the issue today and i resolved it with:
Thanks @aitor for the effort here |
I can confirm that the stable version of pango is working and the issue could be closed |
I can also confirm this is no longer an issue with the latest version of librsvg on homebrew. I think this can be closed |
I can confirm this issue has been fixed on my side as well! |
brew install --build-from-source https://raw.githubusercontent.com/Homebrew/homebrew-core/a8ac7ea5/Formula/pango.rb |
@phisakel straight up |
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
The text was updated successfully, but these errors were encountered: