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

How to add font-awesome icon ? #457

Open
Sivanime opened this Issue Mar 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@Sivanime
Copy link

Sivanime commented Mar 4, 2019

Hi,

I read the documentation on https://tcpdf.org/docs/fonts/.

I try this :

TCPDF_FONTS::addTTFfont(DOCUMENT_ROOT . '/librairies/font-awesome/fonts/fontawesome-webfont.ttf', 'TrueTypeUnicode', '', 96);

In HTML :

<style> // Content of font-awesome.css </style> TEST : <i class="fa fa-envelope fa-11x"></i>

It doesn't work. Any help please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.