Re: Small Issues with Font Awesome Inline Icons
Posted by
mojavelinux on
Oct 10, 2019; 10:11am
URL: https://discuss.asciidoctor.org/Small-Issues-with-Font-Awesome-Inline-Icons-SOLVED-tp7211p7212.html
Keep in mind the HTML converter uses Font Awesome 4, not Font Awesome 5.
Asciidoctor PDF uses Font Awesome 5 with shims for Font Awesome 4.
The switch to Font Awesome 5 in the HTML converter is very breaking, so we cannot do it before Asciidoctor 3.
-Dan
On Thu, Oct 10, 2019 at 3:10 AM TheMagician [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
I've noticed some strange behavior when using Font Awesome inline icons.
1) Some icons get mirrored horizontally.
The icon "ambulance" for example is shown driving to the right on Font Awesome. However, as an inline icon in the HTML output it drives to the left. (by the way, in ASCIIDoctor-PDF's output the ambulance drives to the right, as expected).
2) Some icons don't show
I could not yet find a rule to this behavior but some of the icons just don't show on the HTML page (even though the code is embedded correctly in the HTML source).
Working: bullseye, bullhorn, comments
Not Working: mail-bulk, comments-dollar, lightbulb
It seems to me like all the icons that have a hyphen in their name don't show. However, the lightbulb is written without a hyphen and still doesn't show so I'm not sure what the pattern is here.
--