Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

limeMpdf Plugin - Change Font

More
7 months 5 days ago #269204 by FredJackson
Hi,

Need a little guidance on where to change the font that is used to create the PDF and if I am in the right place!

I want to change the current Sans Serif font to Arial, I have looked in "style-bootstrap.twig" but not sure if this is the only place to change.

Please Log in to join the conversation.

More
7 months 5 days ago #269214 by DenisChenu
Do you ntry online style with
<span style="font-family:arial">arial</span>
<span style="font-family:serif">serif</span>

If it works you can force it in style-custom.css in your theme

Else :  mpdf.github.io/fonts-languages/default-font.html

 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
7 months 5 days ago #269216 by FredJackson
I have tried this and not matter what it ALWAYS defaults to sans-serif.

I have also ensure that there are copies of the Arial TTF in the relevant fonts directory within limempdf.

Has anyone else been successful in changing the font?

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose