summaryrefslogtreecommitdiffstats
path: root/src/widgets/platforms/mac/qfontengine_coretext_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/platforms/mac/qfontengine_coretext_p.h')
-rw-r--r--src/widgets/platforms/mac/qfontengine_coretext_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widgets/platforms/mac/qfontengine_coretext_p.h b/src/widgets/platforms/mac/qfontengine_coretext_p.h
index bb80a9b2f3..3775bc6002 100644
--- a/src/widgets/platforms/mac/qfontengine_coretext_p.h
+++ b/src/widgets/platforms/mac/qfontengine_coretext_p.h
@@ -124,6 +124,8 @@ public:
QScriptItem *si) const;
virtual const char *name() const { return "CoreText"; }
+ inline CTFontRef macFontID() const { return ctfont; }
+
protected:
virtual void loadEngine(int at);