Updating vcl EMF+ Renderer without using the cppcanvas metafile renderer

Armin Le Grand armin_le_grand at me.com
Thu May 12 08:41:32 UTC 2016


Am 12.05.2016 um 08:27 schrieb Aptitude Testing Team:
>>> To fix this, I believe that it should be possible to copy
>>> cppcanvas/source/mtrenderer/emfplus.cxx into vcl/source/filter/wmf
>> and
>>> adapt it to use "class WinMtfOutput"
>> I'd move it instead of copying. WinMtfOutput as-is won't cut it, you
>> need to extend it to cover more modern graphic operations. Caveat
>> emptor, that might require extensions to the internal StarView metafile
>> format then with some ripple-effects.
>> Another (IMO better) option is to convert it into a drawinglayer
>> primitive filter. Armin on Cc for further details on that topic.
> Thinking about it. I believe the best approach will be to use svgio as a
> framework (I will call it wmfio). Since svg (I believe) is the newest.
> Then in 4 stages, slowly port the WMF/EMF/EMF+ code
> 1) WMF
> 2) EMF
> 3) EMF+
> 4) Strip out the old code (If any remnants exist).
> I will make a start, and see where it takes me.

Fantastic, long needed thing to start with - ping if you have questions!


> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

ALG (PGP Key: EE1C 4B3F E751 D8BC C485 DEC1 3C59 F953 D81C F4A2)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160512/b1ef35eb/attachment.html>

More information about the LibreOffice mailing list