[NTG-pdftex] [pdftex-Bugs][4014] Drops characters from included pdf figure

pdftex-bugs at sarovar.org pdftex-bugs at sarovar.org
Wed Apr 8 21:05:16 CEST 2009


Bugs item #4014, was opened at 2009-04-08 17:24
Status: Open
Priority: 3
Submitted By: Andrey Paramonov (pent)
Assigned to: Nobody (None)
Summary: Drops characters from included pdf figure 
Category: PDF inclusion
Group: None
Resolution: Wont Fix


Initial Comment:
To reproduce:

1) Download attached file. It is a pdf figure containing some non-latin characters. Note that the used font subset is embedded.

2) Create the following minimal LaTeX document:

\documentclass{article}

\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}

\usepackage{graphicx}

\begin{document}
\includegraphics{fig}
\end{document}

3) pdflatex it. Open the resulting pdf file and note that all non-latin characters have disappeared.

My pdflatex says:

--------- 
Running `LaTeX' on `test' with ``pdflatex  "\nonstopmode\input
{test.tex}"''
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 %&-line parsing enabled.
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, ukrainian, russian, bulgarian, loaded.

(./test.tex (/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/cyrillic/t2aenc.def)
(/usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/t2aenc.dfu)))
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
(/usr/share/texmf-texlive/tex/generic/babel/russianb.ldf
(/usr/share/texmf-texlive/tex/generic/babel/babel.def)))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def))) (./
test.aux)
<fig.pdf, id=1, 578.16pt x 289.08pt> <use fig.pdf>
Overfull \hbox (248.15858pt too wide) in paragraph at lines 10--11
[][]
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map} <./fig.pdf>] (./
test.aux)
 )
(see the transcript file for additional information){/usr/share/texmf/
fonts/enc
/dvips/cm-super/cm-super-t2a.enc}</usr/share/texmf/fonts/type1/public/
cm-super/
sfrm1000.pfb></usr/share/texmf-texlive/fonts/type1/urw/times/
utmr8a.pfb

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10019' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10021' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10026' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10028' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10030' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10031' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10032' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10033' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10035' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10049' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10065' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10067' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10070' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10075' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10077' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10079' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10080' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10082' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10084' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10096' undefined

pdfTeX warning: pdflatex (file /usr/share/texmf-texlive/fonts/type1/
urw/times/u
tmr8a.pfb): glyph `afii10097' undefined

Output written on test.pdf (1 page, 19327 bytes).
Transcript written on test.log.

LaTeX finished at Wed Apr  8 00:01:45
--------- 

My pdftex --version says:

--------- 
pdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6)
kpathsea version 3.5.6
Copyright 2007 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea is copyright 2007 Karl Berry and Olaf Weber.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX using libpoppler copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX using libpoppler source.
Primary author of pdfTeX using libpoppler: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Kpathsea written by Karl Berry, Olaf Weber, and others.

Compiled with libpng 1.2.35; using libpng 1.2.35
Compiled with zlib 1.2.3.3; using zlib 1.2.3.3
Compiled with libpoppler version 0.10.4
--------- 

I'm ready to provide any additional info,
Andrey Paramonov


----------------------------------------------------------------------

>Comment By: The Thanh Han (hanthethanh)
Date: 2009-04-08 19:05

Message:
update: the link was wrong again; somehow a ';' was automatically inserted to the link. 

Please see bug #2092 for a similar problem and workaround.

----------------------------------------------------------------------

Comment By: The Thanh Han (hanthethanh)
Date: 2009-04-08 19:02

Message:
update: the previous link was broken, correction:
http://sarovar.org/tracker/index.php?func=detail&aid=2092&group_id=106&atid=493

----------------------------------------------------------------------

Comment By: The Thanh Han (hanthethanh)
Date: 2009-04-08 18:59

Message:
I guess the figure was created with a modified version of utmr8a.pfb (NimbusRomNo9L-Regu), since the original utmr8a.pfb doesn't have non-latin glyphs. This is not a bug of pdftex. For a workaround, please see
http://sarovar.org/tracker/index.php?func=detail&aid=2092&group_id=106&atid=493

----------------------------------------------------------------------

You can respond by visiting: 
http://sarovar.org/tracker/?func=detail&atid=493&aid=4014&group_id=106


More information about the ntg-pdftex mailing list