English | Deutsch
Invalid characters on PNG
Mathias, 23.07.09
Matthew, 26.08.09
Matthew, 27.08.09
Mathias, 28.08.09
Matthew, 29.08.09
Neuen Kommentar schreiben
pici-Info Hintergrund und Kunstprojekt |
pici-Network Diskussion und Community Forum |
pici-Development Programmiere und entwickle den pici-Server Open Source Software |
Mathias, 23.07.09
Hi Matthew
Most probably you wont have installed Fonts for the Chinese language. Install as many fonts as possible. There is a tutorial in the developer section with a Font-Sheet to test:
http://dev.picidae.net/dev/wiki/LinuxFontInstallation
Hope this fixes you problem
Matthew, 26.08.09
Hi, Mathias:
By your recommend, I installed many fonts, and run "web2pici [Chinese Website] test" shell command , the test.png is correct. Even I run "/usr/bin/sudo -u root /var/www/html/pici-server/ADMIN/mkpicture_xvfb.sh "/var/www/html/pici-server/ADMIN/web2pici" "/var/www/html/pici-server/CACHE" "xyz-2" "http//......." "localhost:10.0" "/root" ", it also produce correct characters PNG file.
:)
BUT, I went back to pici-server, it produced incomplete characters PNG(i.e. some Chinese words lost)...
I don't know why?
Could you help me to solve this problem?
Thanks a lot,
Matthew, 27.08.09
In short, the result PNG which run shell command: "web2pici [someone Chinese Website] test" is totally correct and perfect.
But, When I submit the same URL to pici-server web server, it gets the PNG which lost some Chinese words. Black points instead of some words.
PHP GD, mcrypt have installed successfully, and sudo setup has appended to /etc/sudoers.
Could you help me or give me some hints to solve this problem?
Thanks a lot,
Mathias, 28.08.09
Is it possible that some fonts are not accessible to the user that runs web2pici when done from the web?
Matthew, 29.08.09
The problem is solved. :)
I appended $LANG with locale value to $env array in linuxpici.class.php. It works on web and result PNG is perfect. :)
Many Thanks for your efforts about pcic-server. d^^b
Matthew, 22.07.09