Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11092

MCU: handle custom application fonts and global font properties

    XMLWordPrintable

Details

    Description

      MCU applications typically only use fonts that have been explicitly added to the project. System fonts are currently not available to MCU projects unless the user copies the font file into the project folder and declares it with "FontFiles" in the .qmlproject

      QDS must be able to handle this behavior for MCU projects.

      Acceptance criteria:

      • QDS can read and interpret the MCU application's FontFiles as well as MCU.Config.addDefaultFonts and MCU.Config.defaultFontFamily
      • The font picker used for font properties in the 2D Editor shows all available fonts for the current project, based on what has been read from the qmlproject: only default fonts, only custom fonts, or both
      • In the property panel, when font properties have not explicitly been set, they must display the correct default value, matching what is actually the default in QUL and what has been configured in the qmlproject
      • All FontFiles configured in the qmlproject are known to the QDS runtime so that the 2D form editor and the preview use the correct fonts
      • The correct default font is used in the 2D form editor and preview

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            ylopes Yoann Lopes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes