Re: KeyCode in the javafx.scene.robot.Robot interface

2024-05-16 Thread Mark Raynsford
was checking to see if a text field correctly rejected input that didn't appear to be an email address. Typing '@' into the field was difficult to make reliable. :) -- Mark Raynsford | https://www.io7m.com

KeyCode in the javafx.scene.robot.Robot interface

2024-05-12 Thread Mark Raynsford
ing keyboard map? I feel like some underlying component must know the information I'm trying to infer, but it doesn't seem to be exposed anywhere that I've been able to find. -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-16 Thread Mark Raynsford
uot;before" and "after" screenshots: 800 > percent minimum, 400 percent for a retina display, with "smoothing" > disabled for the image zoom. If at all possible, do what you can to > take > the issue out of the realm of opinions, where it's often di

Re: The crisp fonts saga

2023-12-16 Thread Mark Raynsford
On Fri, 2023-12-15 at 17:55 -0800, John Neffenger wrote: > On 12/15/23 2:21 PM, Mark Raynsford wrote: > >    2. Add an -fx-font-hinting CSS attribute that, by default, will > > be > >   set to false. Setting this value to true will enable hinting > >   using

Re: The crisp fonts saga

2023-12-15 Thread Mark Raynsford
se those either, because JavaFX says so. > LCD text also doesn't work well with rotations because the 3X  > resolution you get is only in one orientation. On that we agree. I have no interest in LCD text on any platform. Guess I'll get working on the fork. -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-15 Thread Mark Raynsford
between blurry text, or blurry text with awful colour fringing. Not great! -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-15 Thread Mark Raynsford
On Thu, 2023-12-14 at 15:02 -0800, John Neffenger wrote: > 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 > > lea

Re: The crisp fonts saga

2023-12-14 Thread Mark Raynsford
pixel" shaders, and are trivial to implement: https://jorenjoestar.github.io/post/pixel_art_filtering/ They're usually discussed in the context of pixel art, but they work very well with text rendering too for the same reasons. -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-14 Thread Mark Raynsford
's essentially my only complaint with JavaFX. In all other respects, it's better than every other UI library I've ever used. -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-13 Thread Mark Raynsford
some kind of scaling animation operation? > Another is that a poorly hinted font is far worse than no hinting at all. Which should be decided on a font-by-font basis, which I think the developer bundling the font is best equipped to make decisions about. -- Mark Raynsford | https://www.io7m.com

Re: The crisp fonts saga

2023-12-12 Thread Mark Raynsford
java/com/sun/javafx/font/freetype/FTFontFile.java#L133 The file actually hasn't been touched in 7 years! -- Mark Raynsford | https://www.io7m.com

The crisp fonts saga

2023-12-12 Thread Mark Raynsford
fonts rather than relying on anything the system has. I suspect that, given that developers are including their own fonts, they are the best equipped to answer questions about hinting and AA, rather than just setting values and hoping that the font they get will work well, so an explicit API might be fine. -- Mark Raynsford | https://www.io7m.com

Re: Possible to deploy patched openjfx locally?

2023-12-12 Thread Mark Raynsford
anks! I had forgotten that that was even an option. I would normally be using modules, but for the sake of testing purposes, I'll be doing this instead. -- Mark Raynsford | https://www.io7m.com

Possible to deploy patched openjfx locally?

2023-12-11 Thread Mark Raynsford
7; of type org.gradle.api.tasks.bundling.Jar. > Could not find method classifier() for arguments [linux] on task ':media:modularPublicationJarLinux' of type org.gradle.api.tasks.bundling.Jar. > Could not find method classifier() for arguments [linux] on task ':web:modularPublicationJarLinux' of type org.gradle.api.tasks.bundling.Jar. -- Mark Raynsford | https://www.io7m.com

Re: My JavaFX Christmas Wishlist

2023-11-15 Thread Mark Raynsford
On Wed, 2023-11-15 at 15:37 -0300, Thiago Milczarek Sayão wrote: > - Vulkan rendering Seconded! > - A pay raise for Kevin :) Seconded! -- Mark Raynsford | https://www.io7m.com

Re: My JavaFX Christmas Wishlist

2023-11-15 Thread Mark Raynsford
sed? My JavaFX console components look very blurry. :) -- Mark Raynsford | https://www.io7m.com

Re: Vulkan

2023-06-22 Thread Mark Raynsford
the API is not utterly error-prone like OpenGL, and it works on every platform (assuming the presence of MoltenVK for Apple's walled garden). -- Mark Raynsford | https://www.io7m.com pgpiR7Loh5E6E.pgp Description: OpenPGP digital signature

Re: Should javafx.scene.robot.Robot be able to use nested event loops?

2023-05-22 Thread Mark Raynsford
fixed it). I'm back working on the original ITs now, so I'll see if I run into it again. -- Mark Raynsford | https://www.io7m.com

Should javafx.scene.robot.Robot be able to use nested event loops?

2023-05-20 Thread Mark Raynsford
have been sent are immediately applied in the context of the outer event loop. Is this expected behaviour? The various Robot implementation classes are suspiciously short, so I'm guessing that this is something that's just not supported. -- Mark Raynsford | https://www.io7m.com