On Windows 7 (and Windows 8.1 - don't know), is there a way to ensure that the Punjabi font is legible in dialog box controls?

Here's an interesting situation. My application is MFC based Dialogue . It supports nearly 40 languages, some of which are called partial translations.

Partial translations, as the name suggests. Thus, the bulk of the GUI is still in English and only parts of it are translated. For the most part it looks and works great.

However, I recently added partial translations for Punjabi . Now my development platform is Windows 10 and I think the text looks great, albeit a little small:

Punjabi - Windows 10

However, if I run my virtual copy of Windows 7 , the results are much worse:

Punjabi - Windows 7

Now it's a struggle to read. All my fonts in the application use MS Shell Dlg (8) by default.

I understand that I can create my own CFont

as a member of the dialog and apply it to specific controls. But then I have difficulty in designing the correct text size to use. Since the user's screen resolution, etc. It can be anything. I don't even know if this is the right thing to do?

So the question is:

Specifically, if the user is on Windows 7 (and perhaps Windows 8.1 has not tested it), is there a way to ensure that the Punjabi font is legible in dialog controls?

+3


source to share





All Articles