View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06856Bug reportspublic2026-11-19 22:24
ReporterDenisChenu Assigned Togalads  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Summary06856: Choose pdf fonts like graph fonts for Statistics ( maybe export too)
Description

In statitics, pdf export, if you choose some specific laguage (ar is a good example), then statistics show square.

Steps To Reproduce

Take the lss file from http://bugs.limesurvey.org/view.php?id=6846
Import it, make some answer and try to view the pdf statitics in Arabic

Additional Information

After http://bugs.limesurvey.org/view.php?id=6845 : we can use $pdfdefaultfont=='auto' in config-default.php, and then apply same principle than http://bugs.limesurvey.org/view.php?id=6846 .

Think we can do the same job, excelt tcpdf included font can be used. Actually freemono can work for same language, but freesans are included too.

Id we set it to auto, then font are not included in PDF : pdf file are lighter.

It's a config change (from 1.90), then maybe for 2.1.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2012-11-12 14:42

developer   ~22087

PS: I have the patch, but not sure for 2.0/2.1

user22565

2012-11-14 03:01

  ~22132

Great blog, I will add this blog to my favorites.

c_schmitz

c_schmitz

2026-11-19 22:24

administrator   ~87750

LimeSurvey 7 picks the PDF font per language for the statistics PDF export: pdfdefaultfont defaults to 'auto' and alternatepdffontfile maps languages to suitable TCPDF fonts, the same way chart fonts are chosen. Closing as fixed.

Issue History

Date Modified Username Field Change
2012-11-12 14:42 DenisChenu New Issue
2012-11-12 14:42 DenisChenu Note Added: 22087
2012-11-14 03:01 user22565 Note Added: 22132
2021-12-30 11:45 galads Assigned To => galads
2021-12-30 11:45 galads Status new => acknowledged
2026-11-19 22:24 c_schmitz Note Added: 87750
2026-11-19 22:24 c_schmitz Bug heat 4 => 6
2026-11-19 22:24 c_schmitz Status acknowledged => closed
2026-11-19 22:24 c_schmitz Resolution open => fixed
2026-11-20 10:33 c_schmitz Category Statistics => (No Category)