LCD text in Canvas

Phil Race philip.race at
Sun Dec 16 14:25:17 PST 2012

We could easily add API to support LCD text on Canvas although
we wanted to minimise the amount of Text related API there until
we have more experience with how people use it and how it should
be developed in general.
The blurriness is down to the grayscale text being unhinted so it
behaves predictably under transformations as supposed to be the most
typical canvas uses case. This is also why its the default on a Text node.


On 12/16/12 7:16 AM, John C. Turnbull wrote:
> Yes sorry, I was referring to LCD font rendering (or sub-pixel
> antialiasing).  It seems JavaFX text controls support this but text rendered
> in Canvas is always using gray-scale antialiasing and looks blurry in
> comparison as a result.
> -----Original Message-----
> From: openjfx-dev-bounces at
> [mailto:openjfx-dev-bounces at] On Behalf Of Dr. Michael Paus
> Sent: Monday, 17 December 2012 00:36
> To: openjfx-dev at
> Subject: Re: LCD text in Canvas
> I am quite sure the OP is referring to this:
> Whether that is or will be supported for Cancas - I don't know.
> Michael
> Am 16.12.2012 11:49, schrieb Tom Eugelink:
>> I think Canvas will never support that, just like a real world
>> painting canvas will never support a Rembrand. You'll have to create
>> LCD yourself. But Gerrit has created a few LCD gauges in the JFXtras
>> project, maybe those will help.
>> On 2012-12-16 10:33, John C. Turnbull wrote:
>>> When will JavaFX Canvas support LCD text?
>>> Thanks,
>>> -jct
> --
> ----------------------------------------------------------------------------
> ----------
> Dr. Michael Paus, Chairman of the Java User Group Stuttgart e.V. (JUGS).
> For more information visit

More information about the openjfx-dev mailing list