Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8040647

bold fonts when using java 7 which shouldn't be bold

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P3
    • 9
    • 7u25, 8, 9
    • client-libs
    • 2d
    • windows_8

    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 ----------

      Attachments

        Issue Links

          Activity

            People

              psadhukhan Prasanta Sadhukhan
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: