Kaydet (Commit) 7ce0a0a7 authored tarafından Armin Le Grand's avatar Armin Le Grand

i124686 reuse already set font for interpreting the MetaFile action META_TEXTRECT_ACTION correctly

üst 4a7c54e0
......@@ -2127,8 +2127,13 @@ namespace
drawinglayer::primitive2d::Primitive2DSequence xSubContent;
{
rTargetHolders.Push();
// #i# for sub-Mteafile contents, do start with new, default render state
// for sub-Mteafile contents, do start with new, default render state
// #124686# ...but copy font, this is already set accordingly
const Font& rTargetFont = rPropertyHolders.Current().getFont();
rPropertyHolders.PushDefault();
rPropertyHolders.Current().setFont(rTargetFont);
interpretMetafile(aGDIMetaFile, rTargetHolders, rPropertyHolders, rViewInformation);
xSubContent = rTargetHolders.Current().getPrimitive2DSequence(rPropertyHolders.Current());
rPropertyHolders.Pop();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment