LCD font smoothing in Text has no effect

Phil Race philip.race at oracle.com
Thu May 31 21:23:20 PDT 2012


So are you using a shaped window or transparency ?
In those cases you may get grayscale. The most recent 2.2 builds
will fix this IFF the transparency is not under the text pixels.

-phil.

On 5/31/12 9:19 PM, John C. Turnbull wrote:
> Looks like I am getting Direct3D...
>
> Prism pipeline init order: d3d j2d
> Using t2k for text rasterization
> Using dirty region optimizations
> Prism pipeline name = com.sun.prism.d3d.D3DPipeline
> Loading D3D native library ...
> 	succeeded.
> Direct3D initialization succeeded
> (X) Got class = class com.sun.prism.d3d.D3DPipeline
> Initialized prism pipeline: com.sun.prism.d3d.D3DPipeline
> OS Information:
> 	Windows 7 build 7601
> D3D Driver Information:
> 	NVIDIA Quadro FX 5800
> 	\\.\DISPLAY1
> 	Driver nvd3dumx.dll, version 8.17.12.9635
> 	Pixel Shader version 3.0
> 	Device : ven_10DE, dev_05FD, subsys_059310DE
>
> ...but I still get greyscale antialiasing.
>
> Cheers,
>
> -jct
>
> -----Original Message-----
> From: Phil Race [mailto:philip.race at oracle.com]
> Sent: Friday, 1 June 2012 13:50
> To: John C. Turnbull
> Cc: openjfx-dev at openjdk.java.net
> Subject: Re: LCD font smoothing in Text has no effect
>
> -Dprism.verbose=true to see which renderer is used.
>
> Are you getting 2D or D3D/OGL ?
>
> 2D isn't set up to do it and we probably won't fix that because it won't
> matter once we stop using it in 3.0
>
> -phil.
>
> On 5/31/12 8:36 PM, John C. Turnbull wrote:
>> I have never been able to see any difference when I set the font
>> smoothing option to LCD in a Text control even with the latest JavaFX
>> 2.2 drop.  Gray scale antialiasing is still in use.
>>
>>
>>
>> Is this something likely to be fixed soon?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> -jct
>>



More information about the openjfx-dev mailing list