JDK-8040647 : bold fonts when using java 7 which shouldn't be bold
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 7u25,8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Incomplete
  • OS: windows_8
  • Submitted: 2013-08-07
  • Updated: 2015-08-21
  • Resolved: 2015-08-21
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.
JDK 9
9Resolved
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version  " 1.7.0_25 " 
Java(TM) SE Runtime Environment (build 1.7.0_25-b16)
Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.2.9200]


A DESCRIPTION OF THE PROBLEM :
I think when having a  mixed setup, so we install english versions but we are in the netherlands we have somehow duplicate fonts:
In a dialog we have where we display all the possible fonts that the system comes back i have:

Verdana
Verdana Bold
Verdana Bold Italic
Verdana Cursief
Verdana Italic
Veranda Vet
Verdana Vet Cursief

Cursief == Italic
Vet == Bold

So we have kind of duplicate fonts here. And at that time when the fonts are loaded things go wrong, wrong things are getting merged/flushed

  See also for more stuff: (so it is still very fine reproducible)
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7179475




REGRESSION.  Last worked in version 7u10

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
you can go to this url:

http://demo.servoy.com/servoy-client/servoy_sample_crm.jnlp

download/start there the app, you get a login dialog, cancel that.
Go to edit->preferences -> Look And Feel tab
then click on default font button
That will give you a list

If i scroll to Verdana i see 7 of them (but this is in a englisch windows version just a plain install of java 7 but locales and so on all on Dutch/Netherlands)

If i select Verdana only i already see the problem, that is that the example font is already printed bold. (there is no difference between Verdana, Verdana Bold and Verdana Vet)




EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
that at least plain verdana (and others like that) are not bold.

ACTUAL -
many fonts are bold (but somehow Tahoma works)

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
i already created once a case long time ago, where i exactly pointed out where the problem was, but i can't seem to find it anymore.

Because i fully debugged it and it was not fixable at my end, there was really a problem when loading all the fonts because of the mix up between those i18n of fonts names
---------- END SOURCE ----------
Comments
Information to reproduce not valid anymore.
17-08-2015

As per bug, we need to do 1. http://demo.servoy.com/servoy-client/servoy_sample_crm.jnlp download/start there the app, you get a login dialog, cancel that. but I am not getting any login dialog when I download the jnlp file and start the app. Need more info Also, as already mentioned Fix for 8012351 affects shared code, and it potentially can resolve this problem as well.
17-08-2015

not a regression for 8 and 9
12-12-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

- this is an issue reported against 7(7u), - there are now affected version 9 filed for this issue - 7u issues are transferred to Sustaining Nevertheless if someone have a report against 9 - please reopen and add affectedVersion 9 or 7u specific escalations might be reopen to Sustaining
10-08-2014

Per agreement with Victor sustaining takes all the bugs that formally reported against JDK7. We may return them back after the evaluation if some of them are reproducible on JDK8 or 9.
07-05-2014

Will need review for >= JDK 7 Moving to 7u80 and will review ASAP. Ping me directly with any concerns about this move.
22-04-2014

is it affecting 8 or 9?
17-04-2014