LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Font change in distribution kit with CVI 7.0

I change from CVI6.0 to 7.0 Make a new distribution kit and install it on a Win95 PC.
The Fonts are totaly different as on Win2000 It looks that the fonts are not distributet.
Also old programs (CVI 6.0)change there fonts
Where is the bug ? Did I have to implement additional files in the distribution kit ?

Thomas Pillmeier
0 Kudos
Message 1 of 17
(4,298 Views)
I have a few questions to try and narrow down what is happening.

1) Are you talking about fonts in your application?
2) Are you talking about the fonts in the installation?
3) Is this an English system?

We distribute our internal fonts automatically with the distribution kit (NIFonts). We do not automatically distribute any 3rd party fonts with the distribution kit and never have. Maybe you are using 3rd parts fonts from Microsoft that come with Windows 2000 and not Win95? You would need to include those fonts in you distribution kit to make it appear correctly on win95.

Regards,
Jeff
NI
0 Kudos
Message 2 of 17
(4,298 Views)
No It's an english version and I use only National Instrument fonts from the CVI Program. It has to do with the cvirte.dll from CVI 7.0. If I replace this dll with the 6.0 version it works fine for the old (6.0) programs but if I install a new distribution kit the fonts change again. It's only for bold and larger size than 11.

I attach ZIP file where you can see the changes


Thomas
0 Kudos
Message 3 of 17
(4,298 Views)
Hello,

I see a few things about the images you sent us. I would like to ask you to do a few more things.

1) Try and change the resolution and color depth on the win 95 system. It looks as though you are at a very low resolution and color depth.
2) Can you send us the uir file you are using? That way we can determine the fonts you rae using and try to reproduce.

Thanks,
Jeff
NI
0 Kudos
Message 4 of 17
(4,298 Views)
Has this problem been resolved? I am seeing a similar problem in which panels built with CVI V7 look correct on our (English) test systems but not on customer systems. The customer systems use Japanese, Korean, or Chinese installations of Win2K. One of the fonts that has been observed to display incorrectly is NIDialogMetaFont, size 11. It is too large when displayed on the customer systems.
0 Kudos
Message 5 of 17
(4,298 Views)
Hello,

The images was made with 256 Color 1024by768 pix and smal font. I change to High Color(16bit) 800by600 pix smal font with no improvement. Than back to 1024 by 768 with large font. This shows some improvement but all text are larger and shifted see attached tif files.

Also I send you the UIR file.

Thomas
0 Kudos
Message 6 of 17
(4,298 Views)
I have the same font problem with CVI 7.0
I noticed that if you use an arial font with the bold attribute, only in win98 RTE environment the fonts are wrong.
Does anyone have some suggestions!??!
0 Kudos
Message 7 of 17
(4,298 Views)
Hello,

We, the CVI development group, are looking into this at this time. Please be patient, it may take a while to track down the exact change that caused this problem.

Jeff
NI
0 Kudos
Message 8 of 17
(4,296 Views)
Dale,

Whenever you use one of the built-in metafonts (nidialog, nieditor, nimenu...) you can't rely on the size of this font remaining constant, in pixel terms, when you take your UI from machine to machine. The reason being that these fonts are aliases of system fonts defined by the OS, or configured by the user in a particular machine. Also, a user might chose the "large fonts" setting on a particular machine, and your "NIDialogMetaFont, size 11" will then be "promoted" to "NIDialogMetaFont, size 13" for example. If you're concerned about this issue, you should use some font other than these meta fonts. Arial 11, for example, should always be Arial 11, regardless of the user settings.

Luis
NI
0 Kudos
Message 9 of 17
(4,137 Views)
Pedro,

What do you mean when you say that the fonts are wrong? Could you attach here a screenshot of what they look like in Win98, and maybe the .uir file that you used?

Luis
NI
0 Kudos
Message 10 of 17
(4,296 Views)