You're right though. I typically have a separate .RC file for Japanese and
equivalents. It's not too difficult to manage, but ...
http://msdn2.microsoft.com/en-us/library/ms903933.aspx
Hilarious.
* [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink]
* "Arial"="\\Windows\\simsun.ttc,NSimSun;\\Windows\\msgothic.ttc,MS UI
Gothic"
* "Times New
Roman"="\\Windows\\simsun.ttc,NSimSun;\\Windows\\msgothic.ttc,MS UI
Gothic"
* "Tahoma"="\\Windows\\simsun.ttc,NSimSun;\\Windows\\msgothic.ttc,MS UI
Gothic"
* "Courier New"="\\Windows\\simsun.ttc,NSimSun;\\Windows\\msgothic.ttc,MS
UI Gothic"
*
"Symbol"="\\Windows\\simsun.ttc,NSimSun;\\Windows\\msgothic.ttc,,c,e"?'?fSfVfbfN'?"
Maybe that helps explain why Microsoft's font handling randomly works and
randomly fails.
Anyway, back to the original issue: The correct answer is to make your
controls big enough for the strings that you're going to display in them.
Your customers' systems usually have font settings that are mostly
reasonable for their languages. If you find a way to squeeze your strings
into the same font face as the customer's setting but size 8 instead of 9,
then you deliver something that is hard to read and you alienate your
customers. Microsoft can do that and survive, but you can't. Accept the
customer's settings and make your controls big enough.
"Tom Serface" <tom.nospam@camaswood.com> wrote in message
news:99066DEA-32C2-41D3-B614-0D2BA6E5ABDC@microsoft.com...
You could try to use a different font better suited to those characters
using this technique:
http://msdn2.microsoft.com/en-us/library/ms903933.aspx
Tom
"Ted" <NOSPAMvisisage@hotmail.com> wrote in message
news:OEuPVNNEIHA.3940@TK2MSFTNGP05.phx.gbl...
Hi,
We are a commercial software firm, and have been using MFC platform for
years. Since last year, we have been bothered by the
application package dialog box got stray/oversize/chopped text display
in Chinese and Japanese Windows (mainly XP).
Our application runs fine on WinXP/Vista in English Windows systems. Is
there any quick way to fix this problem (such as using
font substitution ?)
Thanks
Ted