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

Font APIs specify size values in points when in fact they are pixels

XMLWordPrintable

      The JavaFX font APIs take a size parameter which is described as being in "points" (units of 1/72 inch):

           * @param size The point size of the font. This can be a fractional value,
           * but must not be negative. If the size is < 0 the default size will be
           * used.

      In fact the size is a measure of pixels, not points. The documentation should be updated to reflect this.

            prr Philip Race
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: