[R-SIG-Mac] Ugly default Tk font on Mac OS

David Winsemius dwinsemius at comcast.net
Mon Oct 8 21:51:35 CEST 2012


On Oct 8, 2012, at 12:46 PM, Milan Bouchet-Valat wrote:

> Le lundi 08 octobre 2012 à 12:43 -0700, David Winsemius a écrit :
>> Nope. Haven't changed any of the defaults:
>> 
>>> quartzFonts()
>> $serif
>> [1] "Times-Roman"      "Times-Bold"       "Times-Italic"     "Times-BoldItalic"
>> 
>> $sans
>> [1] "Helvetica"             "Helvetica-Bold"        "Helvetica-Oblique"    
>> [4] "Helvetica-BoldOblique"
>> 
>> $mono
>> [1] "Courier"             "Courier-Bold"        "Courier-Oblique"    
>> [4] "Courier-BoldOblique"
> Then, there's still a bug in Tcl/Tk or X11: it would be better if it
> used the default sans font, Helvetica, so that it looks as similar as
> possible to Quartz apps. But I have no idea where the default of
> Bitstream Vera Sans comes from...
> 

Cannot tell you. Is this at all helpful:

> X11Fonts()
$serif
[1] "-*-times-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$sans
[1] "-*-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$mono
[1] "-*-courier-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$Times
[1] "-adobe-times-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$Helvetica
[1] "-adobe-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$CyrTimes
[1] "-cronyx-times-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$CyrHelvetica
[1] "-cronyx-helvetica-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$Arial
[1] "-monotype-arial-%s-%s-*-*-%d-*-*-*-*-*-*-*"

$Mincho
[1] "-*-mincho-%s-%s-*-*-%d-*-*-*-*-*-*-*"


> Cheers

David Winsemius, MD
Alameda, CA, USA



More information about the R-SIG-Mac mailing list