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)
Post Reply
berni
Posts: 1
Joined: Wed Jul 20, 2016 9:19 pm

Font disappears partly in included postscript graphics.

Post by berni »

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:

Code: Select all

%!PS-Adobe-3.0 EPSF-3.0
%%Pages: 1
%%BoundingBox: 0 0 24 24
%%DocumentData: Clean7Bit
%%Page: 1 1
%%EndComments
/pgsave save def 200 dict begin
22.8 22.8 scale 

/Helvetica-Bold findfont 0.65 scalefont setfont
0.3 0.3 moveto (?) show

0.05 setlinewidth
0 0 1 1 rectstroke

end pgsave restore showpage
%%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?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply