Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Why would my runtime font be larger than by development font?

I am editing an application that was written in CVI 5.5 running on Windows 98. My problem is that the fonts look good in the development environment. However, when I run the application, all of the fonts are too large. Something is causing the fonts to get larger when the application is running. It has not always done this. Something has changed over the past two weeks to cause this to happen, but I don't have a clue what that may be. Any ideas?
0 Kudos
Message 1 of 7
(3,395 Views)
Are you running the application on the same machine as the development environment? Differences in the fonts available on any particular machine could affect how they appear during runtime. Choosing fonts that are of the host type should get around this problem.

If that is not the issue, then perhaps something has changed in your windows configuration relating to the appearance settings. When you examine the Appearance tab under Display Properties (accessible from the Control Panel), is the "Font Size" identifies as "Normal" ?
0 Kudos
Message 2 of 7
(3,387 Views)
When you say "normal", do you mean "small fonts" or "large fonts"? Mine is set to "small fonts". The development computer and the execution computer are the same.
0 Kudos
Message 3 of 7
(3,384 Views)
Hello HMCTechy,

There was a previous issue with CVI 7 on Win95 and Win98 machines. I assume this is the problem you are experiencing. This issue has since been fixed in CVI 7.1, but the fix for CVI 7.0 can be found in the following KnowledgeBase.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 4 of 7
(3,367 Views)
I looked at the knowledge base article that you referenced and downloaded the file. I then did a search for the cvirte.msm file that was attached to the article and could not find it on my computer. I added it in places where other cirte.* files were and it had no effect on my program. The '\redist\msms' folder did not exist on my computer either.

I had an error in my original post. I am running Windows 2000, not Windows 98. I'm sorry for the error.

I'm at a loss on this issue. It is very strange that everything was fine two weeks ago and now my fonts have gone crazy. It doesn't have anything to do with a redistribution or deployment, but the font size changes when I run my debuggable executable. Like I said previously, everything looks good in the screen editor, but when I RUN the program the fonts grow.

If you can offer any further assistance it would greatly be appreciated. I'm kind of in a tight. My only other option is to go through and change ALL my fonts. That would take a while.

Thanks so much.
0 Kudos
Message 5 of 7
(3,360 Views)
Hello HMCTechy,

Could you include some sample code and screenshots demonstrating the behavior. This would be helpful in troubleshooting this situation. Also, are you running on an English OS?

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 6 of 7
(3,354 Views)
I figured it out! I don't know how I missed this before. It all had to do with the "Scale items on screen resize" checkbox being selected under the screen properties panel. I guess either one of two things happened. Either one of the other programmers here changed the screen resolution or accidentally checked that checkbox. Everything seems fine now. I just went ahead and unchecked the box. There should be no reason for the screen resolution to change.

Thank you for your assistance.
0 Kudos
Message 7 of 7
(3,338 Views)