LaTeX forum ⇒ Fonts & Character SetsFont disappears partly in included postscript graphics.

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
berni
Posts: 1
Joined: Wed Jul 20, 2016 9:19 pm

Font disappears partly in included postscript graphics.

Postby berni » Wed Jul 20, 2016 9:34 pm

Since some time (at least one year) I encounter the following problem from time to time. As I'm not able to fix it (though I found some workarround) I'd like to ask you, if you can help me.

A small example is the following:

\documentclass{scrartcl}
\usepackage{times}
\usepackage{graphicx}

\begin{document}
\section{Test}

\includegraphics[width=3cm]{bsp.eps}

\end{document}


And the file bsp.eps looks like this:

  1. %!PS-Adobe-3.0 EPSF-3.0
  2. %%Pages: 1
  3. %%BoundingBox: 0 0 24 24
  4. %%DocumentData: Clean7Bit
  5. %%Page: 1 1
  6. %%EndComments
  7. /pgsave save def 200 dict begin
  8. 22.8 22.8 scale
  9.  
  10. /Helvetica-Bold findfont 0.65 scalefont setfont
  11. 0.3 0.3 moveto (?) show
  12.  
  13. 0.05 setlinewidth
  14. 0 0 1 1 rectstroke
  15.  
  16. end pgsave restore showpage
  17. %%EOF


When running latex and dvips, in the resulting postscript file the question mark in the image is not shown. (After ps2pdf it's shown, but in the wrong place.) The error does not occur, when I remove the \section-command or when I remove the \usepackage{times}. Strange as is, the question mark appears, when I replace the \section-command by \section{Test?} (added a question mark). Using article instead of koma-script scrartcl works too.

I'm using debian stable distribution. Any ideas?

Return to “Fonts & Character Sets”

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests