https://bz.apache.org/bugzilla/show_bug.cgi?id=64716

--- Comment #11 from Andreas Beeker <kiwiwi...@apache.org> ---
Applied via r1883051

EMF: workaround for invalid EMF header bounds
EMF: add option to PPTX2PNG / DrawableHint to fallback to force EMF header
bounds
EMF: use RGB instead of HSL gradiants Subversion

The offset issues in emf1 and emf2 really took me a while to figure out and now
its unfortunately just a compromise/workaround which often happens to be ok.

For EMFs which make use of inner window / viewport bounds to scale parts
completely different to the header bounds this doesn't work and hence I've
introduced another rendering hint DrawableHint.EMF_FORCE_HEADER_BOUNDS
(boolean) to force the usage of the header bounds, i.e. ignore the inner bounds
/ records.

Apart of that, I've replaced the HSL gradient calculation with RGB gradients.
Although HSL looks much better - in my point of view - it looks like Powerpoint
use RGB ...

There are still other issues, which I hope to fix soon ... you can always
test-drive the nightly for the current fix

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to