02-12-2009 04:31 AM
hi, dan_u
Cause what I make is a driver, so I have to use the default font which is always recommended.
02-12-2009 04:40 AM
hi, Dear t06afre
Finally, I think I got to know why was that happened.
As u say, I can modify the labview.ini file and release it to the endusers to solve the problem.
But as it's a driver, so I have to select the default settings
(Cause I cannot suppose which OS, which language the enduser use)
Therefore it's NOW a no-solution problem, and should be omitted.
02-12-2009 05:17 AM
02-13-2009 12:30 AM
hi, t06afre
thx for ur post.
I belive ur method will do well if I make a exe file for my endusers.
but because what I make is a driver, the default font is required.
[...Use the default (Application) font for all labels. LabVIEW includes this font, so it is available to all other users. ]
http://zone.ni.com/devzone/cda/tut/p/id/3271
So if I choose a specific font, then the enduser maybe get more bugs who have not that one.
And I think the VIs can be used in Linux or Mac OS, therefore the font used in windows may not be used in other OSes, e.g. the Arial.
Though I'm not sure cause I have not yet used the LabVIEW @Linux/Mac.
02-13-2009 02:26 AM - edited 02-13-2009 02:28 AM
You have to decide what you want. Either you want the front panel to look the same on all machines -> use a fixed, specified font (having the risk you mentioned)
OR you're fine with the fact that the front panel looks different on different OS languages or OS types. In this case, use application, system, dialog fonts.
You can't really have it both I guess. I'm not sure about Arial or Times New Roman for instance, I guess these fonts should be pretty much available on any system.
04-06-2010 03:50 PM
This is a very elegant solution to fix this pesty problem. Thank you for your input.
Singh
04-06-2010 03:53 PM
Coq Rouge wrote
"Did you do it correct? After changing the font settings you have to restart Labview compleatly. I inserted this in my labview.ini file
FPFont="Tahoma" 13
BDFont="Tahoma" 13
appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13
After I did this the font size stayed as I wanted. Regardless of the windows font size or screen size. If you are building a exe file you must make a coustum labview.ini file with these settings and include it in your build script"
This is a very elegant solution. Thank you for posting it.
Singh