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
          2013-07-05-120417_1366x768_scrot.png
          9 kB
        2. 2014-01-13-090812_1366x768_scrot.png
          2014-01-13-090812_1366x768_scrot.png
          36 kB
        3. comparison_big.png
          comparison_big.png
          36 kB
        4. comparison_small.png
          comparison_small.png
          18 kB
        5. config.summary
          3 kB
        6. label.zip
          0.8 kB
        7. label-qt4.8.png
          label-qt4.8.png
          71 kB
        8. label-qt5.2.png
          label-qt5.2.png
          87 kB
        9. qt5-fonts.diff
          2 kB
        10. qt5-force autohint.png
          qt5-force autohint.png
          62 kB
        For Gerrit Dashboard: QTBUG-32254
        # Subject Branch Project Status CR V

        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