Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

PDFReports: issues with arabic fonts (and other unicode characters) i18n #1537

Closed
mattab opened this Issue · 6 comments

3 participants

Matthieu Aubry Anthon Pang Anonymous Piwik user
Matthieu Aubry
Owner

See report in: http://forum.piwik.org/index.php?showtopic=13001

putting in 1.1 as the fix is probably not trivial.

Anthon Pang
Collaborator

The error message (after replacing helvetica by arialunicid0) is because we deleted those font files in r2749.

Anonymous Piwik user

firstly i download the tcpdf class and upload the fonts file "stsongstdlight.php" to /libs/tcpdf/fonts
secondly modify this file /plugins/PDFReports/PDFRenderer.php line 18 , set the $reportFont ='stsongstdlight';
and done, the font helvetica does not support chinese also arabic

Matthieu Aubry
Owner

suweihua, are you describing a fix to the chinese/arabic font issue, or confirming the bug?

Anonymous Piwik user

Replying to matt:

suweihua, are you describing a fix to the chinese/arabic font issue, or confirming the bug?

describing how i fix the bug to the font issue ,

Matthieu Aubry
Owner

(In [3477]) * Updating TCPDF to latest version

  • Fixes #1537 Adding specific fonts for specific languages. PDF Reports now generate in all languages (inc. arabic, chinese, japanese, russian, korean, ukrainian, etc.) except ahmaric and thai.
Matthieu Aubry
Owner

see #1907

Matthieu Aubry mattab added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.