LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

The fonts in the menus that were created using LabVIEW look fine on my PC but when the application runs on a laptop, the fonts are all wrong. Do you know how I can have consistent fonts when the application runs on any PC?

By default the fonts used are the ones adaptive to how OS has been set up (application font etc.). You can overrun this by setting some keys in the .ini file of the application (the file that is automatically generated the first time the app is run, add the header [nameofapp without .exe] and then the keys to that file...) :

appFont=""Tahoma" 13"
dialogFont=""Tahoma" 13"
systemFont=""Tahoma" 13"

In the above example I force the application to use Tahoma size 13 no matter how the user has set up his OS (e.g. if he is using extra large fonts...). This is quite neat, it means that even though you may have applications built already you can still remedy the problem by editing the .ini file like this. An alternative is to actually use specific fonts instead o
f the system based ones...but then you don't have the flexibility this .ini feature gives you. Just make sure the font you choose is installed on the computers (include it in the installation if necessary).
Message 2 of 3
(3,327 Views)