On 12.04.2011 16:37, Ian MacArthur wrote:
> 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,
Which MSDN pages? Can you give a link?
> 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...
Well, maybe it's not such a big problem. I remembered that Greg gave a tip
some time ago when I wanted to test some Asian fonts. So I did now on my
office PC (WinXP) what I did before. I can't tell the menus in English,
because I have a German version of XP, but anyway, trying to translate:
Start system configuration ("Systemsteuerung"), select Region and Language
Options ("Regions- und Sprachoptionen"), select the "Languages" tab, and
mark "install files for Eastern Asian Languages". It may also be necessary
to select at least one Eastern Language in the "extended" tab. Then click
okay and confirm that you want to install. You need the installation CD to
proceed, unless it has been saved to your disk. Then - reboot.
After this I could also see the Musica font rendered correctly, if I set
the font explicitly (otherwise not). I can also confirm that the registry
key you mentioned above is now set as you wrote (2).
I'd guess that most people who need these fonts have it already installed
in this way and thus won't have to hack the registry. But it's good to
know anyway...
Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev