Problem with fonts in Win 7 with text size adjust
Posted: Fri Jul 19, 2013 12:46 am
I have a problem using fonts in Windows 7 when the customer adjusts the text size
via the Screen Resolution.
For example, say that I use the following fonts to set and adjust the displayed text
on some of the Gadgets in my program.
In Windows 7 under Screen Resolution, there is a setting that allows you to
'Make text and other items larger or smaller'. 100% 125% 150%
100% = default and looks great
Is it possible to prevent that setting from affecting the font setting in my program?
When using my program on someones computer where they have it set to 125%, the letters are
enlarged, get clipped on some Gadgets and it looks terrible. At 150%, just forget using the program,
it's useless.
I would appreciate any input on this problem, if it's possible to fix this.
Thank you for your input.
via the Screen Resolution.
For example, say that I use the following fonts to set and adjust the displayed text
on some of the Gadgets in my program.
Code: Select all
LoadFont(#Font1, "Arial" , 8)
LoadFont(#Font2, "Verdana", 12, #PB_Font_Bold)
'Make text and other items larger or smaller'. 100% 125% 150%
100% = default and looks great
Is it possible to prevent that setting from affecting the font setting in my program?
When using my program on someones computer where they have it set to 125%, the letters are
enlarged, get clipped on some Gadgets and it looks terrible. At 150%, just forget using the program,
it's useless.
I would appreciate any input on this problem, if it's possible to fix this.
Thank you for your input.