LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I retrieve the list of available fonts from my OS?

I am attempting to make a native LV font dialog pop-up so that the user may select their own font/size/style/etc.
So far I can not find a way to retrive the list of available fonts from the OS. Any help?

This will be cross platform, so I was looking for a pure LV solution.
0 Kudos
Message 1 of 3
(2,474 Views)
Hello
I think that is a good idea.
Take a look at this link. It could be usefull for Windows and Mac.
http://www.adobe.com/support/techdocs/327053.html
Hope it helps
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 2 of 3
(2,463 Views)
Hello,

To retrieve the list of available fonts from the Operating System, you can use the Windows Registry Access VIs to determine which font types have been installed. This vi can be found on the Controls Palette by going to All Controls -> Advanced -> Windows Registry Access. These vis allow you to open, close and manipulate the registry. There is great example of accessing the fonts in the OS that can be found at:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D96956A4E034080020E74861&p_node=DZ52041&p_source=External.

Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments
0 Kudos
Message 3 of 3
(2,439 Views)