Jay
(@bluejay77)
I’m probably missing something obvious, but when I click on the dropdown list, there are all kinds of variations of Noto Sans, nothing else.
What if I don’t want a Noto Sans variation, but a complete different Google font?
Hi there, @connectcase,
We do have Noto Sans and a few Noto Serif options at the moment, you’re correct.
Adding a different custom font requires basic CSS and HTML knowledge. You’ll need to edit the PDF template(s) to use the new font. Here’s an example code snippet to help you get started:
<style>
.item-description {
font-family: YourCustomFont, NotoSansGlobal, sans-serif;
font-style: normal;
font-weight: normal;
}
</style>
Replace “YourCustomFont” with the name of your custom font. This example code snippet changes the font from Noto Sans to YourCustomFont for invoice line item description elements – that should make the trick.
Let us know how you get on!
Hi there!
It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!
Hi Stef, sorry for the late reply!
Referring to a custom font from the stylesheet is not the problem, but to do so, you first have to “call” this custom font. How do I do that?
@import between the <style>-tags does not seem to work….
Hey @connectcase,
I suspect that’s out of scope for us. I have asked our developers about it, but it may take a little longer than usual to get a reply due to the holiday break.
If you have any other method of implementing a custom/own font, please let me know. I am certainly open for that.
Thanks!
Hey connectcase,
I consulted our developers, and I can confirm that this is way beyond our scope of support. For starters, you should also register the custom font on Dompdf, and the whole process is pretty long and convoluted.
We’re sorry we can’t help much!
Thanks Stef, for the quick reply….
Too bad that it’s not easy to adjust the templates to your own styling…..