[Scilab-users] How to know which is the system's font?

Samuel Gougeon sgougeon at free.fr
Mon Oct 28 13:15:07 CET 2019


Dear all,

For some display in the console, for which a monospaced font is 
required, i need to know the name of the system font. Indeed, when in 
the preferences the console's font is set to the /Desktop font/, and 
when the /Desktop font/ is set to the /system's font/, the /system's 
font/ is the console's one.

But i have no idea how to query the name of this font.
I have tried some property names with system_getproperty 
<https://help.scilab.org/docs/6.0.2/en_US/system_getproperty.html>(), 
without success.

fonts=xlfont('AVAILABLE_FONTS') returns all fonts available on the 
system, but does not indicate which is the system's default one.

Finally, i have found nothing interesting out of
--> unix_w set  // and then getenv()

Any idea is welcome.
Best regards

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191028/5a61c51d/attachment.htm>


More information about the users mailing list