Welcome to the LimeSurvey Community Forum

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

how to set default font for exporting a survey to pdf ?

  • ictfinance
  • ictfinance's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200978 by ictfinance
Hi,

I need to export a survey as a pdf. In the quexml pdf export window, I can set some styles before exporting. I need to use Helvetica as font. So I need to set css to apply "font-family: Helvetica, sans-serif". If I apply this css it to element table, I get the result I need, except for the subquestions : style is not applied. As I don't know the structure of the page that is sent to pdf printer, I applied this css to elements span, p, div, body. But it doesn't work. How can I see the structure of the page output ? Or doesn anybody know which element to apply the style to?
Since my change needs to be global, I added this value to my config.php file: 'pdfdefaultfont'=>'helvetica',
But it doesnt' work.

Any help is appreciated.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200993 by holch
Even if you would be able to configure this, I think you have to have Helvetica installed on your server. Remember that Helvetica is a font that requires a license and the server license is different to a desktop license ( www.fonts.com/font/linotype/helvetica/licenses ).

Not a answer to your question, but I think it is important to keep in mind. Not a specialist on that topic, but I would assume that a server license is a lot more expensive than a desktop license. ;-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: ictfinance
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose