Re: The crisp fonts saga

2023-12-14 Thread John Neffenger
On 12/13/23 10:15 PM, John Neffenger wrote: I find it helps to get the bigger picture. Below are the various camps as I've come to understand them over the years. An update to my previous categorization ... In 2018, Java Swing moved from the full-hinting group to the slight-hinting group, on

Re: The crisp fonts saga

2023-12-14 Thread Pedro Duque Vieira
No you're not alone on this... I've been complaining of poor text rendering quality on JavaFX for years now. Though in my case, I was complaining about javafx font rendering on Windows. Some of the times I use to call this, that seems to improve font rendering somewhat on some systems: System.setP

Re: The crisp fonts saga

2023-12-14 Thread John Neffenger
On 12/14/23 4:39 AM, Mark Raynsford wrote: The key point is "keep text aligned to the pixel grid". The thing is: This isn't affected by hinting or the lack of it whatsoever, at least with the way text is implemented in Prism and Freetype, as far as I can tell. It seems to have influenced the or

Re: [External] : Re: ToggleButton behavior

2023-12-14 Thread Andy Goryachev
Oh yes, this is another of those boxes that belong to Pandora: https://bugs.openjdk.org/issues/?jql=text%20~%20%22focus%20traversal%22%20AND%20project%20%3D%20JDK%20AND%20component%20%3D%20javafx%20AND%20resolution%20%3D%20Unresolved%20ORDER%20BY%20updated%20%20DESC and https://bugs.openjdk.org/

Re: ToggleButton behavior

2023-12-14 Thread Martin Fox
Hi Andy, The Mozilla doc you pointed to basically re-iterates the W3C guidelines. When a ToggleButton is in a group it should behave like other grouped controls where Tab gets you into and out of the group and the arrow keys navigate within the group. I would still argue that an ungrouped Toggl

Re: RFR: 8320965: Scrolling on a touch enabled display fails on Wayland [v2]

2023-12-14 Thread Jose Pereda
> This PR replaces the deprecated `gdk_pointer_grab` with `gdk_seat_grab`, and > `gdk_pointer_ungrab ` with `gdk_seat_ungrab`, using runtime checks and > wrapped functions for GTK 3.20+ (so systems without it still run with GTK > 3.8+), and fixes the dragging issue on Wayland. Jose Pereda has u

Re: RFR: 8320965: Scrolling on a touch enabled display fails on Wayland

2023-12-14 Thread Jose Pereda
On Thu, 14 Dec 2023 16:02:48 GMT, Kevin Rushforth wrote: >> This PR replaces the deprecated `gdk_pointer_grab` with `gdk_seat_grab`, and >> `gdk_pointer_ungrab ` with `gdk_seat_ungrab`, using runtime checks and >> wrapped functions for GTK 3.20+ (so systems without it still run with GTK >> 3.8

Re: The crisp fonts saga

2023-12-14 Thread John Neffenger
On 12/12/23 6:10 AM, Mark Raynsford wrote: I've never been particularly satisfied with the font rendering in JavaFX. In particular, on Linux, the text always appears very soft and blurry compared to non-JavaFX applications on the same system. Here's the best source I've found for the history of

Re: RFR: 8320965: Scrolling on a touch enabled display fails on Wayland

2023-12-14 Thread Kevin Rushforth
On Tue, 12 Dec 2023 11:19:23 GMT, Jose Pereda wrote: > This PR replaces the deprecated `gdk_pointer_grab` with `gdk_seat_grab`, and > `gdk_pointer_ungrab ` with `gdk_seat_ungrab`, using runtime checks and > wrapped functions for GTK 3.20+ (so systems without it still run with GTK > 3.8+), and

Re: The crisp fonts saga

2023-12-14 Thread Mark Raynsford
On Wed, 2023-12-13 at 22:15 -0800, John Neffenger wrote: > > There are some text animations in JavaFX that you won't see in most > user > interfaces: think text rotations, not stock tickers. It's difficult > to > keep text aligned to the pixel grid when the grid is rotating. I don't buy this arg

Re: The crisp fonts saga

2023-12-14 Thread Mark Raynsford
On Thu, 2023-12-14 at 10:23 +0100, John Hendrikx wrote: > > Animated text is extremely rare in productivity applications, so I > think > this really should be an option on a Node by Node basis (there is > already the cache/cacheHint property which are animation related). A > big > wall of text

Re: The crisp fonts saga

2023-12-14 Thread John Hendrikx
On 14/12/2023 07:15, John Neffenger wrote: On 12/13/23 3:29 AM, Mark Raynsford wrote: Can you give an example of UIs scaling unevenly, or animations looking jerky? All other non-JavaFX UI applications on my system evidently use hinting, and I don't see anything recognizable there. There are