08-12-2010 11:55 AM
Hi,
I have a stand-alone LabVIEW app that I developed and ran under openSUSE 11.1. Now I am moving it to 11.3. My problem is that on 11.3 all fonts became much larger, so everything is misaligned. Is there any way to define the fonts in the INI or CONF file so that they stay the same when moving between different versions of openSUSE, similar to what can be done on Windows (adding lines to the application INI file, like appFont="Tahoma" 13)?
Thanks,
Sergey L
08-12-2010 12:20 PM
Yes, this is possible. I know that if you rebuild your application after placing these tokens in your LabVIEW configuration file
appFont="Tahoma" 13
dialogFont="Tahoma" 13
hardCodeFontNames=True
the distributed application will have the proper font face and size you specify. I don't know if an existing application will use these settings if you add them to its INI file. But that's an easy vim edit and try 😉
Joe
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)
08-12-2010 01:52 PM
Thanks Joe! I set all fonts both in LabVIEW and in my_app.conf file to "monotype-arial" 12 and added hardCodeFontNames=True entries into labview.conf and my_app.conf files. I'll need to do some realignment of objects in my code, but after that it should be consistent across OS versions, I hope.
12-07-2018 10:11 PM
Works like a charm! Yes, you can replace this with your [app].ini file without rebuilding application.