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. Post a comment or leave a trackback: Trackback URL.

8 Comments

  1. Gyorgy
    Posted 29 Nov 2008 at 06:53 | Permalink

    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
    Posted 09 Dec 2008 at 15:44 | Permalink

    It works for me too! Thanks a lot!

  3. scripter
    Posted 16 Dec 2008 at 05:32 | Permalink

    Thanks for the slow scroll fix, great find.

  4. Posted 22 Jan 2009 at 15:09 | Permalink

    Worked for me !! thanx a lot 4 Ur Help

    Regards

  5. Nupur
    Posted 02 Mar 2009 at 01:27 | Permalink

    It works for me!
    Thanks Callum Macdonald

  6. Posted 02 Apr 2009 at 10:37 | Permalink

    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
    Posted 04 Jul 2009 at 02:26 | Permalink

    Thank you!

  8. Hein
    Posted 14 Jul 2009 at 03:17 | Permalink

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

Post a Comment

Your email is never published nor shared. 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>

  • Categories

  • History