From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Undesired LabVIEW Font Change

I have developed an application in LabVIEW that when developed under Windows 8.1 and all items like Numeric Indicator or Numerical Controls were created with default font and size (Font: Application, Size: 15, Align: Left as Plain), however after building the exe file and transfer the application to another computer, all fonts were changed and increased in size.

 

The problem with this is that in some cases this increase in size overlaps other objects on the Front Panel, and in some Numerical Indicators, the numbers do not fit inside the indicator box.

 

How could I force the usage of a particulary font and size on an application?

0 Kudos
Message 1 of 3
(2,417 Views)

Options...Environment

 

If you uncheck "Use default font"....you can specify what font you want to be used when Application font is selected.

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 3
(2,406 Views)

Hi Quintino,

 

you can force the fonts of the EXE by setting some keys in it's INI file.

 

You can use settings similar like those mentioned here, just replace the number ("0" or "2") by the font name you like to use (e.g. "Arial")!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 3
(2,390 Views)