https://bugs.documentfoundation.org/show_bug.cgi?id=167511
--- Comment #16 from Armin Le Grand (collabora) <[email protected]> --- The render with VCL primitive renderer uses VclPixelProcessor2D::processTextSimplePortionPrimitive2D which calls VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D and there in drawinglayer/source/processor2d/vclprocessor2d.cxx in line 451 it uses mpOutputDevice->SetTextColor(Color(aRGBFontColor)); and inside that the color is manipulated. OutputDevice::SetTextColor uses vcl::drawmode::GetTextColor and that when DrawModeFlags::SettingsText and not DrawModeFlags::SettingsForSelection uses rStyleSettings.GetWindowTextColor(). Thus this is not done based on using up-to now existing BG - wich is good, would be another read-access to target surface which is bad for many target systems. It is bad since it uses internal information from OutputDevice, resp. DrawModeFlags and StyleSettings. That is not available (by purpose - we want to get away from OutputDevice) in CairoSDPR. The graphic data (aka primitives) for a primitive renderer are 'complete' and should no longer be interpreted by a renderer, but just 'rendererd'. I have to think about where and how to best apply that to primitives. I think there is already some stuff when creating those text primitives, have to check... -- You are receiving this mail because: You are the assignee for the bug.
