https://bugs.documentfoundation.org/show_bug.cgi?id=174501

--- Comment #8 from Patrick (volunteer) <[email protected]> ---
Found where there text is actually drawn. Which code sets the render context's
font size is still a mystery to me:

diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index dc8d8d4e8971..4e336e42335c 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -503,6 +503,9 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext,
const tools::Rectangl
     }
     else if (!bDrawSelection && !mpIMEInfos)
     {
+vcl::Font aFont(rRenderContext.GetFont());
+aFont.SetFontHeight(aFont.GetFontHeight() * 2);
+rRenderContext.SetFont(aFont);
         rRenderContext.DrawText(aPos, aText, 0, nLen);
     }
     else

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to