Displaying 4 results from an estimated 4 matches for "sfontpath".
Did you mean:
fontpath
2010 Sep 11
2
Latex fonts in R graphics
...cm.pdf", outfile = "cmembed.pdf", fontpaths =
c("cm-lgc/fonts/type1/public/cm-lgc", :
status -1 in running command 'gswin32c.exe -dNOPAUSE -dBATCH -q
-dAutoRotatePages=/None -sDEVICE=pdfwrite
-sOutputFile=C:\DOCUME~1\user\LOCALS~1\Temp\RtmpccEtgV\Rembed28163716
-sFONTPATH=cm-lgc/fonts/type1/public/cm-lgc;. cm.pdf'
In addition: Warning message:
In system(cmd) : gswin32c.exe not found
Operating system: Windows XP, SP2.
cm-lgc has been unzipped in the working directory "C:/Program
Files/R/R-2.10.1" and the AFM, PFB files are also in same directory.
A...
2011 Sep 14
0
pdf font example
...)
? pdf(file = paste(pdfbasename,".PDF", sep=""), family=berasans, ...)
}
pdf.end <- function(verbose =1) {
? dev.off()
? embedfonts( options("pdf.current") )
}
embedfonts <- function( fname ) {
? commandline <- paste( "ps2pdf14 -DPDFSETTINGS=/prepress
-sFONTPATH=", absolute.path.to.font.files, sep="")
? stopifnot(system( paste(commandline, paste(fname, ".PDF", sep=""),
paste(fname, ".pdf", sep="") ) ) ==0 )
? options( pdf.current= NULL )
}
# and a test
pdf.start("test-berasans")
plot( 1:10,...
2009 Sep 04
3
eps file with embedded font
Dear list,
I am trying to make eps file with embedded font.
I use:
postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE,
paper="special", height=8, width=12, family="Helvetica")
# plot stuff
dev.off()
since R does not embed font, I then use:
embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
2009 Sep 11
3
For sending my R package as part of R-project
...embedFonts(file="test1.eps",format="pswrite",
>>> outfile="test1-EMB.eps")
>>> is:
>>>
>>> gs -dNOPAUSE -dBATCH -q -dAutoRotatePages=/None -sDEVICE=pswrite \
>>> -sOutputFile=/tmp/RtmplPWs8l/Rembed24b931bd -sFONTPATH= test1.eps
>>>
>>> A quick study of the ghostscript documentation revealed the existence
>>> of some "EPS Parameters", of which the only one that seemed relevant
>>> was:
>>>
>>> -dEPSCrop
>>> Crop an EPS file to the...