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

Implement glyph width/xoff cache for QFontEngineS60::recalcAdvances(). Set advances_y[i] to 0.

    XMLWordPrintable

Details

    Description

      Other ports cache the glyph widths which get read millions of times in QFontEngineXYZ::recalcAdvances(). Windows implements a lookup (ultrafast/memoryhungry), others a hash (fastenough/kindofmemoryefficient).
      Let's benchmark how the cache affects text layout on Symbian always keeping in mind that at least one int per glyph per font variation gets reserved.

      Set advances_y[i] to 0, since glyph_metrics_t.yoff is zero, also on all other platforms. We do not support vertical text flow (, yet).

      Attachments

        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:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes