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

[macOS] Font "Swiss 721 SWA" is not rendered correctly

XMLWordPrintable

    • x86_64
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      OS X
      Systemversion: macOS 10.14.1 (18B75)
      Kernel-Version: Darwin 18.2.0

      $ java -version
      openjdk version "11.0.1" 2018-10-16
      OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
      OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      The font "Swiss 721 SWA" is only working correctly when the font size is set to a value greater than 40px. For all sizes below single letters and numbers get cut of vertically or horizontally.

      For example, the font can be downloaded here: https://www.fontpalace.com/font-details/Swiss+721+SWA/

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Install the font on the operating system.
      2. Assign the font to a text and give it a size of for example 25px.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The written text should be shown correctly with a size of 25px and the font "Swiss 721 SWA".
      ACTUAL -
      The text has "Swiss 721 SWA" as a font and the size of 25px. But several letters and numbers got horizontally or vertically cut off.

      CUSTOMER SUBMITTED WORKAROUND :
      To use this font correctly it has to have a size of at least 41px.

      FREQUENCY : often


            prr Philip Race
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: