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
windows-7 fonts mfc


source to share


No one has answered this question yet

Check out similar questions:

five
How do I recreate the style used by the Resource Editor when dynamically creating MFC controls?
2
Why isn't all text in my MFC application displayed using ClearType?
2
English characters not showing when typing text using indicators input method in Swing
2
How do I find the CStatic (text) bounding rectangle of the actual content?
2
What is the default font for property sheets and pages?
0
How do I make the font larger in a Windows application?
0
Scaling Dialog Fonts - Using GetStockObject (SYSTEM_FONT)
0
Creating a Qt Application Working with Various Sizes of System Fonts
0
Is it possible to bind a window form in C # (preferred) or vc ++ in an MFC application in MSVC2010?
0
how to change the font of edited text using MFC in visual studio 2010



All Articles
Loading...
X
Show
Funny
Dev
Pics