summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/xkbcommon/src
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-03-15 15:55:36 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 04:17:01 +0100
commitc6b555dac389f9a599a9ad342de56dea329fff60 (patch)
treefbd26071c2540260a94c7a3d49525c965c156206 /src/3rdparty/xkbcommon/src
parent0d50efeae9829336ffb7e47692cfdc649e10ee70 (diff)
Fix bundled HarfBuzz-NG build outside QtGui
On Mac, hb_coretext requires both CTFont and CGFont. Due to not supporting the 0 tag by CoreText, hb_blob_get_data() always fails causing the hb_coretext_shaper initialization to fail, too. Since HarfBuzz-NG is not a part of QtGui module anymore, there are two possibilities to workaround this: either engineer the font data by querying tables one-by-one and generating the font directory table, or pass CTFont and CGFont refs directly to hb_coretext via the hb_face's user_data. This patch implements the latter. Change-Id: I7d2e2df00818ea811642cb6a6c3b9c9abd5d7b94 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/3rdparty/xkbcommon/src')
0 files changed, 0 insertions, 0 deletions