Login  Register

icon font in pdf

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

icon font in pdf

nbanik
= Icons
:icons: font

icon:mortar-board[]

icon:home[5x] Home

icon:android[size=5x] Android


Icon appear in html. But it does not appear in pdf.

Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: icon font in pdf

abelsromero
Welcome :)

The example worked fine for me (MacOS) with the Ruby gems
- asciidoctor 2.0.10
- asciidoctor-pdf 1.5.3

What versions are you using and OS?
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: icon font in pdf

nbanik
This post was updated on Mar 17, 2020; 4:06am.
Hi,
  Thanks for reply.
 
  I use AsciidocFx v1.7.1. Here it does not work.
 
  But in vscode with plugin 2.7.13 works for me.

Thanks.

 
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: icon font in pdf

abelsromero
I reproduced it also wih AsciidocFX 1.7.1 on MacOS.

Also, adding `{asciidoctor-version}` to the document allows to see the version of the converter used, here it shows 2.0.8 which is not the latest. But could be somnething else.

Feel free to report it to the repo https://github.com/asciidocfx/AsciidocFX.