View Full Version : Turkish Font/Script Display


Will Finkle
10-10-2007, 12:08 AM
We have developed a legacy C++ application that uses the System font, for
dialog boxes. The problem we're experiencing is that the dialog displays
Turkish characters properly on most UI elements, however it does not display
them properly on input boxes (edit controls, list boxes, etc.) which display
user data at runtime. The characters instead display as their ISOLATIN-1
equivalent (there are four in particular).

The root of the issue apparently lies with Windows XP Embedded, because the
same code running on Windows Server 2003 and on Windows XP Professional
displays the characters perfectly. The registry entries look the same as far
as font definitions, substitutions, fallback, etc. so we are stuck at this
point, scratching our heads wondering what the essential difference is, and
how we can work around it on XP Embedded. Note that the system locale is
Turkish, and elsewhere there are no issues with displaying Turkish
characters.

Here is an example of the dialog definition in the RC file (A2-->162 which
designates Turkish script, and again, this works fine on XP Pro & Server 2003)
FONT 10, "System", 0, 0, 0xA2

How do I know what the default font and script is for an input box, and/or
is there a way to change the specification for them in the registry? This
would be a much better solution for us, as we could just change the image for
the XP Embedded version of our product.

Thank you for your help.

Will Finkle