Well, I finally got WinXP to display the surrogate pairs correctly.

It's a configuration thing in XP, it seems; it knows how to handle surrogate 
pairs, but for some reason the ability is disabled by default.

I can't find an easy-to-access switch anywhere to change this, but there is a 
registry tweak you can make - to be fair, this was described in the MSDN pages, 
but I didn't comprehend what it was telling me... I'd like to say it was less 
than obvious, others may not agree!

Anyway, what I did was - in regedit, find the key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack

Then add a new DWORD value named "SURROGATE" and give it a value of 2.

That didn't seem to make any difference, so I re-booted the machine, and since 
then the display of surrogate pair glyphs has worked pretty much fine - looks a 
fair bit like Vista in fact, though without the fancy auto-substitution of 
missing glyphs in the BMP that Vista does.

I'm much happier now - though how we are going to explain this to end users 
that want to dislpay supplementary plane glyphs on WinXP I don't know...


_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to