LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Font problem

In:
Document ID: 28JAFDDT
Document ID: 22GEP1Q1

They talk about fonts proble. But is there a universal solution to theses fonts problems? Why does LabVIEW dont copy the used fonts into the builded application?

Nitrof
0 Kudos
Message 1 of 7
(4,029 Views)
> They talk about fonts proble. But is there a universal solution to
> theses fonts problems? Why does LabVIEW dont copy the used fonts into
> the builded application?
>

The universal problem is that fonts are difficult to deal with. No, LV
doesn't default to copying fonts, and there are several reasons. Fonts
don't live in the EXE, instead they are installed in the fonts folder of
the OS or window system. This is typically handled with installers. So
if you use unusual fonts that aren't normally found on the system, you
make an installer that puts the fonts where they belong. In the future,
the LV installer builder might figure out which fonts you use and offer
to install them for you, but that brings up the second issue.

Fonts are licensed. I
t is an often overlooked issue, but somebody drew
those fonts, and technically you need to pay a license before installing
it somewhere else. MS, Apple, Sun, and most OS providers either
outright own the fonts or have licensing to ship the fonts with each
copy of the OS, each printer, etc. If you have a font that you built or
your company owns, this isn't an issue, but normally that isn't the case.

The best bet is to use the common fonts that are preinstalled on the
machines you are using. If you have a special need for something like a
seven segment font, handle it with your installer.

If you have more specific problems or questions, fire away.

Greg McKaskle
0 Kudos
Message 2 of 7
(4,029 Views)
I that case. Is there any fonts that are license free of that will be exactly the same on every system. I'm using standard fonts like Arial and the Application Font provided by LabVIEW and I still encounter some problems. Buttons overlap each other... I had a nice looking interface. Now it look like a Picasso.

Regards,

Nitrof
0 Kudos
Message 3 of 7
(4,029 Views)
> I that case. Is there any fonts that are license free of that will be
> exactly the same on every system. I'm using standard fonts like Arial
> and the Application Font provided by LabVIEW and I still encounter
> some problems. Buttons overlap each other... I had a nice looking
> interface. Now it look like a Picasso.
>

Not to my knowledge. Arial is actually the name of the Foundry I think,
and while it will look the same -- in the same style -- everywhere you
see it, it will change size and proportion to some extent. The other
name you mention is Application, which isn't a real font, but rather the
name for the font returned by the window system. Every couple years
Windows changes what their default font it. It used to be Sys
tem32,
then it was Arial, now it is Tahoma. Other Oses change theirs two, and
the Application, Dialog, and System fonts are really just ways of
matching what the OS uses.

If you use something like Arial and encourage your users to run with
Small fonts on windows, things shouldn't change that much, though X
Windows fonts tend to be much wider than other OSes.

There doesn't seem to be a magic bullet, and the best bet is to
experiment a little bit before making lots of changes to your panel and
learn to put space in between items on panels. This is also a good idea
if your panel is ever going to be localized into other languages.

Greg McKaskle
0 Kudos
Message 4 of 7
(4,029 Views)
I've run into this a lot and it is a real pain, especially when you develop
on one PC and then move your application to other PCs that you do not have
control over. Greg's suggestions are good ideas but it doesn't help
inexperienced users who don't read this list. I would like to suggest that
NI installs a "LabVIEW" application font instead of using an OS font that
often changes. That way the default LabVIEW font would be consistent
between all operating systems and versions of LabVIEW. There may be some
difficulties with this like how to handle built applications but maybe not.


"Greg McKaskle" wrote in message
news:7HA2b.3489$Pn6.496@twister.austin.rr.com...
> > I that case. Is there any fonts that are license free of that will be
> > exactly the same on every system. I'm using standard fonts like Arial
> > and the Application Font provided by LabVIEW and I still encounter
> > some problems. Buttons overlap each other... I had a nice looking
> > interface. Now it look like a Picasso.
> >
>
> Not to my knowledge. Arial is actually the name of the Foundry I think,
> and while it will look the same -- in the same style -- everywhere you
> see it, it will change size and proportion to some extent. The other
> name you mention is Application, which isn't a real font, but rather the
> name for the font returned by the window system. Every couple years
> Windows changes what their default font it. It used to be System32,
> then it was Arial, now it is Tahoma. Other Oses change theirs two, and
> the Application, Dialog, and System fonts are really just ways of
> matching what the OS uses.
>
> If you use something like Arial and encourage your users to run with
> Small fonts on windows, things shouldn't change that much, though X
> Windows fonts tend to be much wider than other OSes.
>
> There doesn't seem to be a magic bullet, and the best bet is to
> experiment a little bit before making lots of changes to your panel and
> learn to put space in between items on panels. This is also a good idea
> if your panel is ever going to be localized into other languages.
>
> Greg McKaskle
>
0 Kudos
Message 5 of 7
(4,030 Views)
I am running LV 8.0 and are experiencing some font problems. If I run my application on a computer with large or xlarge window fonts, the front panel turns into a mess. How can I force my application to use windows normal fonts or the font/size which was used in the original VI.
 
Help!
 
Christian
0 Kudos
Message 6 of 7
(3,776 Views)

Christian_nor wrote:
... How can I force my application to use windows normal fonts or the font/size which was used in the original VI.

If by "application" you're talking about a built executable: you can explicitly set the System font, App font etc in the exe's INI file.
Check out Mads' and Jeremy's posts  here  for an explanation and information.
=====================================================
Fading out. " ... J. Arthur Rank on gong."
0 Kudos
Message 7 of 7
(3,763 Views)