Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Does the order of insert subtituteNames make any affection when load font in program
Forum Updated to NodeBB v4.3 + New Features

Does the order of insert subtituteNames make any affection when load font in program

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 258 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tueschou79
    wrote on last edited by
    #1

    I'm confused when implement a task that a new font But i dont know where should i add before or after old font name in function insertSubstitutions(const QString &familyName, const QStringList &substituteNames)

    JonBJ 1 Reply Last reply
    0
    • T Tueschou79

      I'm confused when implement a task that a new font But i dont know where should i add before or after old font name in function insertSubstitutions(const QString &familyName, const QStringList &substituteNames)

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @Tueschou79
      I would guess that Qt will try substitutes for familyName in the left-to-right order of substituteNames, stopping at the first one it finds?

      T 1 Reply Last reply
      0
      • JonBJ JonB

        @Tueschou79
        I would guess that Qt will try substitutes for familyName in the left-to-right order of substituteNames, stopping at the first one it finds?

        T Offline
        T Offline
        Tueschou79
        wrote on last edited by
        #3

        @JonB
        I think it would find all to find best match for all the properties.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved