requesting an AWT expert prior to backporting 8304350 (Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0)

2023-04-28 Thread Jonathan Dowland
love to have the opinion of someone more expert. Many thanks for your time, -- 👱🏻 Jonathan Dowland Senior Software Engineer, OpenJDK, Red Hat

Integrated: 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

2023-04-13 Thread Jonathan Dowland
On Wed, 5 Apr 2023 13:58:48 GMT, Jonathan Dowland wrote: > This is one proposed solution for https://bugs.openjdk.org/browse/JDK-8304350 > > `java.awt.Font.getStringBounds(char[],int,int,FontRenderContext)` applies a > heuristic to determine whether the question it's answeri

Re: RFR: 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

2023-04-13 Thread Jonathan Dowland
On Sun, 9 Apr 2023 16:39:12 GMT, Thomas Stuefe wrote: >> This is one proposed solution for https://bugs.openjdk.org/browse/JDK-8304350 >> >> `java.awt.Font.getStringBounds(char[],int,int,FontRenderContext)` applies a >> heuristic to determine whether the question it's answering is "simple" or

Re: RFR: 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

2023-04-11 Thread Jonathan Dowland
On Sun, 9 Apr 2023 16:39:12 GMT, Thomas Stuefe wrote: >> This is one proposed solution for https://bugs.openjdk.org/browse/JDK-8304350 >> >> `java.awt.Font.getStringBounds(char[],int,int,FontRenderContext)` applies a >> heuristic to determine whether the question it's answering is "simple" or

RFR: 8304350: Font.getStringBounds calculates wrong width for TextAttribute.TRACKING other than 0.0

2023-04-05 Thread Jonathan Dowland
This is one proposed solution for https://bugs.openjdk.org/browse/JDK-8304350 `java.awt.Font.getStringBounds(char[],int,int,FontRenderContext)` applies a heuristic to determine whether the question it's answering is "simple" or not. The bug described in 8304350 only occurs in the simple=true bra