Zend Studio garbled chars fix

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.

This entry was posted in Techy and tagged , , , , , , , . Bookmark the permalink or share the shortlink.

11 Responses to Zend Studio garbled chars fix

  1. Gyorgy says:

    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…

  2. Foxbat-A says:

    It works for me too! Thanks a lot!

  3. scripter says:

    Thanks for the slow scroll fix, great find.

  4. Worked for me !! thanx a lot 4 Ur Help

    Regards

  5. Nupur says:

    It works for me!
    Thanks Callum Macdonald

  6. Seth Brown says:

    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

  7. didko says:

    Thank you!

  8. Hein says:

    Works like a charm, thnx for the info. (Zend Studio 5.5.1 on Ubuntu 9.04)

  9. Hello…..this worked fine buy now i-m trying to install zend 5.5.1 in ubuntu 10.4 and does not work…..Any hint? (hopely solution)

    Thanks anyway

    • Callum says:

      I moved to NetBeans which I really like, I’m not using Zend any more, so I haven’t tried on Ubuntu 10.04. I like the fact that it’s open source unlike Zend. I’m almost completely open source now. I think the few remaining obstacles are java and skype, that might be all… :-)

      Please feel free to post the solution back here for other users if you do find it.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>