3a9027609e
With OPAQUE option enabled, the rectangle need to be drawn, before drawing text. With CLIPPED option enabled, the text needs to be drawn only inside rectangle. In previous implementation, the rectangle read was skipped and it was not drawn (for OPAQUE). For CLIPPED the rectangle was read but Clip was not applied to text drawing This commit fix that issues, and allow to draw rectangle correctly, with BGColor (background color), and add support for Text Clipping according to [MS-WMF] and [MS-EMF] specification. The fix applied to EMR_EXTTEXTOUTW, EMR_EXTTEXTOUTA and EXTTEXTOUT records Change-Id: I0f6248bb9465e6d5f797cddb53f058afb0815a2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116072 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> |
||
---|---|---|
.. | ||
inc | ||
qa/cppunit | ||
source | ||
CppunitTest_emfio_emf.mk | ||
CppunitTest_emfio_wmf.mk | ||
emfio.component | ||
IwyuFilter_emfio.yaml | ||
Library_emfio.mk | ||
Makefile | ||
Module_emfio.mk | ||
README.md |
WMF/EMF Reader
It contains emfio/source/reader which is used for "Insert -> Picture -> From File". It is used to read WMF (Windows Metafile), EMF (Enhanced Metafiles) and also MF+ enhanced EMF files.