I want to use short hyphens for text using grid graphics like
txt <- "a dash-in between"
The following examples show that the results differ depending on the output device (pdf, png).
pdf("test.pdf") grid.text(txt) dev.off()

png("test.png") grid.text(txt) dev.off()

The hyphen for a pdf device is much longer. What I want is a short hyphen using a pdf device. How can i do this?
source share