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 whatever is the default (in other words, not setting FT_LOAD_NO_HINTING).
Have you thought of a 'prism.hinting' system property similar to the current 'prism.lcdtext'?
Simply being able to toggle off FT_LOAD_NO_HINTING would, I think, result in text rendering on Linux similar to the JDK (vertical-only hinting when using FreeType 2.8 or later).
A system property would allow end users to control the hinting, too, with the added benefit of being a very simple code change.
John