LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

installer font problem

I have distributed a installer version of the program i realised among company partners, and I´m getting some error reports, cause the font becames to bigger and the values can´t be eddited.
 
Should I attach any font file? How to do that?
0 Kudos
Message 1 of 6
(3,078 Views)
 
Hi Gatet,
Yes, you can. You could include the fonts files (.ttf) as a part of your "installer package" made with app. builder and copy this files into a ""c:\windows\fonts". But.. there is a little problem with that... it is necessary to register this fonts in the O.S. in order for this to work out. To do that, personally i made a little .bat file and a I execute it at the end using the tools of a app. builder ("run executable after installation"... in advanced installer settings), this is for to execute a file, to register the fonts (.reg) depending of the S.O. you are using.
Resuming, you need three kinds of files: Fonts (ttf), Batch file (.bat) and Registry file (.reg), but it is very simple.
I hope this helps you,
JFT
Message 2 of 6
(3,067 Views)

Hi, JFT.

Thanks for your answer, but I still have some questions. First, which fonts to include? I can´t guess it, its only described as "Application font". And later on, how to make this .bat and .reg file? Could u show me some example code? The computer systems are windows 2000 and XP.

It would be possible also to run it on the computers where is already instaled, or?

Thanks in advance

0 Kudos
Message 3 of 6
(3,064 Views)

Ok, is not a font problem (it´s used Tahoma), but a different video driver setting in the laptops, which are using "Large Fonts" instead of the "Small Fonts".

More information about it in Application Note 161 "Porting and Localizing LabVIEW VIs"

Thanks, JFT!

0 Kudos
Message 4 of 6
(3,053 Views)

 

Gatet,
 
I see your problem is not with special fonts... because you need the "Applicaton font" and there is no problem with executables using this kind of fonts. So, i think your problem is with something else. Please, could you give me more information about the specific problem... i hade a similar one when i upgraded my 7.1 LV system to a 7.1.1 version (i mean fonts too big and irregular behavior). Anyway, if you still need some files examples about the other method mentioned before let me know but, I believe you have another problem...
 
JFT
 
0 Kudos
Message 5 of 6
(3,054 Views)

As I had already said earlier, it was a problem of the video driver setting in the laptop´s, changing it to "medium fonts" works without problem.

Thanks for your time anyway!

 

0 Kudos
Message 6 of 6
(3,039 Views)