LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange behaviour of texe messages in bold character

Starting to use CVI 7.0, I noticed a strange behaviuor in text messages and controls' labels: when I try to use a font different from the standard NI one and set the Bold attribute, the text looks bad, shorter the the same text in plain font and with strange aspect. In some case I noticed that bold texts are similar even if fonts are different. Look at the attached file for an example.
What's happening?


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 1 of 5
(3,324 Views)
I tried to reproduce the described behaviour with CVI 7.0 but I couldn't (see attached sample panel). For me it seems that the described behaviour is not related to CVI 7.0. Maybe it's related to your graphic adapter or the resolution you have choosen for your display. If you are using a LCD are you using it's native (recommended) resolution?

Heinrich Illig
NI
0 Kudos
Message 2 of 5
(3,324 Views)
Thank you for response.

I'm using a 17" CRT monitor with which I have no probelms with any other programs I use. On that machine are installed other versiones of CVI (5.5 and 6.0) whith which I have had no problems till now and still have any.

I'll try to investigate the display driver as you suggest but sincerely have no idea on how to set it up since as I told you I have no problems with older versions of the IDE.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 5
(3,324 Views)
Roberto,

There is a known problem in CVI 7 that affects bold fonts in some OS's (As a point of curiosity, which OS are you using?).

Check out this thread for all the gory information.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000E8B30000&UCATEGORY_0=_318_&UCATEGORY_S=0&USEARCHCONTEXT_TIER_0=0&USEARCHCONTEXT_TIER_S=0&USEARCHCONTEXT_QUESTION_0=bold+font+95&USEARCHCONTEXT_QUESTION_S=0

At the bottom of the thread is an unofficial patch that fixes this problem when you distribute your application using the Distribution Kit feature. However, if what you want to fix is the behavior in your development machine, then you will need to replace cvirte.dll in your windows/system folder with the file I'm attaching here
.

This patch will not change the appearance of the fonts in your development environment, including the User Interface Editor, but it should fix the appearance of your running programs.

Luis
NI
0 Kudos
Message 4 of 5
(3,324 Views)
OK, I looked at the discussion you linked.
I'll try the patch you have attached and keep you informed.

BTW I'm using Win98SE Italian version.

The fuzzy labels I've found are all in Arial, size 16+, bold (I always use this font with large sized labels 'cause I feel it has a better aspect than standard NI fonts with the same size).

Thanks a lot!
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 5
(3,324 Views)