diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2013-03-09 21:39:21 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-13 14:46:26 +0100 |
commit | cfa663d62b147c4050359e036f17a6b1b6a8b4fe (patch) | |
tree | 1ae4bbde87ccee0f00878c29f292c99ab2eb32d5 /src/gui/text/qfontengine_ft_p.h | |
parent | 74494ea29ebc6e152348ed6a6c1e2c9399ddb204 (diff) |
Avoid using HB types in QFontEngine API
This affects HB_Font and HB_Face.
As of now, the Hurfbuzz API usage is concentrated in qfontengine(|_ft).cpp
and qtextengine.cpp, thus it is a lot easier to switch to Hurfbuzz-NG.
Change-Id: Ie06959efd5d6080fe44c407d9f5de0a07dd1c210
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Josh Faust <jfaust@suitabletech.com>
Diffstat (limited to 'src/gui/text/qfontengine_ft_p.h')
-rw-r--r-- | src/gui/text/qfontengine_ft_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/text/qfontengine_ft_p.h b/src/gui/text/qfontengine_ft_p.h index 9963d307ba..434eb76c33 100644 --- a/src/gui/text/qfontengine_ft_p.h +++ b/src/gui/text/qfontengine_ft_p.h @@ -69,8 +69,6 @@ #include <qmutex.h> -#include "private/qharfbuzz_copy_p.h" - QT_BEGIN_NAMESPACE class QFontEngineFTRawFont; @@ -101,7 +99,7 @@ struct QFreetypeFace } FT_Face face; - HB_Face hbFace; + void *hbFace; int xsize; // 26.6 int ysize; // 26.6 FT_Matrix matrix; |