-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GD with JIS-mapped Japanese Font Support #4206
Comments
thanks for report! have you tested this code in Piwik (which file)? When you compile PHP with --enable-gd-jis-conv, do you also need the unifont.ttf as explained in this FAQ or is this font not required? |
No, this is a conceputual code. When you compile PHP with --enable-gd-jis-conv, do you also need the unifont.ttf as explained in this FAQ or is this font not required? I'll try and report here. |
I am sorry. In my misunderstanding, this was a phenomenon in the mobile app actually. |
There is this other line with this error: |
… verified on the mentioned Piwik instance
Description
If you compile PHP with option "--enable-gd-jis-conv" and "JIS-mapped Japanese font support" in GD is enabled, characters that are embedded in the graph image by the function imagettftext() are unintelligible sequence of characters.
Reproduce
URL to reproduce such bug:
Error:
Proposed solution
Add the process of converting to SJIS from UTF-8 as follows.
Keywords: graph chart
The text was updated successfully, but these errors were encountered: