[OpenJDK 2D-Dev] RFR: 8245159: Font.getStringBounds() throws IAE for empty string if the Font has layout attributes.

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 19 05:20:41 UTC 2020


On 5/18/20 9:56 pm, Philip Race wrote:

>> Is it possible that for the font which use attributes/kerning/ligatures the height
>> calculated via TextLayout and FontDesignMetrics.getSimpleBounds() will be different?
> 
> no.

ok, +1


-- 
Best regards, Sergey.


More information about the 2d-dev mailing list