Displaying 11 results from an estimated 11 matches for "dpdfsettings".
2024 Mar 11
1
evince not showing "greek" and "math" in *.pdf plots
...(R.version, paste0(major, sub("[.]", "", minor))),
".pdf"))
pdf(pdfil)
example(plotmath); mtext(R.version.string)
dev.off()
# Use embedFonts to embed the fonts in the PDF
embedFonts(file = pdfil, outfile = paste0("embedded-example", pdfil),
options = "-dPDFSETTINGS=/prepress")
if(interactive()) {
system(paste("evince", paste0("embedded-example", pdfil), "&"))
}
Or you can do it in the terminal:
gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
dEmbedAllFonts=true -sOutputFile=plotmath-example-outp...
2006 Oct 10
3
eps embedded fonts again
Dear friends,
I am sorry, I again rise that boring question about font embedding in
EPS figure.
I found some discussions on this topic but there were no strait solution.
The publisher (AIP) demands submission of separate EPS file
for each figure with all fonts embedded in it (even the standard
14 Adobe fonts).
As I understand the R does not do this embedding. It inserts only
comments what font
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
...t;, "", minor))),
> ".pdf"))
>
> pdf(pdfil)
> example(plotmath); mtext(R.version.string)
> dev.off()
>
> # Use embedFonts to embed the fonts in the PDF
> embedFonts(file = pdfil, outfile = paste0("embedded-example", pdfil),
> options = "-dPDFSETTINGS=/prepress")
>
>
> if(interactive()) {
> system(paste("evince", paste0("embedded-example", pdfil), "&"))
> }
>
>
>
> Or you can do it in the terminal:
>
>
> gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -
&...
2004 May 05
1
Printproblems in 3.0.3 - Postscript files contain log messages
...[ -n "$NAME" ] && TEMP="$PREFIX"
OUTPUT=`mktemp -d $TEMP -p $BASEFILE-XXXXXX`
if [ -n "$NAME" ]; then
FINALOUTPUT="$PREFIX/$NAME"
else
FINALOUTPUT="$OUTPUT"
fi
if [ -n "$8" ]; then
OPTIONS="$OPTIONS -dPDFSETTINGS=/${8#pdf-}"
else
OPTIONS="$OPTIONS -dPDFSETTINGS=/default"
fi
$PS2PDF $OPTIONS "$INPUT" "$OUTPUT.pdf"
mv -f "${OUTPUT}.pdf" "${FINALOUTPUT}".pdf
MESSAGE=$(echo "Your PDF file has been created at $HTTPBASE/.")
# Cleanup
if [...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...> >
> > pdf(pdfil)
> > example(plotmath); mtext(R.version.string)
> > dev.off()
> >
> > # Use embedFonts to embed the fonts in the PDF
> > embedFonts(file = pdfil, outfile = paste0("embedded-example",
> > pdfil),
> > options = "-dPDFSETTINGS=/prepress")
> >
> >
> > if(interactive()) {
> > ? system(paste("evince", paste0("embedded-example", pdfil), "&"))
> > }
> >
> >
> >
> > Or you can do it in the terminal:
> >
> >
> >...
2024 Mar 12
1
evince not showing "greek" and "math" in *.pdf plots
...t; ".pdf"))
>
> pdf(pdfil)
> example(plotmath); mtext(R.version.string)
> dev.off()
>
> # Use embedFonts to embed the fonts in the PDF
> embedFonts(file = pdfil, outfile = paste0("embedded-example", pdfil),
> options = "-dPDFSETTINGS=/prepress")
>
>
> if(interactive()) {
> ? system(paste("evince", paste0("embedded-example", pdfil), "&"))
> }
>
>
>
> Or you can do it in the terminal:
>
>
> gs -dNOPAUSE -dBATCH -dPDFSETTINGS=/pr...
2024 Mar 13
1
evince not showing "greek" and "math" in *.pdf plots
...t; > pdf(pdfil)
> > example(plotmath); mtext(R.version.string)
> > dev.off()
> >
> > # Use embedFonts to embed the fonts in the PDF
> > embedFonts(file = pdfil, outfile = paste0("embedded-example", pdfil),
> > options = "-dPDFSETTINGS=/prepress")
> >
> >
> > if(interactive()) {
> > system(paste("evince", paste0("embedded-example", pdfil), "&"))
> > }
> >
> >
> >
> > Or you can do it in the terminal:
> >
> >...
2007 Apr 13
1
Embedding Fonts in eps Files - Required by Publisher
...ed fonts and the eps files that R produces
don't pass its tests. How can I force the fonts (just default fonts) to
be embedded. embedFonts seems to only embed unusual fonts, not the
default ones that are used in a simple eps generated by using
"postscript".
I've tried:
ps2pdf14 -dPDFSETTINGS=/prepress bland-altman_v2.eps bland-altman_v2.pdf
pdftops -eps bland-alman_v2.pdf bland-altman_v2_embed.eps
but the box size is wrong and I don't know how to correct it - if I
correct the bounding box in bland-altman_v2_embed.eps, the size is
correct but not all of the figure shows. The refere...
2011 Sep 14
0
pdf font example
...quot;, sep=""))
? 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-berasa...
2024 Mar 11
2
evince not showing "greek" and "math" in *.pdf plots
>>>>> Tim Taylor
>>>>> on Mon, 11 Mar 2024 11:42:35 +0000 writes:
> Hi Martin
> Probably not the answer you're looking for but on the latest Fedora 39 (workstation edition) both locally, and on a freshly installed VM (with just R-core installed), all fonts render correctly for me in evince.
> $ evince --version
> GNOME Document
2013 May 11
1
clean wheezy, R intrigue, squeeze-cran3 requires liblzma2?
...##
## Todo: Make command line argument smarter, so that if user
## gives whatever.pdf, it will handle that, or
## if user gives a directory name, it will go in there and do it.
for i in *.pdf; do
base=`basename $i .pdf`;
basenew="${base}newtemp.pdf"
/usr/bin/gs -o $basenew -dNOPAUSE -dPDFSETTINGS=/prepress
-sDEVICE=pdfwrite $i
mv -f $basenew $i
done;
--
Paul E. Johnson
Professor, Political Science Assoc. Director
1541 Lilac Lane, Room 504 Center for Research Methods
University of Kansas University of Kansas
http://pj.freefaculty.org http://quant.k...