diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 16:30:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-25 16:34:31 +0100 |
commit | 21334f74a53197c32863fdf3d7e6f365f1b868b7 (patch) | |
tree | 738e2c69835d4a467ce70902b007530ece8a5e3c /drawinglayer | |
parent | 6643b783b4d8c298eae716a36a1776692498f00b (diff) |
Revert "give empty constructed default font a default height"
and make a real copy of the TargetFont
the 0,0 font size appears to mean "default" size so it can
take the desktop env font size or some such, with a hard-coded
value then the various "bold" entries in the UI are huge
This reverts commit 121aac37673c1a8142db01e26e50be6de7b36987.
Change-Id: Iec1d3867403808370d89d6b5ad2fec60ffdcd881
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/primitive2d/metafileprimitive2d.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx index 46d44670f6c3..8a19cbedea64 100644 --- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx @@ -2119,9 +2119,9 @@ namespace // for sub-Mteafile contents, do start with new, default render state // #i124686# ...but copy font, this is already set accordingly - const Font& rTargetFont = rPropertyHolders.Current().getFont(); + Font aTargetFont = rPropertyHolders.Current().getFont(); rPropertyHolders.PushDefault(); - rPropertyHolders.Current().setFont(rTargetFont); + rPropertyHolders.Current().setFont(aTargetFont); interpretMetafile(aGDIMetaFile, rTargetHolders, rPropertyHolders, rViewInformation); xSubContent = rTargetHolders.Current().getPrimitive2DSequence(rPropertyHolders.Current()); |