When importing EMF files, certain records (like EXTTEXTOUTW) in GM_COMPATIBLE mode were not respecting non-proportional scaling or single-axis mirroring. This resulted in text that was too wide/narrow or rotated in the wrong direction. Key changes: - Added font width scaling based on the ratio between fXScale and fYScale. - Handled 180-degree rotation when both axes are negative. - Corrected font orientation for single-axis mirroring by inverting the angle (3600 - orientation) to compensate for the reversed chirality of the coordinate system. Change-Id: Ib1126c192a80b973f343f25bf20ec119d94d71a8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199770 Tested-by: Jenkins Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
4.0 KiB
4.0 KiB