localtoast | Scan localhost for various popular services | Runtime Evironment library
kandi X-RAY | localtoast Summary
kandi X-RAY | localtoast Summary
Scan localhost for various popular services.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of localtoast
localtoast Key Features
localtoast Examples and Code Snippets
Community Discussions
Trending Discussions on localtoast
QUESTION
I've started developing an application in JavaFX and I've run in an issue, I could find very little helpful information about: The spacing of between characters in Linux is very uneven. I'm not talking about the width of different characters but of the spaces between the characters.
It's visible in normal text, but the following example illustrates the effect better than normal text. Take a look at the first row. The space between the first two characters is smaller than between the second and third. This also happens between the sixth and seventh character and several others:
Swing does not have this problem and JavaFX doesn't have this problem in Windows or it is barely visible on that OS. Neither does it appear to be a major issue on Mac. For comparison, here is a sample output on a Mac Retina MacBook Pro, mid-2014, running OS X 10.12.6 and Java 9.0.4:
Does anyone know if this is a bug in JavaFX's font rendering engine? If so, is there a workaround?
I'm really starting to wonder if I should change the framework as in my opinion such bad font rendering is not acceptable.
There is another question regarding this issue but it hasn't been answered, yet: Why does JavaFX add extra spacing between letters when using the Text component and how do I fix it?
I have been able reproduce this issue on two different Linux machines running Manjaro and in a virtual machine running Debian with the following code:
...ANSWER
Answered 2018-Mar-07 at 21:24jewelsea advised me to put my question on the openjfx-dex mailing list. The guys over there could explain what's going on:
It is not a problem of JavaFX but a configuration issue on my Linux system. JavaFX needs subpixel rendering to position the glyphs correctly. I'm using Manjaro, which is a derivative of Archlinux. In Archlinux, subpixel rendering is disabled by default, which has to do with patents covered by Microsoft.
In my case the problem could be solved by installing the freetype2-ultimate5 package from AUR, although the in the wiki mentioned freetype2-cleartype package is probably the better choice. But the latter one currently doesn't compile on my system because of another issue.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install localtoast
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page