LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Fonts problem

Hi,
Anyone knows how to add a new file in a text style window of a text box ???

I have this situation.
One pc has CVI ver. 8.0 and when i try to select a font from text style
window of a text box in an uir i can see arial CYR.
When i do it with a pc with CVI ver.8.0.1 i can't see Arial CYR and also
other fonts.
Any suggest ???

Thank's
Marco


0 Kudos
Message 1 of 17
(5,359 Views)

CVI uses normal Windows fonts installed in the system. You can detect which fonts are installed looking in Control Panel >> Characters. Some fonts are part of standard OS installation while others can be added while installing other applications: this can be the reason why you cannot see some fonts in the second machine.

I am not sure of it but font files should be transferrable from system to system. The only problem can be if some of them are copyrighted and installed as a part of another application.



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 2 of 17
(5,354 Views)

I just check in control panel>Charatters, but in every pc i havn't Arial
CYR.
I did another test. I uninstalled from pc CVI ver. 8.0.1 and i installed old
ver. 8.0.

Miracle!!! That font appears. 😉

Why ????

Thank's
Marco


0 Kudos
Message 3 of 17
(5,356 Views)
Marco,

This was a change that took place between CVI 8.0 and 8.0.1. Whenever you would select a font using CVI 8.0 or earlier, you would see one entry for each character set available for a particular font family. This could be confusing, and it was changed in 8.0.1 so that you now only see one entry for the entire font family, and that entry should correspond to the character set that you've chosen for your OS.

Just because you only see "Arial" and not "Arial CYR" does not mean that you can't display cyrillic characters. If you want to display cyrillic characters, and you have your system configured accordingly (Control Panel>>Regional and Language Options>>Advanced>>Language for non-Unicode programs) you should be able to do so by selecting "Arial" in 8.0.1 (whereas in 8.0 you would have to select "Arial CYR").

Luis
0 Kudos
Message 4 of 17
(5,347 Views)
Hi Luis
I checked in Control Panel, and i selected my language (italian).
My problem is that i had to change font in a text box when a flag is turn
on. In CVI ver.8.0 i did this changed font attribute of text box. In new
version this is not possible. When i try to change it i can see only "arial
chaatters". I don't want change settings of OS every time i need to change
text box font.
How can i do ???

Thank's
Marco


0 Kudos
Message 5 of 17
(5,338 Views)
So, in your application, you need to display both character sets (western and cyrillic) regardless of the Control Panel setting?

I don't think this is a supported feature. (Can you do this in other applications?) The control panel setting determines which character set to use for non-Unicode applications (CVI is a non-Unicode application), and therefore you only have access to fonts that match that character set.

I realize that you could do this in older versions of CVI, but this was never intentional, and as it turned out there were problems associated with supporting all the character sets properly, so we had to change this in 8.0.1.

I'm sorry that this change seems to have affected you negatively...

Luis
0 Kudos
Message 6 of 17
(5,316 Views)
Luis
Thank's for you information.
I'd like send you a little sw that's explain what i mean. At which address i
have to send ??

Marco



"LuisG" <x@no.email> ha scritto nel messaggio
news:1164746417697-446832@exchange.ni.com...
> So, in your application, you need to display both character sets (western
> and cyrillic) regardless of the Control Panel setting? I don't think this
> is a supported feature. (Can you do this in other applications?) The
> control panel setting determines which character set to use for
> non-Unicode applications (CVI is a non-Unicode application), and therefore
> you only have access to fonts that match that character set.I realize that
> you could do this in older versions of CVI, but this was never
> intentional, and as it turned out there were problems associated with
> supporting all the character sets properly, so we had to change this in
> 8.0.1.I'm sorry that this change seems to have affected you
> negatively...Luis


0 Kudos
Message 7 of 17
(5,308 Views)
Marco,

You can submit your app here:

ftp://ftp.ni.com/incoming

Post a follow-up here to let me know that you've submitted it, and what it's called.

Luis
0 Kudos
Message 8 of 17
(5,286 Views)
Hi Luis
I tried to open ftp link , but i found an error (550 no such directory).
Message told me i had not permission to give access. I have to send a .zip
file called "studio stampa".
Let me know how can i do.

Marco


0 Kudos
Message 9 of 17
(5,266 Views)
Hi Luis
i sent you in ftp site a .zip file called "studio stampa".
i was wrong with address.
i'll wait your news.

Thank's
Marco


0 Kudos
Message 10 of 17
(5,267 Views)