Fix warning about class/struct mismatch
Clang does not like this:-) Change-Id: I9c65025d99d31b5ef1314dadf90eef02d23eacb0 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
This commit is contained in:
parent
5f8416ec65
commit
fc9c5ffc5f
@ -75,11 +75,12 @@ class QFontEngineFTRawFont;
|
||||
class QFontconfigDatabase;
|
||||
|
||||
/*
|
||||
* This struct represents one font file on disk (like Arial.ttf) and is shared between all the font engines
|
||||
* This class represents one font file on disk (like Arial.ttf) and is shared between all the font engines
|
||||
* that show this font file (at different pixel sizes).
|
||||
*/
|
||||
struct QFreetypeFace
|
||||
class QFreetypeFace
|
||||
{
|
||||
public:
|
||||
void computeSize(const QFontDef &fontDef, int *xsize, int *ysize, bool *outline_drawing);
|
||||
QFontEngine::Properties properties() const;
|
||||
bool getSfntTable(uint tag, uchar *buffer, uint *length) const;
|
||||
|
Loading…
Reference in New Issue
Block a user