Currently when we render EMF+ images, they are first rendered to a bitmap
(using a set size/resolution). This causes fonts to render poorly and pdf
export to contain the bitmap, instead of the text.
This is documented clearly in vcl/README.
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"
So, vcl draws the EMF+ in the same way as the current EMF.
The vcl/README says this is a lot of work. I am not sure exactly why this
is. It appears that it is merely a cut and paste exercise
What I would find helpful is somebody to comment on the accuracy of
vcl/README, since this section was updated a couple of years ago, the
comments may no longer be valid.
There was a comment in
http://nabble.documentfoundation.org/Query-about-the-direction-of-EMF-EMF-pr
ocessing-td4132203.html#a4132247 by Thorsten that suggests there are further
issues.
Thanks.
Context
- Updating vcl EMF+ Renderer without using the cppcanvas metafile renderer · Aptitude Testing Team
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.