https://issues.apache.org/ooo/show_bug.cgi?id=122216
--- Comment #9 from Armin Le Grand <[email protected]> --- ALG: Has to do with the test if graphics are inside (VclProcessor2D::RenderBitmapPrimitive2D). In the metafile case this comparison goes wrong when a ViewTransformation is set. Indeed the MetafileProcessor should have no ViewTransformation set, the goal is to record logical coordinates in the whole process. Thus, not setting the ViewTransformation for metafile recording was correct. On the other hand the visualisation substituton creator in case PRIMITIVE2D_ID_CONTROLPRIMITIVE2D in VclMetafileProcessor2D::processBasePrimitive2D needs to create the discrete positions to draw that control using awt::XView and awt::XGraphics. In this case it is known that a metafile is recorded and access to the target OutputDeice is given, so it seems to be best to fix it here. Also strange is that at the OutputDevice there is a neutral MapMode set, but maMapRes contains the scaling. It seems to be prepared when setting the MapMode, in this case only containing the MAP_100TH_MM as value. Checking if this can be fixed directly in the Metafileprocessor... -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
