-
Bug
-
Resolution: Incomplete
-
P3
-
None
-
8u77
-
x86
-
windows_7
FULL PRODUCT VERSION :
java full version "1.8.0_77-b03"
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
want to have helvetica font, it returns helvetica black. Print helvetica fonts and 1.8 java (update 72 and update 77)shows
Helvetica Black
Helvetica Black
Helvetica Bold
Helvetica Bold Oblique
Helvetica Oblique
qing---menu font---Helvetica Black
But 1.7 java shows
Helvetica
Helvetica Black
Helvetica Bold
Helvetica Bold Oblique
Helvetica Oblique
qing---menu font---Helvetica
Therefore the menu items in our application shows helvetica black style , instead of helvetica style.
REGRESSION. Last worked in version 8u77
ADDITIONAL REGRESSION INFORMATION:
use the following code to reproduce it.
GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); // Get the fonts
for (Font f : fonts) {
System.out.println(f.getFontName());
}
Font f = new Font("helvetica", Font.PLAIN, 13);
if(f != null)
System.out.println("qing---menu font---" + f.getFontName());
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
use above example to reproduce the problem.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
expect to show
Helvetica font instead of helvetica black
ACTUAL -
show helvetica black and font is very thick.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); // Get the fonts
for (Font f : fonts) {
System.out.println(f.getFontName());
}
Font f = new Font("helvetica", Font.PLAIN, 13);
if(f != null)
System.out.println("qing---menu font---" + f.getFontName());
---------- END SOURCE ----------
java full version "1.8.0_77-b03"
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
want to have helvetica font, it returns helvetica black. Print helvetica fonts and 1.8 java (update 72 and update 77)shows
Helvetica Black
Helvetica Black
Helvetica Bold
Helvetica Bold Oblique
Helvetica Oblique
qing---menu font---Helvetica Black
But 1.7 java shows
Helvetica
Helvetica Black
Helvetica Bold
Helvetica Bold Oblique
Helvetica Oblique
qing---menu font---Helvetica
Therefore the menu items in our application shows helvetica black style , instead of helvetica style.
REGRESSION. Last worked in version 8u77
ADDITIONAL REGRESSION INFORMATION:
use the following code to reproduce it.
GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); // Get the fonts
for (Font f : fonts) {
System.out.println(f.getFontName());
}
Font f = new Font("helvetica", Font.PLAIN, 13);
if(f != null)
System.out.println("qing---menu font---" + f.getFontName());
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
use above example to reproduce the problem.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
expect to show
Helvetica font instead of helvetica black
ACTUAL -
show helvetica black and font is very thick.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
GraphicsEnvironment e = GraphicsEnvironment.getLocalGraphicsEnvironment();
Font[] fonts = e.getAllFonts(); // Get the fonts
for (Font f : fonts) {
System.out.println(f.getFontName());
}
Font f = new Font("helvetica", Font.PLAIN, 13);
if(f != null)
System.out.println("qing---menu font---" + f.getFontName());
---------- END SOURCE ----------