LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resolve Fonts

This VI works fine in the IDE, but not in an executable.

Any suggestions would be appreciated (other than the obvious of manually copying the font specs from labview.ini to a custom app.ini).

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

What does not work fine in an executable?

I created an executable (Application.exe) of your VI.

- if the entry 'appFont="Arial" 12' is in Application.ini the executable returns 'Arial' and '12'

- if appFont is not in Application.ini the executable returns an error 1520.

What do you want to achieve with your VI?

0 Kudos
Message 2 of 6
(1,510 Views)

@UliB wrote:

What does not work fine in an executable?

I created an executable (Application.exe) of your VI.

- if the entry 'appFont="Arial" 12' is in Application.ini the executable returns 'Arial' and '12'

- if appFont is not in Application.ini the executable returns an error 1520.

What do you want to achieve with your VI?


I want it to work without having to manually copying the font specs from labview.ini to a custom app.ini.

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

@paul_a_cardinale wrote:

@UliB wrote:

What does not work fine in an executable?

I created an executable (Application.exe) of your VI.

- if the entry 'appFont="Arial" 12' is in Application.ini the executable returns 'Arial' and '12'

- if appFont is not in Application.ini the executable returns an error 1520.

What do you want to achieve with your VI?


I want it to work without having to manually copying the font specs from labview.ini to a custom app.ini.


So do I.

 

I gave up years ago...

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

There is a vi analyzer test to find all symbolic fonts. Replace each with a defined font. (Discussion leading to it).

 

0 Kudos
Message 5 of 6
(1,425 Views)

@altenbach wrote:

There is a vi analyzer test to find all symbolic fonts. Replace each with a defined font.


My use case was to parse a picture control string, to render it in a PDF.

 

However, "Application Font" doesn't mean anything if you don't know what the "Application Font" is.

 

And there is no way to query that.

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