equal
deleted
inserted
replaced
67 { |
67 { |
68 public: |
68 public: |
69 QFontEngineS60Extensions(CFont* fontOwner, COpenFont *font); |
69 QFontEngineS60Extensions(CFont* fontOwner, COpenFont *font); |
70 |
70 |
71 QByteArray getSfntTable(uint tag) const; |
71 QByteArray getSfntTable(uint tag) const; |
|
72 bool getSfntTableData(uint tag, uchar *buffer, uint *length) const; |
72 const unsigned char *cmap() const; |
73 const unsigned char *cmap() const; |
73 QPainterPath glyphOutline(glyph_t glyph) const; |
74 QPainterPath glyphOutline(glyph_t glyph) const; |
74 CFont *fontOwner() const; |
75 CFont *fontOwner() const; |
75 |
76 |
76 private: |
77 private: |
104 qreal maxCharWidth() const; |
105 qreal maxCharWidth() const; |
105 qreal minLeftBearing() const { return 0; } |
106 qreal minLeftBearing() const { return 0; } |
106 qreal minRightBearing() const { return 0; } |
107 qreal minRightBearing() const { return 0; } |
107 |
108 |
108 QByteArray getSfntTable(uint tag) const; |
109 QByteArray getSfntTable(uint tag) const; |
|
110 bool getSfntTableData(uint tag, uchar *buffer, uint *length) const; |
109 |
111 |
110 static qreal pixelsToPoints(qreal pixels, Qt::Orientation orientation = Qt::Horizontal); |
112 static qreal pixelsToPoints(qreal pixels, Qt::Orientation orientation = Qt::Horizontal); |
111 static qreal pointsToPixels(qreal points, Qt::Orientation orientation = Qt::Horizontal); |
113 static qreal pointsToPixels(qreal points, Qt::Orientation orientation = Qt::Horizontal); |
112 |
114 |
113 const char *name() const; |
115 const char *name() const; |