[jdk8u-dev] RFR: 8203485: [freetype] text rotated on 180 degrees is too narrow

Leslie Zhai lzhai at openjdk.org
Mon Dec 12 00:59:43 UTC 2022


Hi,

java/awt/Graphics2D/DrawString/RotTransText.java fail:


STDERR:
java.lang.RuntimeException: Ratio of blue to red is too great: 0.14015748031496064
        at RotTransText.testIt(RotTransText.java:102)
        at RotTransText.main(RotTransText.java:41)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
        at java.lang.Thread.run(Thread.java:750)


And JDK-8203485: [freetype] text rotated on 180 degrees is too narrow fix the issue.

Tested jtreg tier1~3 for fastdebug/release.

Thanks,
Leslie Zhai

-------------

Commit messages:
 - Backport db67279f08b2db148958a4faafd19a0d50ff8742

Changes: https://git.openjdk.org/jdk8u-dev/pull/208/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=208&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8203485
  Stats: 143 lines in 2 files changed: 140 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/208.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/208/head:pull/208

PR: https://git.openjdk.org/jdk8u-dev/pull/208


More information about the jdk8u-dev mailing list