Difference between revisions of "Rendering Issues"

From Freeplane - free mind mapping and knowledge management software
(Relevant discussions)
(Things to try)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Rendering Issues (mainly Linux?) =
 
 
 
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, 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-7-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 ==
+
= Things to try =
* [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'' cause other, more severe, font rendering issues)
+
* change the Look&Fell to metal: Tools->Preferences->Appearance->Look and Feel (this has fixed the issues in most cases!)
* [http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=712 another posting]
+
* from the Arch Linux wiki (see above)
* [http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=797 http://sourceforge.net/apps/phpbb/freeplane/viewtopic.php?f=1&t=797]
+
** 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.
  
== Things to try ==
+
If you need help, post in the [http://sourceforge.net/apps/phpbb/freeplane/viewforum.php?f=1 open discussion forum].
* from Arch Linux wiki:
 
** run with -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true (TODO: is aatext=true equivalent to the AA prefs option?)
 
** install "ttf-ms-fonts" package
 
* -Dsun.java2d.xrender=True (see thread above)
 
* change the L&F to metal (probably has no effect)
 

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.