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

Qt5 ignores my fontconfig

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.0
    • 5.1.0 , 5.2.0, 5.3.0 Alpha
    • GUI: Look'n'Feel
    • None
    • Lubuntu 13.04
      Lubuntu 13.10
      OpenSUSE 13.1 with KDE 4.12

    Description

      This is my fonts.conf:

      <?xml version="1.0"?>
      <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
      <fontconfig>

      <match target="font">
      <edit name="antialias" mode="assign"> <bool>false</bool></edit>
      <edit name="hinting" mode="assign"><bool>true</bool></edit>
      <edit name="hintstyle" mode="assign"> <const>hintmedium</const> </edit>
      <edit name="rgba" mode="assign"> <const>rgb</const> </edit>
      <edit name="autohint" mode="assign"><bool>false</bool></edit>
      <edit name="lcdfiler" mode="assign"><const>lcdnone</const></edit>
      <edit name="dpi" mode="assign"><double>102</double></edit>
      </match>

      <match target="pattern">
      <edit name="family" mode="assign">
      <string>Arial</string>
      </edit>
      </match>

      </fontconfig>

      Qt4 works as expected. But Qt5 ignores most settings, including 'antialias', 'hinting', 'autohint' and 'dpi'.

      Attachments

        1. 2013-07-05-120417_1366x768_scrot.png
          9 kB
          Ilya Kotov
        2. 2014-01-13-090812_1366x768_scrot.png
          36 kB
          Ilya Kotov
        3. comparison_big.png
          36 kB
          Helbrass
        4. comparison_small.png
          18 kB
          Helbrass
        5. config.summary
          3 kB
          Ilya Kotov
        6. label.zip
          0.8 kB
          Helbrass
        7. label-qt4.8.png
          71 kB
          Ilya Kotov
        8. label-qt5.2.png
          87 kB
          Ilya Kotov
        9. qt5-fonts.diff
          2 kB
          Helbrass
        10. qt5-force autohint.png
          62 kB
          Ilya Kotov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            trialuser Ilya Kotov
            Votes:
            8 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes