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

Remove code that tweaks rasterized glyphs in QFontEngineS60::alphaMapForGlyph()

    XMLWordPrintable

Details

    • 7d21b598d299ee61d61f15c69b41b8b38daf9bea

    Description

      Symbian's CFont::GetCharacterData() returns strange rasterized Glyph 8-bit data. The data values are 0x00, 0x10 ... 0xe0, 0xf0. So, a real opaque 0xff is never reached. Non-opaqueness is bad (performance wise) if we blit such glyphs in the raster paint engine.

      Therefore, some code was added to QFontEngineS60::alphaMapForGlyph() which changes all 0xf0 to 0xff.

      However, rumors say that this bug has been fixed in Symbian (more exactly in the font rasterization plugin). So, maybe this is not required for Symbian^3 (which uses OpenVG instead of raster, anyways).

      Also, the raster paint engine does not use QFontEngineS60::alphaMapForGlyph(), since quite some time ...after that code was added to QFontEngineS60::alphaMapForGlyph().

      Attachments

        1. NonOpaqueGlyphs_xm5800.png
          NonOpaqueGlyphs_xm5800.png
          1 kB
        2. OpaqueGlyphs_n8.png
          OpaqueGlyphs_n8.png
          1.0 kB
        3. OpaqueGlyphsTest.zip
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes