5
$\begingroup$

What is the font of these control labels? I've gone through every font Mathematica offers (through the format GUI) and don't see a match. Haven't had any luck with default format files either. I'm trying to add notes under the controls and can't get a matching font (the notes below are close, but not identical). I could change all the fonts, yes, but I like this one.

Manipulate Controls

$\endgroup$
11
$\begingroup$
CurrentValue["ControlsFontFamily"]
(* "Segoe UI"  on Version 9 / Windows 8 *)
(* "Lucida Grande" on OS X 10.6.8 -- thanks: m_goldberg *)
(* "Bitstream Vera Sans" on Fedora 20 -- thanks Oska *)
CurrentValue["ControlsFontSize"]
(* 12 on Version 9 / Windows 8 *)

Style[StringJoin[CharacterRange["a", "z"]],
 FontFamily :> CurrentValue["ControlsFontFamily"],
 FontSize :> CurrentValue["ControlsFontSize"]]

enter image description here

Update: On Version 9 Windows 8, "PanelFontFamily" gives the same result:

CurrentValue["PanelFontFamily"]
(* "Segoe UI" *)
CurrentValue["PanelFontSize"]
(* 12 *)

So do the combinations "MenuFontFamily" and "MenuFontSize", and "TooltipFontFamily" and "TooltipFontSize". (* thanks: @Mike Honeychurch *)

$\endgroup$
  • $\begingroup$ This gives "Lucida Grande" on OS X 10.6.8 $\endgroup$ – m_goldberg Oct 7 '14 at 16:32
  • $\begingroup$ Note that there is also "MenuFontFamily", "MenuFontSize", "TooltipFontFamily", "TooltipFontSize". $\endgroup$ – Mike Honeychurch Jan 29 '15 at 10:37
  • $\begingroup$ thank you @Mike; I added those combinations. $\endgroup$ – kglr Jan 29 '15 at 10:43
1
$\begingroup$

It looks to me like "Lucida Sans Unicode" on Windows or "Lucida Grande" on OSX. But it's hard to be sure. It'll render differently on Windows and OSX (and AFAIK also differently on older versions of Windows). I'm guessing your screenshot is from Windows, since the kerning is closer to that used by "Lucida Sans Unicode".

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.