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

When using the Noto Sans CJK SC font collection it will not use the right font for subseqent texts using a different style

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      763897702dfc22075a0366df8dfd8f381103a60b (qt/qtdeclarative/dev) d62abf12a4d6e303d585850724f8ddc0ab448a75 (qt/qtdeclarative/5.15)

      Description

      When using the Noto Sans CJK SC font collection it will not use the right font for subseqent texts using a different style. If the first one loaded is Noto Sans CJK SC Black then it will use that one for any other texts using Noto Sans CJK SC, even if the style is Medium or something else. Setting the styleName to be Black/Medium has no effect here.

      QFontInfo indicates that it can find the right font in both cases at least.

      This happens when using the Noto Sans CJK SC super package ttc font from https://www.google.com/get/noto/help/cjk/ specifically https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip.

      If the individual ttc files are used instead then it works fine.

        Attachments

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

          Activity

            People

            Assignee:
            esabraha Eskil Abrahamsen Blomfeldt
            Reporter:
            andysh Andy Shaw
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes