[Tex/LaTex] getting the arXiv to produce a pdf with embedded fonts

arxivfontspdfpstricks

I've produced a .tex file using the pstricks package for figures and the Times font (via the mathptmx package). When the arXiv compiles this to a .pdf file it doesn't seem to have the necessary fonts embedded. It seems that that iPad and some other devices don't have the times font available, so some characters are missing when viewing the arXiv PDF on an iPad.

Does anyone know if it is possible to get the arXiv to produce a PDF with embedded fonts. The problem seems to have to do with the fact that pstricks necessitates a latex -> dvips -> ps2pdf compilation instead of pdflatex.

I'm aware of solutions like using pdftricks or converting the figures to PDFs and then using \includegraphics{...}, but the former seems to require some hand tweaking and the latter is a bit more fuss if I want to edit something in the future.

Any ideas?

Best Answer

I received this very nice explanation by email from Thorsten S.

Asking arXiv admins with technical questions like this should always be your first choice. These should percolate up to the people that actually operate the TeX system at arXiv even if a little persistence may be necessary.

Indeed, arXiv does not embed the base 35 fonts in dvips generated PostScript. If you are familiar with texlive arXiv's setting in texmf/web2c/updmap.cfg i

dvipsDownloadBase35 false

however (as mentioned in previous responses) due to repeated reports of problems with arXiv generated PDF from pdflatex, despite the standards requirement that every PDF or PostScript interpreter must have the base 35 fonts, arXiv does embed the base 35 fonts in pdflatex generated PDF. This is the setting

pdftexDownloadBase14 true

in texmf/web2c/updmap.cfg

You say:

It seems that that iPad and some other devices don't have the times font available

They should, so if this is indeed the case arXiv would love to see some examples and get to the bottom of this.

The dvips fontmap advice above by Lev Bishop will work, however if there is a widespread problem arXiv should know about this.

It is also possible to control most PDF parameters and options via literal PostScript from a \special command in you TeX source, e.g. you could specify the list of fonts to always embed like this

   <</AlwaysEmbed [/Helvetica /Times-Roman]>> setdistillerparams

See

http://arxiv.org/help/faq/pdfrotate

for some more info on this. If this doesn't help, send email with details to arXiv for further advice.

Hope this helps
T. (yes, I do provide technical support for arXiv)