Difference between revisions of "Rendering Issues"

From Freeplane - free mind mapping and knowledge management software
(Remove broken links to old Forum thread)
Line 1: Line 1:
 
Linux users (Windows users too?) sometimes experience rendering issues in the mind map view and/or font rendering.
 
Linux users (Windows users too?) sometimes experience rendering issues in the mind map view and/or font rendering.
First you need to check the Java version you are using: it should be openjdk-7 or openjdk-8 (openjdk6 should no longer be used). That means you have
+
First you need to '''check the Java JRE version you are using: it should be 7 or 8''' (openjdk6 should no longer be used). That means you have
to install openjdk-[78] (or similar) package ''and'' activate it (Debian/Ubuntu: ''update-java-alternatives'').
+
to install a recent openjdk (or similar) package ''and'' activate it (Debian/Ubuntu: ''update-java-alternatives'').
 
If that doesn't help, below are some hints that have helped a bunch of people.
 
If that doesn't help, below are some hints that have helped a bunch of people.
  
 
The [https://wiki.archlinux.org/index.php/Java#Tips_and_tricks Arch Linux wiki] has some important hints regarding java (swing) rendering.
 
The [https://wiki.archlinux.org/index.php/Java#Tips_and_tricks Arch Linux wiki] has some important hints regarding java (swing) rendering.
 
= Relevant discussions =
 
* [http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=681&p=3370 artifacts when scrolling horizontally] (but the workaround -Dsun.java2d.xrender=True ''sometimes'' causes other, more severe, font rendering issues)
 
  
 
= Things to try =
 
= Things to try =
Line 14: Line 11:
 
** run with -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
 
** run with -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
 
** install "ttf-ms-fonts" package
 
** install "ttf-ms-fonts" package
* -Dsun.java2d.xrender=True (see thread above): you only need to un-comment a line in freeplane.sh ('''this is enabled by default in openjdk-8!''')
+
* run with -Dsun.java2d.xrender=True: you only need to un-comment a line in freeplane.sh ('''this is enabled by default in openjdk-8!'''). Be carrefull for old Java versions (6?) because ''sometimes'' this causes other, more severe, font rendering issues!
* change Tools->Preferences->Appearance->Antialias
+
* change Tools->Preferences->Appearance->Antialias.
  
 
If you need help, post in the [http://sourceforge.net/apps/phpbb/freeplane/viewforum.php?f=1 open discussion forum].
 
If you need help, post in the [http://sourceforge.net/apps/phpbb/freeplane/viewforum.php?f=1 open discussion forum].

Revision as of 11:11, 28 March 2016

Linux users (Windows users too?) sometimes experience rendering issues in the mind map view and/or font rendering. First you need to check the Java JRE version you are using: it should be 7 or 8 (openjdk6 should no longer be used). That means you have to install a recent openjdk (or similar) package and activate it (Debian/Ubuntu: update-java-alternatives). If that doesn't help, below are some hints that have helped a bunch of people.

The Arch Linux wiki has some important hints regarding java (swing) rendering.

Things to try

  • change the Look&Fell to metal: Tools->Preferences->Appearance->Look and Feel (this has fixed the issues in most cases!)
  • from the Arch Linux wiki (see above)
    • run with -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
    • install "ttf-ms-fonts" package
  • run with -Dsun.java2d.xrender=True: you only need to un-comment a line in freeplane.sh (this is enabled by default in openjdk-8!). Be carrefull for old Java versions (6?) because sometimes this causes other, more severe, font rendering issues!
  • change Tools->Preferences->Appearance->Antialias.

If you need help, post in the open discussion forum.