To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=61008 Issue #:|61008 Summary:|RFE: Show a sample sentence in the font selection |dialog Component:|framework Version:|OOo 2.0.1 Platform:|All URL:| OS/Version:|All Status:|UNCONFIRMED Status whiteboard:| Keywords:| Resolution:| Issue type:|ENHANCEMENT Priority:|P3 Subcomponent:|ui Assigned to:|tm Reported by:|openskm
------- Additional comments from [EMAIL PROTECTED] Sun Jan 22 06:08:14 -0800 2006 ------- Currenty the font selection dialog shows the name of the font in preview. In Hungarian community builds there is a patch which alters this behaviour. --- svx/source/dialog/fntctrl.cxx.orig 2005-09-11 17:21:06.000000000 +0200 +++ svx/source/dialog/fntctrl.cxx 2005-10-15 19:33:41.915643100 +0200 @@ -34,6 +34,7 @@ ************************************************************************/ // include --------------------------------------------------------------- +#include "chardlg.hrc" #ifndef _SFXVIEWSH_HXX #include <sfx2/viewsh.hxx> // SfxViewShell @@ -83,7 +84,7 @@ #include "fntctrl.hxx" #include "dialogs.hrc" -#define TEXT_WIDTH 20 +#define TEXT_WIDTH 50 using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -611,6 +612,8 @@ { Printer* pPrinter = pImpl->pPrinter; SvxFont& rFont = pImpl->aFont; + static sal_Char *str_fontpreview="külvízen úszó szárazjégtörő kisjármű"; + UniString str_fontpreview_utf=UniString(ByteString(str_fontpreview),RTL_TEXTENCODING_UTF8); if ( pImpl->bUseResText ) pImpl->aText = GetText(); @@ -627,7 +630,10 @@ } if ( !pImpl->bSelection ) - pImpl->aText = rFont.GetName(); +// pImpl->aText = rFont.GetName(); + pImpl->aText = str_fontpreview_utf; +// pImpl->aText.Append(rFont.GetName()); + if ( !pImpl->aText.Len() ) pImpl->aText = GetText(); It alters the font selection dialog so that it would show a sentence instead of the font name. The rationale behind this is that this way the user gets a visible feedback whether the actual font contains all the glyphs that his language needs. In Hungarian we use the "külvízen úszó szárazjégtörő kisjármű" sentence which shows all the accented latin characters we use and a quick glance gives back the user the feedback whether the actual font contains all the Hungarian glyphs he will need. I think if we were to clean up this patch, then it should become the default for all languages. We could make the sample sentence (e.g. The quick brown fox jumped over the lazy dog) localisable through the l10n framework. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]