Closed marco910 closed 2 years ago
I solved my issue by doing the following:
/usr/share/fonts/
on your Ubuntu machine.fc-list
in your command line on the same machine to list all fonts that are installed on the machine.<style></style>
in the <head>
of your HTML template and apply the font using font-family: "%name_of_your_font%";
and font-style: %font_style%
.
Hi community,
I'm trying to embed custom fonts in a pdf. In basic it is working that the fonts are being used in the PDF but the text I'm applying a custom font to get's converted to vectors. How can I prevent this?
When I generate the PDF and open it in Acrobat I can see under "Fonts" only the "DejaVuSans" font. How can I remove this default font and embed my custom font?
@marcbachmann I saw you businesscard example where you're using a custom font that is also embedded into the PDF. How did you get this working?