Articles

Solved How do I change the default TTF preview text

October 18, 2009 at 14:59:46
Specs: Windows XP Pro, Intel Core 2 Duo, 4 GB RAM

Normally when you preview a font in Windows, the default preview text is "The Quick Brown Fox Jumps Over The Lazy Dog". However I recently came across a font called QK Sophie that shows the sentence "Jackdaws Love My Big Sphinx Of Quartz" instead. I always thought the preview text was fixed by the font preview application, so how is this font able to change it and how can I do the same?

Image of Arial preview: http://i37.tinypic.com/ehj6kj.gif

Image of QK Sophie preview: http://i35.tinypic.com/rans75.gif


See More: How do I change the default TTF preview text

Report •


#1
October 18, 2009 at 17:26:07
✔ Best Answer

Hello ajones81,

The preview string, as you thought, is determined by the font preview application. In this case, Microsoft's font preview application already had the alternative "Jackdaws Love My Big Sphinx Of Quartz" string built in. Which text string to be used depends on the Windows locale.

From http://blogs.msdn.com/michkap/archi... , the algorithm to determine which text string to display would go something like this:

if the Thread Locale is CJK:
if the LPLOGFONT->lfCharset is SYMBOL_CHARSET, ANSI_CHARSET, DEFAULT_CHARSET, or OEM_CHARSET:
The quick brown fox jumps over the lazy dog. 1234567890
else
Jackdaws love my big sphinx of quartz. 1234567890
else
if the font claims to support the CP_ACP of the system:
The quick brown fox jumps over the lazy dog. 1234567890
else
Jackdaws love my big sphinx of quartz. 1234567890

"Localized versions of Microsoft Windows use different sample texts when viewing local language fonts, depending on the combination of locale settings and supported code page table in the font being viewed. The feature was debuted in English versions of Windows beginning with Windows ME, where the alternative message is Windows Millennium Edition. In Windows XP, the alternative message is changed to Jackdaws love my big sphinx of quartz. 123456890.

In Windows Vista, the alternative phrase no longer exists in the English font viewer, but the alternative localized string feature is still available. In addition, new alternative phrases are introduced for localized Windows releases."

(\__/)
(='.'=) It's always nice to have some feed back after things are fixed =)
(")_(")


Report •

#2
October 23, 2009 at 03:16:12

Hi redxiii,

Sorry for the late reply. I had email notifications turned on to let me know of any replies, but either I never received any or they mistakenly ended up in my Spam folder. Anyway...

Ah... Michael Kaplan's blog! Why didn't I think of that? Thanks for the link. :) I only wish he'd bothered to mention what CJK and CP_ACP stand for, but then again I guess his posts are targeted towards only the few who would understand such arcane stuff! ;)

So a little bit of Googling informs me that CJK = China/Japan/Korea, and CP_ACP = ANSI Code Page. Hmm, since my thread (implying FontView.exe program thread?) locale is not CJK, I guess the only reason why I'm seeing the "Jackdaws" phrase for this font is because it doesn't claim to support the CP_ACP of the system, whereas most other fonts do and so show the common "Fox" phrase instead.

Well, that does clear up matters a lot. Thanks! Now if only someone could tell me how I can edit a font to ensure it supports CP_ACP or not. I already have High-Logic FontCreator Pro with me, if that helps.


Report •

#3
October 27, 2009 at 18:51:16

Unfortunately none of the fixed pangrams are very useful in showing the characteristics of a textfont. I'd prefer to use my own string, something like "SQPGWMFRaefg359".

With Windows XP it was relatively easy to edit the pangram in 'fontview.exe' using a resource editor. This doesn't seem to work in Windows 7 (at least I can't find the pangram text). Does anyone know where it is hidden now?

Of course it would have been nice if Microsoft had provided an easy way to change the pangram in the first place.


Report •

Related Solutions


Ask Question