JDK-8101214 : Support LCD subpixel text
  • Type: Enhancement
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: fx2.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2011-01-25
  • Updated: 2015-06-16
  • Resolved: 2012-01-12
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
fx2.1Resolved
Related Reports
Blocks :  
Blocks :  
Blocks :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Sub Tasks
JDK-8101620 :  
JDK-8101621 :  
JDK-8101622 :  
Description
It is important for LCD text and for keeping people happy that we have native rasterization available. There are some cases where our current approach is best and some cases where a native approach is best. Nether approach can solve all use cases. So the best solution is let the developer choose on a node by node basis which renderer to use.

When Native is best 

 *  Reading large chunks of text, native renderers are very carefully tuned with platform fonts to be good to read (Minimize eye strain etc)
 *  Consistency with other naive applications
 *  LCD text as hardware and user preference knowledge is needed that platform renderers have.

When our cross platform renderer is best

 *  We want a true to the type (Some native renderers distort type, eg windows on some fonts)
 *  Consistent cross platform rendering of text
 *  Animation, smoothly animating text even on sub-pixel boundaries

 
Comments
This is a duplicate of RT-17384, which is a newer and more up to date LCD umbrella bug.
12-01-2012

Turns out risky for first beta. We need to target this for a beta update.
04-05-2011

I think what this really requests is LCD/ClearType style text on Windows be available. LCD text does not have to mean native rasterisation - and in particular it does not mean native APIs are useful for rendering to our surfaces. This needs to be broken down into parts, some of which may need separate bug ids 1) API to select LCD text at the scenegraph level. Probably on a Font. 2) Internal API and implementation to be able to measure text in this mode (almost guaranteed it can't always be the same as existing measurement) 3) Implementation on NGText to handle this and augment the glyph caching and rendering. 4) Code to use GDI to obtain the glyphs on Windows 5) LCD shader code to render the glyphs
15-03-2011

We need to consider and make a deliberate decision as to whether to add this feature to Presidio.
28-02-2011

I don't know whether we can commit to this for Presidio. We are basically past the point of accepting new features.
19-02-2011