6e2a7571e8
because the canvas text drawing impl falls back to using an OutputDevice view of the canvas to use the vcl text drawing apis to achieve vertical text To get an OutputDevice view of the canvas there is a specific VirtualDevice ctor available to create a VirtualDevice that, unlike the normal case, doesn't have its own specific backing buffer, but instead draws to the underlying target provided via the SystemGraphicsData arg The svp/gtk impl missed that understanding and provided an ordinary VirtualDevice with its own backing buffer, not a VirtualDevice that would draw to the expected target surface of the canvas. So the vertical text was drawn to a different surface than the intended one, and was just discarded. The cairo use in the canvas long precedes the use of cairo in vcl itself. Seeing as text is now rendered with cairo in all cases where the canvas uses cairo its probably now pointless for canvas to have its own text rendering path. Change-Id: Ie3b0a43ca2b746cbfe25e2d0415315b3d5403cd2 Reviewed-on: https://gerrit.libreoffice.org/80162 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> |
||
---|---|---|
.. | ||
Qt5AccessibleEventListener.cxx | ||
Qt5AccessibleWidget.cxx | ||
Qt5Bitmap.cxx | ||
Qt5Clipboard.cxx | ||
Qt5Data.cxx | ||
Qt5DragAndDrop.cxx | ||
Qt5FilePicker.cxx | ||
Qt5Font.cxx | ||
Qt5FontFace.cxx | ||
Qt5Frame.cxx | ||
Qt5Graphics.cxx | ||
Qt5Graphics_Controls.cxx | ||
Qt5Graphics_GDI.cxx | ||
Qt5Graphics_Text.cxx | ||
Qt5Instance.cxx | ||
Qt5Instance_Print.cxx | ||
Qt5MainWindow.cxx | ||
Qt5Menu.cxx | ||
Qt5Object.cxx | ||
Qt5OpenGLContext.cxx | ||
Qt5Painter.cxx | ||
Qt5Printer.cxx | ||
Qt5SvpGraphics.cxx | ||
Qt5SvpSurface.cxx | ||
Qt5SvpVirtualDevice.hxx | ||
Qt5System.cxx | ||
Qt5Timer.cxx | ||
Qt5Tools.cxx | ||
Qt5Transferable.cxx | ||
Qt5VirtualDevice.cxx | ||
Qt5Widget.cxx | ||
Qt5XAccessible.cxx |