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

Closed
mattab opened this Issue Jul 31, 2010 · 6 comments

3 participants

@mattab
Piwik Open Source Analytics member

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

putting in 1.1 as the fix is probably not trivial.

@robocoder

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

@mattab
Piwik Open Source Analytics member

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 ,

@mattab
Piwik Open Source Analytics member

(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.
@mattab
Piwik Open Source Analytics member

see #1907

@mattab mattab added this to the Piwik 1.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment