Fractional Metrics

ngalarneau at ABINITIO.COM ngalarneau at ABINITIO.COM
Fri Apr 4 13:41:56 UTC 2014

I'm sorry if this is redundant, but does this mean there is no way to find 
out the size (length & height) of a String as it will appear on the 

What about the size of a String as it will be printed?


From:   Phil Race <philip.race at>
To:     Jeff Martin <jeff at>, "openjfx-dev at 
Mailing" <openjfx-dev at>
Date:   04/03/2014 10:40 PM
Subject:        Re: Fractional Metrics
Sent by:        "openjfx-dev" <openjfx-dev-bounces at>

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

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

> 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 ...


> jeff

NOTICE from Ab Initio: This email (including any attachments) may contain 
information that is subject to confidentiality obligations or is legally 
privileged, and sender does not waive confidentiality or privilege. If 
received in error, please notify the sender, delete this email, and make 
no further use, disclosure, or distribution. 

More information about the openjfx-dev mailing list