Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Difference between Fonts on windows and linux embedded
Forum Updated to NodeBB v4.3 + New Features

Difference between Fonts on windows and linux embedded

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 4 Posters 4.7k Views 1 Watching
  • 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.
  • G Offline
    G Offline
    goli
    wrote on last edited by
    #1

    I install the same font on windows and on my device("Bitsteam Vera Sans" for example), but their is a difference between those two. In linux the text is more spacious, and in windows the text is dense.
    I know that I use the same font and not a default font.
    Any idea?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kchandr7
      wrote on last edited by
      #2

      What resolution is your windows device and your embedded device?

      DPI changes how fonts look. And define spacious, screenshots would be useful.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dreamerindia
        wrote on last edited by
        #3

        you need to create the qpf fonts of your choice and put it in the target's rootfs font folder.....

        ~Ravivarman~

        1 Reply Last reply
        0
        • D Offline
          D Offline
          disperso
          wrote on last edited by
          #4

          QPF fonts are not the only choice. Qt for Linux embedded supports several other formats. However, each Qt implementation for each OS uses a different system for choosing fonts, so is normal that they look a little bit different, specially given that your normal OS has a lot of fonts, and Qt for embedded has just a bunch (unless you customize it).

          Make sure that you set exactly the type of font that you want in the application or in each widget.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goli
            wrote on last edited by
            #5

            I solved the problem. There was a difference between the default configuration of font(hintiing,antialias) in windows and linux embedded.
            when I changed the config file in linux embedded to work with the same definitions it look the same.
            "Font Configuration":https://wiki.archlinux.org/index.php/Font_Configuration
            Tnx for help.

            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