question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some FontAwesome icons do not match

See original GitHub issue

Here is an minimal working example showing three problematic icons:

import sys
import qtawesome as qta
from PyQt5.QtWidgets import (QApplication, QWidget, QGridLayout,
                             QToolButton, QLabel)

app = QApplication(sys.argv)

window = QWidget()
layout = QGridLayout(window)
names = ['fa5s.grip-horizontal', 'fa5s.file-export', 'fa5s.file-import']
for i, name in enumerate(names):
    qicon = qta.icon(name, scale_factor=1.3)
    btn = QToolButton()
    btn.setIcon(qicon)
    btn.setIconSize(QSize(32, 32))
    layout.addWidget(btn, i, 0)
    layout.addWidget(QLabel(name), i, 1)
window.show()

sys.exit(app.exec_())

image

https://fontawesome.com/icons/grip-horizontal?style=solid https://fontawesome.com/icons/file-export?style=solid https://fontawesome.com/icons/file-import?style=solid

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:44 (42 by maintainers)

github_iconTop GitHub Comments

1reaction
CAM-Gerlachcommented, Jan 24, 2019

@darkvertex Looks like it works for me too; I commented over on the PR.

0reactions
darkvertexcommented, Jan 29, 2019

Hi there @flutefreak7 - happy to hear your government is alive again.

Should font renaming be part of a build / packaging / deploy script?

It’s not part of deployment exactly, but as part of the “update_fa5” command used for updating the FontAwesome version within the package, there is a font renaming step since PR #110 so all future updates will have unique font names.

Should we look at fixing this “upstream” by talking to the Font Awesome people?

Maybe? Here’s their repo: 👉 https://github.com/FortAwesome/Font-Awesome/issues

Edit: Or add a test that fails if the names are the same.

Actually it’s already done since PR #108.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not Equal Icon | Font Awesome
Not Equal icon in the Solid style. Make a bold statement in small sizes.. Available now in Font Awesome 6.
Read more >
FontAwesome SVGs do not match their Icon Font, nor the ...
I am a FontAwesome Pro user. I've been using the font in my prototype, but I downloaded the folder of assets from the...
Read more >
Font Awesome Icons Not Showing: Ultimate Reference Guide
Here are a few ways you can fix these font awesome icons not showing up: Mind The Class Names ... You generally can't...
Read more >
Why are my Font Awesome icons failing to show? - SiteFarm
When that happens, you may first discover that your icon isn't displaying at all or that the icon name in the Font Awesome...
Read more >
Troubleshooting Font Awesome icons
Font Awesome 5 (FA5) is not compatible with Font Awesome 4 (FA4), ... Beaver Builder Theme settings don't solve the problem, there are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found