<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [WMF] FILEOPEN: Wrong background color of the text in Impress (comment 11)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113673#c15">Comment # 15</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [WMF] FILEOPEN: Wrong background color of the text in Impress (comment 11)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113673">bug 113673</a>
from <span class="vcard"><a class="email" href="mailto:frob@df.ru" title="Valek Filippov <frob@df.ru>"> <span class="fn">Valek Filippov</span></a>
</span></b>
<pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=172602" name="attach_172602" title="Minified EMF sample">attachment 172602</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=172602&action=edit" title="Minified EMF sample">[details]</a></span>
Minified EMF sample
This WMF file has a bunch of Escape records with EPS data in them.
Fortunately this can be safely ignored.
However, because it's a logo, for its letters instead of setting font and
render the text, it draws the letters with polygons.
And for whatever reason* every letter that has more than one path (i.e. either
has more that one element, like "i" or has a closed shape, like "O") instead of
using polygon TWO bitmaps are used.
There is a SetStrechBltMode in front of each bitmap. For the first bitmap it
sets the mode to 1 (black on white) and for the second to 2 (white on black).
First bitmap uses 0x8800c6 ROP2 and the second one uses 0xee0086.
It looks like renderer for slide-show mode does not implement ROPs properly.
IMHO this is not a WMF import problem.
(* whatever system generated that file probably was not aware about
SetPolyfillMode and PolyPolygon; and/or wasn't creative enough to draw outer
shape in blue and inner shape in white on top of it.)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>