OSDN Git Service

kerning is required for OS X too
authorIvailo Monev <xakepa10@laimg.moc>
Sun, 31 Jul 2016 15:59:55 +0000 (15:59 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Sun, 31 Jul 2016 15:59:55 +0000 (15:59 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/gui/text/qfontengine_p.h

index 16a0668..0de7504 100644 (file)
@@ -254,7 +254,7 @@ public:
     bool symbol;
     mutable HB_FontRec hbFont;
     mutable HB_Face hbFace;
-#if defined(Q_WS_WIN) || defined(Q_WS_X11)
+#if defined(Q_WS_WIN) || defined(Q_WS_X11) || defined(Q_WS_MAC)
     struct KernPair {
         uint left_right;
         QFixed adjust;