Jump to content

List all Fonts


Recommended Posts

The previous solution is probably better than mine, but I can think of an alternate way.  Fonts are installed in Windows in the following path %windir%\fonts  You can probably perform a list files finding all installed fonts there.  I'm not sure if fonts can be installed into a location other than that, and if it can then that is a reason the .Net method might be preferred.

  • Like 1
Link to comment
  • 2 weeks later...
  • 7 years later...

Sorry I can't get them to work either.  Sometimes LAVA's servers will do weird things with compression or resizing, and in the process it might strip out the meta data that is the VI file.  Once we noticed this, these settings were turned off but it is possible these were back when that was an issue.

Link to comment

I just created a new snippet to test hooovahh's explanation.  Does this one work for you?

add snippet.png

Edit:  Trying my example didn't work for me either.  I used to be able to do it in Internet Explorer but newer web browsers don't seem to support this anymore.

Edited by bmoyer
Link to comment
On 6/24/2023 at 7:09 PM, paul_cardinale said:

Unfortunately, "Get Font Names.vi" doesn't work properly on a Mac: The list returned includes names of fonts that aren't available, and is missing some that are available.

Oh, that's not good to know about how to get rid of man moobs that "Get Font Names.vi" doesn't work properly on a Mac. 

But we can hope that the problem will be resolved soon.

Edited by Librafoodie
Link to comment
4 hours ago, paul_cardinale said:

Do you know of a way to invoke the font dialog?

image.png.ce8bd5966043266ec896005f014f2551.png

Actually, there is no direct way to call it that I would know of, but it should be possible to send the according menu command to LabVIEW. But what do you want to do then? This is not a vi, but an internal LabVIEW dialog. It does use a front panel resource like what VIs use but it is not a VI, the entire programmatic handling is a C code function.

Edited by Rolf Kalbermatter
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.