Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134081

QFont::variableAxisTags() not working.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.8.2
    • GUI: Font handling
    • None
    • macOS

    Description

      New York font installed from https://developer.apple.com/fonts/ doesn't report any variableAxisTags() or featureTags() simply returns empty lists.

      i.e. running

      otfinfo --variable /Library/Fonts/NewYork.ttf

       produces output:

      Axis 0:                 opsz
      Axis 0 name:            Optical Size
      Axis 0 range:           12 256
      Axis 0 default:         256
      Axis 1:                 wght
      Axis 1 name:            Weight
      Axis 1 range:           400 1000
      Axis 1 default:         400
      Instance 0 name:        Regular
      Instance 0 position:    256 400
      Instance 1 name:        Medium
      Instance 1 position:    256 496
      Instance 2 name:        Semibold
      Instance 2 position:    256 568
      Instance 3 name:        Bold
      Instance 3 position:    256 674
      Instance 4 name:        Heavy
      Instance 4 position:    256 810
      Instance 5 name:        Black
      Instance 5 position:    256 934
       
      

      but calling font.variableAxisTags() returns empty list

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            ivang Ivan Golubovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes