Fractional Metrics

Phil Race philip.race at oracle.com
Fri Apr 4 02:40:14 UTC 2014


On 4/3/14 6:13 PM, Jeff Martin wrote:
> Is there a way to turn off FractionalMetrics in Canvas.fillText() or Text?

No. At least not via any supported API.
>
> Also, does text rendering perform kerning, and if so, can I disable that?

No.
>
> What I really need is to know the x position (or advance) of each character in a rendered string.

It would need new API. And characters != glyphs. Counting char advances 
has been
doomed for decades ...

-phil.

>
> jeff



More information about the openjfx-dev mailing list