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

setApplicationFallbackFontFamilies could be more convenient

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • GUI: Font handling
    • None
    • 99e94f103 (dev)

    Description

      The new QFontDatabase::setApplicationFallbackFontFamilies is a great addition, I have a font file which contains mostly icons, and want them to be applied to any script.

      The only way to achieve this is to apply setApplicationFallbackFontFamilies on each script.

      I would like to be able to use the default system font for and use my custom font on top of it, for any script.

      If I do:

      QFontDatabase::setApplicationFallbackFontFamilies(QChar::Script_Common, families);

      I see in the console:

      qt.text.font.db: Invalid script passed to setApplicationFallbackFontFamilies: 2

       

       

      Attachments

        For Gerrit Dashboard: QTBUG-124914
        # Subject Branch Project Status CR V

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            reg31 Regis Duflaut
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes