36cb3f3f65
1. when there were some engines with ref > 1 in the cache, prior to calling QFontDatabase::{add,remove}ApplicationFont()/removeAllApplicationFonts() (QFontCache::clear() has never decreased engine's cache_count); 2. when the QFontEngineData's engine is not in cache i.e. the Box or Test font engine (~QFontEngineData() didn't free engines it keeps). Instead of using the font engine's (external) "cache_count" counter, QFontCache now references a given font engine every time it is inserted to the cache and dereferences exactly that number of times in clear(). Change-Id: I87677ebd24c1f4a81a53526f2e726e596b043c61 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
36 lines
715 B
Prolog
36 lines
715 B
Prolog
TEMPLATE=subdirs
|
|
SUBDIRS=\
|
|
qabstracttextdocumentlayout \
|
|
qcssparser \
|
|
qfont \
|
|
qfontcache \
|
|
qfontdatabase \
|
|
qfontmetrics \
|
|
qglyphrun \
|
|
qrawfont \
|
|
qstatictext \
|
|
qsyntaxhighlighter \
|
|
qtextblock \
|
|
qtextcursor \
|
|
qtextdocument \
|
|
qtextdocumentfragment \
|
|
qtextdocumentlayout \
|
|
qtextformat \
|
|
qtextlayout \
|
|
qtextlist \
|
|
qtextobject \
|
|
qtextpiecetable \
|
|
qtextscriptengine \
|
|
qtexttable \
|
|
|
|
contains(QT_CONFIG, OdfWriter):SUBDIRS += qzip qtextodfwriter
|
|
|
|
win32:SUBDIRS -= qtextpiecetable
|
|
|
|
!contains(QT_CONFIG, private_tests): SUBDIRS -= \
|
|
qfontcache \
|
|
qcssparser \
|
|
qstatictext \
|
|
qtextlayout \
|
|
qtextpiecetable \
|