search for: sizemismatch

Displaying 1 result from an estimated 1 matches for "sizemismatch".

2011 Apr 25
0
Problem with grid's text-based units and TrueType fonts
...ard pdf device, but when using the Cairo_pdf device (from the cairoDevice package), I run into problems. I need the TrueType functionality of Cairo. The example below illustrates my problem. The rectangle in "SizeMatch.pdf" matches the size of the text block, while the rectangle in "SizeMismatch.pdf" is too small. Why is this the case? I'm using R-2.13.0 (32bit) on Windows 7. Thanks a bunch. Cheers, Al --- library(cairoDevice)library(grid) Cairo_pdf("SizeMismatch.pdf",11,8.5,pointsize=10)pushViewport(viewport(gp=gpar(fontfamily="Arial",font=1,fontsize=8,lin...