On Fri, 16 Apr 2010 13:57:09 +0200 Vincent Lefevre wrote: [...] > The xpdf command on some PDF files generated by pdflatex then ps2pdf
I think Vincent meant latex here (rather than pdflatex)...
> yields a lot of
>
> Error: Illegal entry in bfrange block in ToUnicode CMap
>
> (Such PDF files are not public yet, but I can give one later if need be.)
>
> Similar bug: #576404
I've just experienced the same bug.
What follows is a (probably) minimal test case to reproduce the bug:
$ cat bfrange-test.tex
\documentclass[a4paper]{article}
\begin{document}
\begin{equation}
\vec{\nabla}
\end{equation}
\end{document}
$ latex bfrange-test.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./bfrange-test.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, ukrainian, russian, ibycus, monogreek, greek, ancientgre
ek, italian, latin, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
No file bfrange-test.aux.
[1] (./bfrange-test.aux) )
Output written on bfrange-test.dvi (1 page, 344 bytes).
Transcript written on bfrange-test.log.
$ dvips bfrange-test.dvi -o
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
' TeX output 2010.04.22:1753' -> bfrange-test.ps
</usr/share/texmf-texlive/dvips/base/tex.pro>
</usr/share/texmf-texlive/dvips/base/texps.pro>.
</usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmr10.pfb>
</usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmsy10.pfb>
</usr/share/texmf-texlive/fonts/type1/public/amsfonts/cm/cmmi10.pfb>[1]
$ ps2pdf bfrange-test.ps
$ xpdf bfrange-test.pdf
Error: Illegal entry in bfrange block in ToUnicode CMap
Error: Illegal entry in bfrange block in ToUnicode CMap
Please note that, if the same LaTeX source is compiled with pdflatex,
the resulting PDF file does *not* generate errors, when viewed with
xpdf.
Taking into account that the same errors are reportedly seen with other
PDF viewers, such as evince (see bug #576404), I am beginning to
suspect that the problem could lie in some texlive package, rather than
in the PDF viewers...
I hope that the additional information I provided may be useful to
pinpoint the problem...
--
http://www.inventati.org/frx/progs/scripts/pdebuild-hooks.html
Need some pdebuild hook scripts?
..................................................... Francesco Poli .
GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpQSIjCTvwsA.pgp
Description: PGP signature

