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

@font-face not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2 P2
    • 8u40
    • 8u40
    • javafx
    • Windows 7, jdk 8u40b12 early access

      If you put @font-face in a css file, font is not loaded.
      By debugging we can see in the StyleManager that the stylesheet.getFontFaces() at line 1078 return an empty list for all css files .

      Using the same @font-face with 8u20 working like a charm.

      For the test case, just take a css and put @font-face definition.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: