j verzani
Sun, 21 Mar 2010 20:02:56 -0700
Yihui Xie <xie <at> yihui.name> writes: > > Hi all, > > It seems that we can only specify fonts for the selected texts in > gtext() (by font()<-). Is there any way to specify fonts for all texts > in the text widget without selecting texts? Thanks! >
When you add text, you should also be able to add font attributes as in: add(g,"mono blue large", font.attr=c( style="monospace", color="blue", size="x-large")) I should have a means to set the text properties for the whole buffer though. --John > Regards, > Yihui > -- > Yihui Xie <xieyihui <at> gmail.com> > Phone: 515-294-6609 Web: http://yihui.name > Department of Statistics, Iowa State University > 3211 Snedecor Hall, Ames, IA > _______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-gui