LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows font settings produce incorrect appearance

I have developed an application on a Windows 2000 machine using standard font settings. When compiled and running on a machine with large (125% of the normal 96dpi font) settings... the text runs off the buttons, out of the boxes... everything is messed up. Is there a way to maintain a standard interface that won't change sizes for different users based on whatever their particular font settings are? Do I have to use non truetype fonts to get this effect? I would like a user to be able to run the install program for my application without having to go find a small/large font configuration setting that is six options deep.
Message 1 of 3
(2,880 Views)
If you have chosen the application to use "application font" then that means the font will vary with the default on the machine it is run on....If however you instead specify a specific font then it will not change size or design, on the other side you will need to ensure that that font is installed...

You do not need to change the font to a custom one everytime, just set the default in the font section of Options.

Check out the following articles:

http://digital.ni.com/public.nsf/websearch/dd59d28c6fe7ae9086256a34005ab731?OpenDocument

http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/569a6d181945819e8625697b007272b6?OpenDocument
Message 2 of 3
(2,880 Views)
One cool thing; if you have already made an application with application/dialog and system fonts you can still prevent the problem simply by adding some keys to the .ini file of the application.

I had an old application that was messed up when the user set his system to use large fonts...By adding the following to the .ini file of the application I could override this:

appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13
Message 3 of 3
(2,880 Views)