Kaydet (Commit) 1e403aa7 authored tarafından Armin Le Grand's avatar Armin Le Grand

i121494 Corrected text decomposition when no text distances for text frame are given

üst bbe35be7
...@@ -257,8 +257,11 @@ namespace drawinglayer ...@@ -257,8 +257,11 @@ namespace drawinglayer
aTextAnchorRange.expand(aBottomRight); aTextAnchorRange.expand(aBottomRight);
// now create a transformation from this basic range (aTextAnchorRange) // now create a transformation from this basic range (aTextAnchorRange)
// #121494# if we have no scale use at least 1.0 to have a carrier e.g. for
// mirror values, else these will get lost
aAnchorTransform = basegfx::tools::createScaleTranslateB2DHomMatrix( aAnchorTransform = basegfx::tools::createScaleTranslateB2DHomMatrix(
aTextAnchorRange.getWidth(), aTextAnchorRange.getHeight(), basegfx::fTools::equalZero(aTextAnchorRange.getWidth()) ? 1.0 : aTextAnchorRange.getWidth(),
basegfx::fTools::equalZero(aTextAnchorRange.getHeight()) ? 1.0 : aTextAnchorRange.getHeight(),
aTextAnchorRange.getMinX(), aTextAnchorRange.getMinY()); aTextAnchorRange.getMinX(), aTextAnchorRange.getMinY());
// apply mirroring // apply mirroring
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment