I am developing a little application.
The captions (text displayed on the Labels) with WideChars
(Greek letters) are correct under Vista and Windows7 in almost every case, but in some cases (on some computers) I have only empty squares. The language is the same, the operating system too. What can cause it?
Please help me how can I resolve this problem.
The problem is that the fonts on the computers that are failing do not have glyphs for the characters you are displaying. Typically this happens on XP machines. Vista comes with much more complete fonts.
You may need to distribute fonts, or encourage users to install language packs, to ensure fidelity.
If you are testing a Greek translation of your application, you should test it on a Greek installation of Windows. An English installation of Windows does not necessarily come with fonts that support your range of Unicode characters.
Windows 7 Ultimate and Enterprise provide additional language packs as optional updates via Windows Update. Your users with those versions of Windows 7 may have installed the optional language packs, which may include versions of the fonts that support the Greek letters you are using. Other versions of Windows 7 do not include additional language packs. Windows is really only guaranteed to full support the language that was installed, or languages that share a common character set. You can't rely on users having a specific language pack.
It's most likely not a real problem if you are translating your program based on the user's locale settings. Those running your program in Greek will have Windows installations that support Greek.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With