Bad character spacing (kerning?) in Linux

2018-03-07 Thread openjfx
Hello all, I've recently started a project in JavaFX and had some trouble with inconsistent widths of spaces between characters in Linux. I haven't been able to find much useful information and therefore posted a stackoverflow question with a screenshot illustrating the problem and some

Re: Bad character spacing (kerning?) in Linux

2018-03-07 Thread Phil Race
The Linux image shows greyscale text. The Mac image shows subpixel LCD text. The latter can be positioned with sub-pixel (1/3 pixel) resolution. Why does this make a difference ? JavaFX like CoreText + DirectWrite, and unlike GDI + Swing uses unhinted glyphs with floating point accumulation of

Re: Bad character spacing (kerning?) in Linux

2018-03-07 Thread Arne Augenstein
Thanks Phil, I think you've put me on the right track. I'm using Manjaro, which is a very close derivative of Archlinux. Looking at https://wiki.archlinux.org/index.php/font_configuration#Subpixel_rendering it seems this really could be the underlying problem. Subpixel rendering is disabled by

Re: Bad character spacing (kerning?) in Linux

2018-03-07 Thread Arne Augenstein
Ok, it went faster than expected. I can confirm that missing subpixel rendering was the issue. Archlinux has some alternative freetype packages which provide Cleartype rendering. I found one that works on my machine and now the text is rendered correctly. Thanks a lot. I've searched for a so

[11] Review request for 8199008: [macOS, Linux] Instantiating MediaPlayer causes CPU usage to be over 100%

2018-03-07 Thread Alexander Matveev
Hi Kevin, Please review the following: https://bugs.openjdk.java.net/browse/JDK-8199008 Fixed infinite loop on OS X and Linux in massaging loop which caused 100% CPU utilization. Thanks, Alexander