@anonymous-matomo-user opened this Issue on October 12th 2012

Piwik version 1.8.4.
Only the graphs has all Japanese displayed as mojibake in a PDF report.
Keywords: PDF report

@anonymous-matomo-user commented on October 12th 2012
@mattab commented on October 19th 2012 Member

Solution suggested:

Please open a file "/piwik/plugins/ImageGraph/API.php" and edit line 86 below.

const UNICODE_FONT = 'unifont.ttf';

Please rewrite the following.

const UNICODE_FONT = 'VL-Gothic-Regular.ttf';

I support this font does not work in all languages, so we should only use it for Japanese.

let's change it from constant to a member.

@anonymous-matomo-user commented on October 20th 2012

Yes, this suggestion is provisional.
It should be set according to the user's language.

@mattab commented on January 10th 2014 Member

I think this bug was fixed in 2.0 - can you please confirm it is now working OK in japanese?

This Issue was closed on January 10th 2014
Powered by GitHub Issue Mirror