diff options
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 386edfc985dc..6af2f7af3068 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -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() ) |