<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Do not render previews of symbol fonts"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108720#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Do not render previews of symbol fonts"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=108720">bug 108720</a>
from <span class="vcard"><a class="email" href="mailto:caolanm@redhat.com" title="Caolán McNamara <caolanm@redhat.com>"> <span class="fn">Caolán McNamara</span></a>
</span></b>
<pre>include/svtools/sampletext.hxx isSymbolFont currently takes a const vcl::Font
&rFont and checks its charset and its family name, so I suggest changing
isSymbolFont to take a rtl_TextEncoding eCharSet and OUString familyname
argument instead.
Then where we currently pass in rFont to pass in rFont.GetCharSet(),
rFont.GetFamilyName() and in svx/source/styles/CommonStylePreviewRenderer.cxx
where we now have
if (IsStarSymbol(pFontItem->GetFamilyName()))
change that to
if (isSymbolFont(pFontItem->GetCharSet(), pFontItem->GetFamilyName())
and presumably that should then do the right thing</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>