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

Rare scripts show up in wrong font/size unless font is explicitly specified

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.1.1
    • GUI: Font handling
    • None
    • Windows

    Description

      Just put a QLabel on a form, and paste these two characters: ठ᳹

      All software, including browsers, uses “Nirmala UI” font. Qt uses another font that has these characters, but in a bad shape. When I specify “Nirmala UI”, everything is OK.

      While experimenting, I’ve found some more artifacts. (May I call the 2nd character “umlaut”?)

      1. If you delete the letter, the umlaut stops showing at all.

      2. If you insert between the letter and the umlaut “x ” (a character from a wrong script, even Latin, and a space), umlaut turns to tofu. Space is here to make umlaut land on space, not on x. “ठx◌᳹” works somehow in browser, but does not work in other software, so we’ll not blame Qt for this.

      3. If you type ᢰ (a character from Canadian syllabics), it shows in a wrong size.

      4. If you type ᳯ, it shows up as tofu, though it’s present in the same Nirmala UI. Its Unicode type is “Letter/other”, it is not an umlaut. And again, very small tofu.

      5. If you type “◌᳹” (a normal way of displaying combining marks), large circle with small tofu.

      Again, everything of this happens when we DO NOT specify font explicitly.

      Probably these artifacts boil down to three issues.

      1. Wrong font substitution.
      2. When we typed the main character in some font, we do not check its combining marks.
      3. Sometimes we lose font size when substituting fonts.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            Mercury13kiev Mikhail Merkuryev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes