[Rd] family="mono" does not work (PR#12931)

Duncan Murdoch murdoch at stats.uwo.ca
Sat Sep 20 13:20:48 CEST 2008


Peter Dalgaard wrote:
> jaanvajakas at hot.ee wrote:
>   
>> Full_Name: Jaan Vajakas
>> Version: 2.7.2
>> OS: Windows XP
>> Submission from: (NULL) (193.40.5.245)
>>
>>
>> When I execute the following code in the R GUI, the text "mono" is printed in
>> monotype font in the first plot, but in normal (sans-serif) font in the
>> remaining three plots:
>>
>> op=par(mfrow=c(2,2))
>> for (i in 1:4) {
>>  hist(1:10,xlab="")
>>  mtext("normal",side=1,line=2)
>>  mtext("mono",side=1,line=3,family="mono")
>> }
>> par(op)
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>   
>>     
> This seems to be specific to the Windows driver. I see it in R running 
> under Wine on Fedora, but not in native R (X11), and not in the pdf 
> driver either, even when run via Wine.
>
>   
I'll see if I can track it down. 

Duncan Murdoch



More information about the R-devel mailing list