Ugly default Tk font on Mac OS
On Oct 8, 2012, at 12:51 PM, David Winsemius wrote:
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...
Also note this:
"Helvetica" %in% as.character(tkfont.families())
[1] TRUE
"Times" %in% as.character(tkfont.families())
[1] TRUE
"Courier" %in% as.character(tkfont.families())
[1] TRUE
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
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
David Winsemius, MD Alameda, CA, USA