<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Text in LO brand logo rendered ugly when anti-aliasing is disabled"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136633#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Text in LO brand logo rendered ugly when anti-aliasing is disabled"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=136633">bug 136633</a>
from <span class="vcard"><a class="email" href="mailto:heiko.tietze@documentfoundation.org" title="Heiko Tietze <heiko.tietze@documentfoundation.org>"> <span class="fn">Heiko Tietze</span></a>
</span></b>
<pre><a href="https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/about.cxx?r=14cfff50">https://opengrok.libreoffice.org/xref/core/cui/source/dialogs/about.cxx?r=14cfff50</a>
93 const tools::Long
nWidth(m_pCopyrightLabel->get_preferred_size().getWidth());
94 BitmapEx aBackgroundBitmap;
96 if (SfxApplication::loadBrandSvg(Application::GetSettings()
97 .GetStyleSettings()
98 .GetDialogColor()
99 .IsDark()
100 ? "shell/logo_inverted"
101 : "shell/logo",
102 aBackgroundBitmap, nWidth * 0.8)) {
103 ScopedVclPtr<VirtualDevice> m_pVirDev =
104 m_pBrandImage->create_virtual_device();
105 m_pVirDev->SetOutputSizePixel(aBackgroundBitmap.GetSizePixel());
106 m_pVirDev->DrawBitmapEx(Point(0, 0), aBackgroundBitmap);
107 m_pBrandImage->set_image(m_pVirDev.get());
108 m_pVirDev.disposeAndClear();
It says: Load the SVG and size it to 80% of the length of the copyright text.
Then draw this image exactly as it to the provided image canvas.
For me on Linux it's crisp with or without antialiasing.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>