04-28-2010 04:21 AM
Hello everybody,
can anybody tell me from where Labview reads the font list entries in the font dialog? I want to run my application on different linux systems (Lv80 on Kubuntu and Suse Enterprise Server 10.0) and face the same problems with the fonts as many others in this forum though I only use application, system and dialog font. So my idea is to use the .labviewrc file to set the application font to a font available on both systems. The same fonts in the list often don't work on both systems or if they do it would require to go through the complete application to fix messed up labels.
So I tried to install the used font on both systems which worked fine but the new font will not show up in the list of the font dialog.
Has anybody an idea how to solve this issue?
04-28-2010 04:28 AM
04-28-2010 04:42 AM
04-28-2010 05:03 AM
Hi muks,
thanks for your replies but unfortunately it doesn't help me out. I already did "fc-cache" and the font is known to the system but not to Labview. Thats why I wanted to know where Labview gets this font list.
The thread in the forum I already know- I want to do exactly what Daniel suggested and set the system font using .labviewrc to a font available on both systems. But this probably will not work as long as Labview doesn't know all fonts on the system. Worst case would be to either use a fixed font wich looks terrible or to use VNC and always work on the target system- not a really good option.
06-24-2010 06:41 AM - edited 06-24-2010 06:42 AM
Labview does not use fontconfig to add fonts to its database. It uses Xfree86 for font support. To add fonts under Ubuntu- especially the Tahoma font, which IMHO, is the only bearable font under Linux for Labview, you should follow the procedure at :- http://www.howtoforge.com/sharp_fonts_gnome_p2. The part which is of interest is one where you need to add a custom.hints file to defoma and update defoma and fontconfig. Logout and login...you should see the new fonts.
To get the other Microsoft webcore fonts (Arial, Verdana etc), just install the msttcorefont installer through Synaptic.