Add a way to retrieve CTFontRef from QFont
authorJiang Jiang <jiang.jiang@nokia.com>
Wed, 4 May 2011 14:06:06 +0000 (16:06 +0200)
committerJiang Jiang <jiang.jiang@nokia.com>
Thu, 5 May 2011 11:39:05 +0000 (13:39 +0200)
commit05a1416be87528ba722d7735ed49701c634de083
treea74789bdd91c7b71d393f09ffd6d7c28b6ccbb60
parent1a2345ec198114890571478d38a8fbd3e5236401
Add a way to retrieve CTFontRef from QFont

Since macFontID restricts to quint32, we have to return that in
QFont::handle.

Task-number: QTBUG-17890
Reviewed-by: Eskil
(cherry picked from commit c8f299b7e675c839b16d750cd2633a57cdd0526f)
src/gui/text/qfont_mac.cpp
src/gui/text/qfontengine_coretext_p.h