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

Unassigned field in PrismFont

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: openjfx17
    • Fix Version/s: tbd
    • Component/s: javafx
    • Labels:
      None

      Description

      PrismFont has a 'private int features' field. It is never assigned, but it is used in

          @Override public int getFeatures() {
              return features;
          }

      This means that the overriding method will always return the default value: 0 for int. It seems that only GlyphLayout calls this method.

      This value should have possibly be requested and set in the constructor.

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            nlisker Nir Lisker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: