Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

Font problems on Linux

$
0
0

Hello all,

I have quite a few LabWindows executable running on various Linux (CentOS) systems. I've had user complain that the user interfaces are 'ugly', and after checking, they were right !

It's one thing to not have the right fonts installed, but I've noticed 2 problems:

 

- the 2 fonts that normally install with the runtime as /usr/local/natinst/cvirte/fonts/nisystem.ttf and ni7seg.ttf seem to be ignored by the system. fc-list doesn't list them, and using FontSelectPopup() will list 'NIDialog -(not found)'. This can be worked around by looping on all UIR controls and changing to existing fonts, but it's tedious and must be done at runtime with positioning consequences.

 

- on some machines (CentOS 7) it's impossible to display text in bold or italic, for any font. The text displays as a random (smaller) size instead. This is really frustrating and uglyfying as I have no idea where the problem comes from. Is this a Motif bug ? Older CentOS versions did not have this problem, although I haven't done an exhaustive recession test yet.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>