LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing some Fonts between different computers

Hi. I have a LV 2015 system on Win 10 and LV2015 on XP.

On copying a vi from the former to the latter,

a Multilist box with an Application Font Size 15 (on Win10) gets changed to a Size 17 (on XP).

Also, the number of rows gets changed (17 to 15).

 

Is there a way of defining these characteristics ?  It upsets the size (and scaling) of the control which needs to also relate to another control (this is a colour array of boxes).

 

Regards JC.....

 

 

0 Kudos
Message 1 of 6
(1,138 Views)

This is a well known problem. The solution is not to use Application Font, use instead a specific font (e.g. Arial, Times New Roman or whatever) that is also present in the target machine.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 2 of 6
(1,132 Views)

At the time "Tahoma" was seen as a good option compared to the standard font that Labview had been using, and that Microsoft stopped supplying.  You propably still can find those discussions by searching for this font.

 

Font size then was "13".  Labview changed to default font size "15" from Labview 2015 on it seems. (have never defaulted to that size in my code)

 

It appears Labview is using a trick to change font sizes automatically in between versions or platforms.  I always immediately set the font in Settings when moving to a new platform or machine to prevent Labview from rearranging my block diagrams, so I notice none of this.

0 Kudos
Message 3 of 6
(1,090 Views)

@Ettepet wrote:

At the time "Tahoma" was seen as a good option compared to the standard font that Labview had been using, and that Microsoft stopped supplying. 


 

Tahoma is still there, even in windows 11. One problem is that if you move a VI to Linux, the fonts are all over the place an way too big, because Tahoma does not exist there and things get ugly really quickly.

0 Kudos
Message 4 of 6
(1,039 Views)

Hi. Thanks for the comments.

I use for the Multi-List box the font 17pt Tahoma and for the colour boxes on the LHS 20 X 20 pixels.

pushkin_0-1686195367393.png

 And all seems quite happy.

Ta.

0 Kudos
Message 5 of 6
(995 Views)

@pushkin wrote:

Hi. Thanks for the comments.

I use for the Multi-List box the font 17pt Tahoma and for the colour boxes on the LHS 20 X 20 pixels.

pushkin_0-1686195367393.png

 And all seems quite happy.

Ta.


My post about using the Tahoma font mainly refers to the block diagram.  That choice was based on Labview not overly messing up the layout between versions.  When I posted I wasn't aware of additional font related problems with later Labview versions.

 

My software uses a fixed font for its user interface, not any standard Labview font.  Such an approach was suggested in the first reply to your opening post.  So it needn't be Tahoma.

 

NB: My predecessor chose fonts that only get installed with MS Office, so I have to install the fonts manually on a pc/laptop which hasn't got Office.  Something to keep in mind, if applicable.

0 Kudos
Message 6 of 6
(980 Views)