Kaydet (Commit) f264a149 authored tarafından Caolán McNamara's avatar Caolán McNamara

show CTL preview if CTL is enabled

üst 62a37fd5
......@@ -690,6 +690,7 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
Printer* pPrinter = pImpl->pPrinter;
const SvxFont& rFont = pImpl->aFont;
const SvxFont& rCJKFont = pImpl->aCJKFont;
const SvxFont& rCTLFont = pImpl->aCTLFont;
if ( !IsEnabled() )
{
......@@ -721,7 +722,17 @@ void SvxFontPrevWindow::Paint( const Rectangle& )
{
pImpl->aText = rFont.GetName();
if (pImpl->m_bCJKEnabled)
{
if (pImpl->aText.Len())
pImpl->aText.AppendAscii(" ");
pImpl->aText += rCJKFont.GetName();
}
if (pImpl->m_bCTLEnabled)
{
if (pImpl->aText.Len())
pImpl->aText.AppendAscii(" ");
pImpl->aText += rCTLFont.GetName();
}
}
if ( !pImpl->aText.Len() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment