Mac Core Text font database for QPA
authorJiang Jiang <jiang.jiang@nokia.com>
Tue, 15 Nov 2011 12:59:36 +0000 (13:59 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 30 Nov 2011 12:56:22 +0000 (13:56 +0100)
commita80a8b4703288c5bc2c0d5cc638defe0ae87af29
tree1a52f4beee17bb1a46055a6be374a2750f1bb754
parentd34170aff2707b223b0e22e61efa7a26505f9c6e
Mac Core Text font database for QPA

Add Core Text fontdatabase for Mac and use it as default. It also
reenabled Core Text font engine for native font rendering on Mac,
though it's not used in declarative UI (by default declarative
will still use scenegraph, which will only use this font engine
for retrieving font metrics and outlines).

With the new fontdatabase it's now possible to load all the fonts
installed in the system as well as adding application fonts.

Change-Id: I0d2aa1420019adf6d0f70dd147a9d71b2684d3f1
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/platformsupport/fontdatabases/fontdatabases.pri
src/platformsupport/fontdatabases/mac/coretext.pri [new file with mode: 0644]
src/platformsupport/fontdatabases/mac/qcoretextfontdatabase.mm [new file with mode: 0644]
src/platformsupport/fontdatabases/mac/qcoretextfontdatabase_p.h [new file with mode: 0644]
src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm [moved from src/widgets/platforms/mac/qfontengine_coretext.mm with 98% similarity]
src/platformsupport/fontdatabases/mac/qfontengine_coretext_p.h [moved from src/widgets/platforms/mac/qfontengine_coretext_p.h with 98% similarity]
src/plugins/platforms/cocoa/cocoa.pro
src/plugins/platforms/cocoa/qcocoaintegration.mm