I use this method to include a font in the pdf:
@font-face {
font-family: 'Firefly';
font-style: normal;
font-weight: normal;
src: url(http://example.com/fonts/firefly.ttf) format('truetype');
}
as described here: https://github.com/dompdf/dompdf/wi...a-font-supporting-your-characters-into-dompdf
I add this to custom_css.php
When I activate "Debug PDF" the font is shown - but when I deactivate it, the font is not shown/included in the pdf ?? How come ??
@font-face {
font-family: 'Firefly';
font-style: normal;
font-weight: normal;
src: url(http://example.com/fonts/firefly.ttf) format('truetype');
}
as described here: https://github.com/dompdf/dompdf/wi...a-font-supporting-your-characters-into-dompdf
I add this to custom_css.php
When I activate "Debug PDF" the font is shown - but when I deactivate it, the font is not shown/included in the pdf ?? How come ??