Following my post about installing Zend Studio 5.5.1 on Ubuntu 8.10, Gyorgy posted a comment about a problem with garbled characters. I had noticed the problem myself, but only briefly, I don’t tend to work with very large files. As yet, I hadn’t gotten a chance to look into it.
I spent some time on it today. Through this I found this thread discussing a similar problem with Netbeans. User cesc posted their fix (workaround?) which others reported to work. I figured the same option might work in Zend.
After a little digging, I have found that this approach works for me. I’ve tested with a 3k+ line file, and the bug is resolved. I’m running Zend Studio 5.5.1, Ubuntu 8.10, Sun’s JRE build 1.6.0_10-b33, compiz disabled. Zend appears to work with compiz enabled, but scrolling a 3k+ line file is very slow.
I edited file /opt/ZendStudio-5.5.1/bin/ZDE at line 1543 and added this:
# Hack in this option to solve garbled text problem as per:
# http://tinyurl.com/zendchrfix
options="$options -Dsun.java2d.pmoffscreen=false"
Here’s a patch for those who like that sort of thing. Hopefully this will help others with the same issue.

8 Comments
Worked for me! Thanks!
I did download the trial of Zend 6.0 but not even remotely close what I’m used to in 5.5, plus it costs way too much, but thats another topic…
It works for me too! Thanks a lot!
Thanks for the slow scroll fix, great find.
Worked for me !! thanx a lot 4 Ur Help
Regards
It works for me!
Thanks Callum Macdonald
I was so happy to find this post, thank you, thank you, thank you! For me, the file location was /home//Zend/ZendStudio-5.5.0/bin/ZDE
Thank you!
Works like a charm, thnx for the info. (Zend Studio 5.5.1 on Ubuntu 9.04)