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.r...@oracle.com>
To:     Jeff Martin <j...@reportmill.com>, "openjfx-dev@openjdk.java.net 
Mailing" <openjfx-dev@openjdk.java.net>
Date:   04/03/2014 10:40 PM
Subject:        Re: Fractional Metrics
Sent by:        "openjfx-dev" <openjfx-dev-boun...@openjdk.java.net>

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. 

Reply via email to