use black as text color
Change-Id: I109ef0217f3dbe13691e6be60a0a5e2c89280e45
This commit is contained in:
@@ -73,7 +73,7 @@ Text::Text(OpenGL3DRenderer* pRenderer, const OUString& rStr, sal_uInt32 nId):
|
|||||||
// Convert OUString to BitmapEx.
|
// Convert OUString to BitmapEx.
|
||||||
VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
|
VirtualDevice aDevice(*Application::GetDefaultDevice(), 0, 0);
|
||||||
Font aFont = aDevice.GetFont();
|
Font aFont = aDevice.GetFont();
|
||||||
aFont.SetColor(COL_WHITE);
|
aFont.SetColor(COL_BLACK);
|
||||||
aDevice.SetFont(aFont);
|
aDevice.SetFont(aFont);
|
||||||
aDevice.Erase();
|
aDevice.Erase();
|
||||||
aDevice.SetOutputSizePixel(Size(20,12));
|
aDevice.SetOutputSizePixel(Size(20,12));
|
||||||
|
Reference in New Issue
Block a user