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

Samuel Gougeon sgougeon at free.fr
Tue Oct 29 18:16:20 CET 2019


Le 29/10/2019 à 02:22, ol.bond a écrit :
> Dear Samuel,
>
> You may try to use buil in interpreter of Tcl/Tk.
>
> Try the following instruction: TCL_EvalStr("set s [font actual systemfont]")

--> TCL_EvalStr("set s [font actual systemfont]")
  ans  =
  -family Arial -size 10 -weight normal -slant roman -underline 0 
-overstrike 0

Great! It's not a solution portable to MacOS, but it already helps for 
95% of users.
Thanks




More information about the users mailing list