Re: Label Text Selection

2024-08-16 Thread quizynox
Hello, Both TextFlow and Text support the HitInfo API, which makes getting selected characters very easy. Then you just need to wrap the selected characters in Path. The way it is implemented in GemsFX with overlay pane is quite complicated. Here is a rough sketch of the selectable TextFlow I

Re: RichTextArea: API Review

2024-08-14 Thread quizynox
Hello, As also mentioned in the proposal, there are already 3rd party RTAs - RichTextFX and Gluon's. Does the proposed RTA offer more than these (besides the ease of use by being in JavaFX)? Do the building blocks of these offer advantages that the proposed building blocks don't? An abstract

Linux memory leak?

2024-08-07 Thread quizynox
Hello, Through developing JavaFX apps on Linux (X11, KDE) I always see the pattern when process (native?) memory doesn't get released back to the OS. 1. when app starts, the Java process consumes a relatively small amount of RAM (I track this via top or DE system monitor), usually around 120M

Re: Font hinting on Linux

2024-08-04 Thread quizynox
Hello, Thanks for the answer. I've found a couple of very long but very informative threads that have given me some pointers. Poor quality font rendering https://mail.openjdk.org/pipermail/openjfx-dev/2013-August/009958.html The crisp fonts saga https://mail.openjdk.org/pipermail/openjfx-dev/202

Re: Detecting threading problems faster

2024-08-04 Thread quizynox
Hello, Wouldn't it be better to implement this check in assert to avoid any impact in production? пн, 5 авг. 2024 г. в 03:30, John Hendrikx : > Hi list, > > I know of quite some bugs and users that have been bitten by the > threading model used by JavaFX. Basically, anything directly or > indir

Font hinting on Linux

2024-08-02 Thread quizynox
Hello, Sorry for asking here, but I seem to have tried everything I could find on SO/Reddit/JBS etc. Could someone please share what font settings I should be using to get decent font hinting on Linux? Please see the screenshot. https://drive.google.com/file/d/1gXYXzbcq4cHmZpza20yQJHfs0pMbgi