Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-3770

Sequence font resolution appears lower than other rendered fonts (e.g. Column numbering and Annotation Labels) in the Alignment window when using a HiDPI display

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.11.1.2
    • Fix Version/s: 2.11.2
    • Component/s: gui, jvdesktop
    • Labels:
      None
    • Environment:
      Java 8, Java 11
      macOS, Linux, probably Windows
      HiDPI display (4k)

      Description

      On HiDPI displays, the sequence title and residue font rendering is being made at a lower resolution and then being upscaled as a bitmap graphic.

      The upscaling factor might be ascertained from the sun.java2d.uiScale property (see comment https://issues.jalview.org/browse/JAL-3552?focusedCommentId=23566&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-23566 )
      and used to scale the font size being used. However, then the upscaling of the graphic layer will not be needed -- can it be turned off for just this panel?

      Also, in the linux screenshot, the text under the annotation rows does not appear to be anti-aliased either.

        Attachments

        1. macOS_residue_fonts.png
          3 kB
          Ben Soares
        2. Screenshot_20201027_174846.png
          117 kB
          Ben Soares

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              soares Ben Soares
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: