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 resources are needed. Then I should use some other software to do this task. Is there a solution for problem within open source environment (without using of proprietary software)? My system is Debian GNU/Linux (testing). The second picture format that AIP journals accept is TIFF, but R has no tiff device to produce that pictures. Does someone know a strait way to convert the EPS file into the high resolution high quality TIFF figure? -- Sincerely yours, Yury Yuryev.
On Tue, 10 Oct 2006, Yury Yuryev wrote:> Dear friends, > > I am sorry, I again rise that boring question about font embedding in > EPS figure.It gives us an opportunity to point you to the solution included in R 2.4.0.> 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 resources are needed.Yes, that's the EPS standard.> Then I should use some other software to do this task. Is there a > solution for problem within open source environment (without using of > proprietary software)? My system is Debian GNU/Linux (testing).ghostscript: see the R-News 6/2 article for an R wrapper function embedFonts() to help you with this.> The second picture format that AIP journals accept is TIFF, but > R has no tiff device to produce that pictures. Does someone know a strait way > to convert the EPS file into the high resolution high quality TIFF figure?ghostscript, ImageMagick. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Dennis Alexis Valin Dittrich <dd-list at nomans.de>>writes:> ps2pdf14 -dPDFSETTINGS=/prepress figure.eps tmp.pdf > pdftops -eps tmp.pdf figure_with_embeded_fonts.eps > > The first script is delivered with ghostscript. The second program > belongs to the xpdf package.Thanks a lot. That was a miracle. The only thing I did was the box size correction. By the way, the all other methods I tried like using ps2pdf (with embedding) -> pdf2ps, using embedFonts in R (with pswrite parameter) using incscape (with importing and exporting eps) produce eps with text converted to paths, that, IMHO, is embedding. -- Sincerely yours, Yury Yuryev.
On Wed, Oct 11, 2006 at 03:24:13PM +0900, Yury Yuryev wrote:> Dennis Alexis Valin Dittrich <dd-list at nomans.de>>writes: > > ps2pdf14 -dPDFSETTINGS=/prepress figure.eps tmp.pdf > > pdftops -eps tmp.pdf figure_with_embeded_fonts.eps > > > > The first script is delivered with ghostscript. The second program > > belongs to the xpdf package. > > Thanks a lot. > > That was a miracle. The only thing I did was the box size correction. > > By the way, the all other methods I tried like using ps2pdf (with embedding) -> pdf2ps, > using embedFonts in R (with pswrite parameter) > using incscape (with importing and exporting eps) > produce eps with text converted to paths, that, IMHO, is embedding.^ NOT, of course> > > > -- > Sincerely yours, > Yury Yuryev. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Sincerely yours, Yury Yuryev.