Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/gui/text/qfontengine_p.h

    r769 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation (qt-info@nokia.com)
     
    159159    virtual QFixed emSquareSize() const { return ascent(); }
    160160
    161     /* returns 0 as glyph index for non existant glyphs */
     161    /* returns 0 as glyph index for non existent glyphs */
    162162    virtual bool stringToCMap(const QChar *str, int len, QGlyphLayout *glyphs, int *nglyphs, QTextEngine::ShaperFlags flags) const = 0;
    163163
     
    181181    /**
    182182     * Create a qimage with the alpha values for the glyph.
    183      * Returns an image indexed_8 with index values ranging from 0=fully transparant to 255=opaque
     183     * Returns an image indexed_8 with index values ranging from 0=fully transparent to 255=opaque
    184184     */
    185185    virtual QImage alphaMapForGlyph(glyph_t);
     
    227227    static const uchar *getCMap(const uchar *table, uint tableSize, bool *isSymbolFont, int *cmapSize);
    228228    static quint32 getTrueTypeGlyphIndex(const uchar *cmap, uint unicode);
     229
     230    static QByteArray convertToPostscriptFontFamilyName(const QByteArray &fontFamily);
    229231
    230232    QAtomicInt ref;
     
    254256protected:
    255257    static const QVector<QRgb> &grayPalette();
     258    QFixed lastRightBearing(const QGlyphLayout &glyphs, bool round = false);
    256259
    257260private:
     
    463466    QCoreTextFontEngineMulti *parentEngine;
    464467    int synthesisFlags;
     468    CGAffineTransform transform;
    465469    friend class QCoreTextFontEngineMulti;
    466470};
     
    494498    CTFontRef ctfont;
    495499    mutable QCFType<CFMutableDictionaryRef> attributeDict;
    496 
     500    CGAffineTransform transform;
    497501    friend class QFontDialogPrivate;
    498502};
Note: See TracChangeset for help on using the changeset viewer.