JDK-8020457 : Fontmatrix for Type1 fonts is not used correctly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6,7,8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2013-07-12
  • Updated: 2020-08-04
  • Resolved: 2013-09-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u71Fixed 7u60Fixed 8 b110Fixed
Type1 fonts have a fontmatrix to define the transformation matrix of the
glyphs for rendering.
This matrix is defined in the font file as :
/FontMatrix [0.001 0 0 0.001 0 0] readonly def

Usually this matrix is isotropic, meaning the scaling in the x direction is
the same as the scaling in the y direction.
However, in some cases, the matrix is anisotropic to synthesize a narrow
Example for a HelveticaNarrow type 1 font :
/FontMatrix [0.00082 0 0 0.001 0 0] readonly def

Java seems to not take in account the scaling difference between the x and y
axis, and ignore the content of those values in the FontMatrix.

Anton you filed a bug affected 7u25, this is tracking by 7u40 dashboard. Where is it introduced? 7u25? if yes, than we should file deferral request to justify non-critical-case