[R] strwidth of bold font

Roland Kaiser roland.kaiser at sbg.ac.at
Tue Oct 30 19:08:45 CET 2007


Thanks it does the trick!


> Perhaps:
>
> strwidth(expression(bold("text")))
>
>
> On 30/10/2007, Roland Kaiser <roland.kaiser at sbg.ac.at> wrote: Hi!
>
> Is there a way to get the string width of the bold typefaces?
>
> like: strwidth("text", family = "serif", font = 2).
>
> Thanks
>
> Roland
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting- 
> guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
>
> -- 
> Henrique Dallazuanna
> Curitiba-Paraná-Brasil
> 25° 25' 40" S 49° 16' 22" O



More information about the R-help mailing list