Skip to content
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

Font awesome filled and empty heart has the same unicode, unable to use #14458

Closed
2 of 7 tasks
tanhaislam opened this issue Jan 3, 2019 · 1 comment
Closed
2 of 7 tasks
Labels

Comments

@tanhaislam
Copy link

Describe the problem

https://fontawesome.com/icons/heart?style=solid
&
https://fontawesome.com/icons/heart?style=regular
has the same unicode -> f004

What did you expect?

I was expecting different unicode as I wanted to implement it on my system for a liked(heart filled) and unliked(heart empty) review. I don't want to use the HTML code

What version and implementation are you using?

Version: 5.6.3
Browser and version: Chrome

  • SVG with JS
  • Web Fonts with CSS
  • SVG Sprites
  • On the Desktop

Reproducible test case

Bug report checklist

  • I have filled out as much of the above information as I can
  • I have included a test case because my odds go way up that the team can fix this when I do
  • I have searched for existing issues and to the best of my knowledge this is not a duplicate
@tagliala
Copy link
Member

tagliala commented Jan 3, 2019

Hi!

Thanks for being part of the Font Awesome Community.

This is how Font Awesome 5 is designed to work.

Please switch the font-weight from 400 to 900 instead of content if you need this feature

Demo: https://jsfiddle.net/tagliala/1a9boh0L/

Hope it helps

Closing here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants