Difference between revisions of "Rendering Issues"

From Freeplane - free mind mapping and knowledge management software
(Things to try)
 
(6 intermediate revisions by 2 users not shown)
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.
The first thing is to check whether you are using 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]-jdk (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)
 
* [http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=712 another posting]
 
* [http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=797 another posting]
 
  
 
= Things to try =
 
= Things to try =
* change the L&F to metal: Tools->Preferences->Appearance->Look and Feel (this has fixed the issues in most cases!)
+
* 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)
 
* from the Arch Linux wiki (see above)
 
** 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)
+
* 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 careful with old Java versions (6?) because ''sometimes'' this causes other, more severe, font rendering issues (but JDK<=6 is no longer supported in FP >=1.5)!
* 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].

Latest revision as of 15:25, 23 January 2020

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 careful with old Java versions (6?) because sometimes this causes other, more severe, font rendering issues (but JDK<=6 is no longer supported in FP >=1.5)!
  • change Tools->Preferences->Appearance->Antialias.

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