My Oracle Support Banner

Why Font Figures and Metrics on Java SE 11 are Different from Previous Java SE Versions? (Doc ID 2485511.1)

Last updated on NOVEMBER 14, 2020

Applies to:

Java SE JDK and JRE - Version 11 and later
Information in this document applies to any platform.

Symptoms

Some font figures and metrics are shown differently on Java SE 11 than on Java SE 10 and earlier versions.
As an example, java.awt.FontMetrics#getAscent() on Java SE 11 returns a different value compare to Java SE 10 for "OCRB" font.

Code Sample:

 

Changes

T2K font rasterizer has been removed from Java SE 11. This is described in Oracle JDK Migration Guide Release 11.

See Section "Oracle Desktop Specific Removals".

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.