Skip to content

Commit

Permalink
ported r43521 [system() in embedFonts()] from trunk
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/branches/R-2-6-branch@43522 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
maechler committed Nov 22, 2007
1 parent 3b33332 commit 8ae5136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/grDevices/R/postscript.R
Expand Up @@ -871,7 +871,7 @@ embedFonts <- function(file, # The ps or pdf file to convert
cmd <- paste(gsexe, " -dNOPAUSE -dBATCH -q -dAutoRotatePages=/None -sDEVICE=", format,
" -sOutputFile=", tmpfile, " ", fontpaths, " ",
options, " ", file, sep = "")
ret <- system(cmd, invisible = TRUE)
ret <- system(cmd)
if(ret != 0)
stop(gettextf("status %d in running command '%s'", ret, cmd),
domain = NA)
Expand Down

0 comments on commit 8ae5136

Please sign in to comment.