diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-09-03 16:15:18 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-09-03 17:01:38 +0100 |
commit | feddd3d87077abb2d5435804a9a4859286f6d86f (patch) | |
tree | fe5d61ee70ac4f940c33b61bdfca67bbf7b9a000 /vcl/ios/source | |
parent | 402603793360fb058f84e2aa88d5fdcd6131334d (diff) |
Refetch fonts if new ones installed or old ones deinstalled
i.e. honour gtk-fontconfig-timestamp so that if we request a font from
packagekit to be installed, then we can auto-use it when it appears.
Change-Id: Id0d914a3f9cd589d9e8a87bf9be4b6e47de2e191
Diffstat (limited to 'vcl/ios/source')
-rw-r--r-- | vcl/ios/source/gdi/salgdi.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/ios/source/gdi/salgdi.cxx b/vcl/ios/source/gdi/salgdi.cxx index 252508677448..ebf643091fca 100644 --- a/vcl/ios/source/gdi/salgdi.cxx +++ b/vcl/ios/source/gdi/salgdi.cxx @@ -104,6 +104,13 @@ void IosSalGraphics::GetDevFontList( ImplDevFontList* pFontList ) pSalData->mpFontList->AnnounceFonts( *pFontList ); } +void IosSalGraphics::ClearDevFontList() +{ + SalData* pSalData = GetSalData(); + delete pSalData->mpFontList; + pSalData->mpFontList = NULL; +} + void IosSalGraphics::GetDevFontSubstList( OutputDevice* ) { // nothing to do since there are no device-specific fonts on Ios |