summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-01-23 15:13:11 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-01 14:20:33 +0100
commit65e294e618e077ad6999ef24f9e6047c2a838b7d (patch)
tree86f3227f6b11b18a7b906f7ae5ca798e62f89ca8 /vcl
parentf3513d038dfc09b2be784ae1c747917edbbc085a (diff)
always propagate font changes
Otherwise e.g. informing about new fonts when loading a document with embedded fonts doesn't work. I'm not quite sure why this should be limited to only printers or pdf, so this may be temporary until a problem shows up. There'a also a warning about refcount in ImplFontCache::Invalidate(), which seems to be bogus, because invalidating caches shouldn't have effect on anything except for speed, but with the way font handling in vcl is designed I wouldn't be surprised if ImplFontCache wasn't actually a cache. http://lists.freedesktop.org/archives/libreoffice/2012-September/038163.html Change-Id: Ib68c0c10a0f5340a532c5c59396ef2cfbc588b5f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/outdev3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/outdev3.cxx b/vcl/source/gdi/outdev3.cxx
index efabb843234c..e5d22a33d3d1 100644
--- a/vcl/source/gdi/outdev3.cxx
+++ b/vcl/source/gdi/outdev3.cxx
@@ -198,7 +198,7 @@ void OutputDevice::ImplUpdateFontData( bool bNewFontLists )
mpGraphics->ReleaseFonts();
}
- if ( GetOutDevType() == OUTDEV_PRINTER || mpPDFWriter )
+// if ( GetOutDevType() == OUTDEV_PRINTER || mpPDFWriter )
{
ImplSVData* pSVData = ImplGetSVData();