-
Notifications
You must be signed in to change notification settings - Fork 68
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
Support adding custom fonts to DW2PDF including the extra configuration needed for mpdf library #445
Comments
Extra fonts should be also configured in the mpdf library, this should be done in the DokuPDF.class.php or action.php. Proposals welcome as pull request. |
Similar as #402 |
Example for the fontawesome font: https://stackoverflow.com/a/58702825/1043588 I'm wondering what is practical manner to implement. Add a default font folder for extra fonts to the dw2pdf folder, and let in the config add the names of the fonts to configure? Probably just looping over the names is not nuanced enough. |
@Klap-in thanks for the tip, I'we tried this but got an arror saying that font is not supported... |
I have no time to help you debugging, sorry. Further no suggestions yet. |
How Can I change the font family to use the CI one and not the created "DejaVu Sans Condensed"
I tried it with a template in the tpl folder and I wrote in the Fontface in the CSS file. But it does not change anything.
The text was updated successfully, but these errors were encountered: