Difference between revisions of "Rendering Issues"

From Freeplane - free mind mapping and knowledge management software
(Things to try)
(Things to try)
 
Line 11: 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
* 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 (but JDK<=6 is no longer supported in FP >=1.5)!
+
* 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.