On Fri, 11 Sep 2026 17:38:12 GMT, Martin Fox <[email protected]> wrote:

>> The PR is split into two parts. One involves how we set up DirectWrite and 
>> is required to work-around some egregious glyph shaping bugs. That change 
>> alters the rendering mode but not the measuring mode so metrics should be 
>> the same (though with Microsoft one never knows).
>> 
>> BTW, there is already an option that sets up the rendering and measuring 
>> modes in exactly the same way (prism.subpixeltext=vertical) but it has other 
>> effects.
>> 
>> The second part is related to how we render the glyph mask that DirectWrite 
>> produces. This is independent of the first part.
>> 
>> So should we have two system properties or just one?
>> 
>> I am not opposed to implementing a system property or two particularly if 
>> the idea is presented based on an informed understanding of the source code 
>> after public discussion (ahem). This is a substantial change and I think it 
>> can only be effectively tested in the field (or by someone with twenty 
>> different monitors and twenty different JavaFX apps and a whole lot of time).
>> 
>> Implementing a property that alters the mask rendering would require adding 
>> a new shader. I have no experience in this area and do not currently have 
>> the time to dig into this. If anyone can give me some pointers I would 
>> appreciate it.
>
>> Implementing a property that alters the mask rendering would require adding 
>> a new shader. I have no experience in this area and do not currently have 
>> the time to dig into this. If anyone can give me some pointers I would 
>> appreciate it.
> 
> Never mind, found the time and figured this out. Currently working on the 
> system property.

@beldenfox After this is in a jfx-ea, please ping us or file a PR to 
https://github.com/jabref/jabref/ directly - we are happy to have this (future) 
system setting on as default. - We are also thinking to compile JFX on our own 
to be able to test latest updates in our non-trivial system.

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2284#issuecomment-5651909102

Reply via email to