[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#440039: hyperref package requires pzdr font



Victor Stinner <victor.stinner@haypocalc.com> wrote:

> Package: texlive-latex-base
> Version: 2005.dfsg.3-1
>
> I began to write a book but I get an error from hyperref package.
>
> Simply LaTeX example:
> ---------------------------------------------------------------------
> $ cat test.tex
> \documentclass[12pt]{book}
> \usepackage[pdftex]{hyperref}
> \begin{document}
> Hello World!
> \end{document}
>
> $ pdflatex test.tex
> (...)
> kpathsea: Running mktexmf pzdr
> ! I can't find file `pzdr'.
> (...)
> ---------------------------------------------------------------------
> (see full error message above)

Hm, I cannot reproduce this. I have the package installed, and currently
it's not an option to remove it, but I tried with KPATHSEA_DEBUG=126,
and it does not search for pzdr.mf; I'm using a newer version, though.

> pdflatex full error:
> ----------------------------------------------------------------------------
> *hyperref using driver hpdftex*
> (/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def
> (/usr/share/texmf-texlive/tex/latex/psnfss/pifont.sty
> (/usr/share/texmf-texlive/tex/latex/psnfss/upzd.fd)kpathsea: Running mktextfm 
> pzdr

Hm, looking in hpdftex.def I find:

\def\@Form[#1]{%
  \@ifundefined{textcolor}{\let\textcolor\@gobble}{}%
  \setkeys{Form}{#1}%
  \ifnum\pdftexversion>13
    \pdfrefobj\OBJ@pdfdocencoding
    \pdfrefobj\OBJ@ZaDb
    \pdfrefobj\OBJ@Helv
    \pdfrefobj\OBJ@acroform
  \fi
  \pdfcatalog{/AcroForm \OBJ@acroform\space 0 R}%
  \MakeFieldObject{%
    \begingroup
      \fontfamily{pzd}%
      \fontencoding{U}%
      \fontseries{m}%
      \fontshape{n}%
      \selectfont
      \char123 %
    \endgroup
  }{Ding}%
  \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{Submit}}}}{Submit}%
  \MakeFieldObject{\fbox{\textcolor{yellow}{\textsf{SubmitP}}}}{SubmitP}%
}

but I don't see a reason why this should be expanded and "executed".  It
should only need the font if the document actually uses Forms.  

Could it be that you have modified some files?  Please send the complete
logfile test.log,
/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def, and
/var/lib/texmf/web2c/pdflatex.log. 

Regards, Frank
-- 
Frank Küster
Debian Developer (teTeX/TeXLive)



Reply to: