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

Greek characters are not correctly displayed with Qt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 4.6.0
    • 4.4.3
    • GUI: Font handling
    • None

      IPA fonts are well known and widely used. They are bundled with almost all of
      Linux distributions. Qt cannot display Greek characters with IPA fonts when
      IPA fonts are specified by setFont(). Qt uses other substituted font to
      display Greek characters instead. All Greek characters are displayed with
      spaces in the worst case when no Greek substitution is available for some
      Linux distributions. One of such Linux distribution is RedHat 9.

      Attached qt-44-greek-patch-for-mal-fonts.patch is a workarond to fix this
      problem.

      diff --git a/bin/qtusagereporter b/bin/qtusagereporter
      deleted file mode 100755
      index 07a113b..0000000
      Binary files a/bin/qtusagereporter and /dev/null differ
      diff --git a/src/gui/text/qfontdatabase_x11.cpp b/src/gui/text/qfontdatabase_x11.cpp
      index de3ebb1..3c8bd91 100644
      — a/src/gui/text/qfontdatabase_x11.cpp
      +++ b/src/gui/text/qfontdatabase_x11.cpp
      @@ -836,7 +836,7 @@ enum

      { SpecialLanguageCount = sizeof(specialLanguages) / sizeof(const char *) }

      ;

      static const ushort specialChars[] = {
      0, // English

      • 0, // Greek
        + 0x391, // Greek
        0, // Cyrillic
        0, // Armenian
        0, // Hebrew

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

            esabraha Eskil Abrahamsen Blomfeldt
            janichol Andy Nichols
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes