https://bugzilla.redhat.com/show_bug.cgi?id=1476585
Bug ID: 1476585 Summary: pandoc font required for PDF conversion not found (cmr10 TFM) Product: Fedora Version: 26 Component: pandoc Assignee: petersen@redhat.com Reporter: mail@samtuke.com QA Contact: extras-qa@fedoraproject.org CC: haskell-devel@lists.fedoraproject.org, petersen@redhat.com
Description of problem:
Using pandoc to convert (at least) txt or markdown files to PDF fails due to the default selected font being unfound. All such conversions to PDF fail therefore. The font in question is cmr10, and should be provided by texlive-cm-super. However even with the package (and font) installed with the following files, the TFM version of the font is not found by pandoc:
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/cmr10.103 /usr/share/texlive/texmf-dist/fonts/afm/public/amsfonts/cm/cmr10.afm /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb /usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfm
Error printed by pandoc during conversion is:
`! Font OT1/cmr/m/n/10=cmr10 at 10.0pt not loadable: Metric (TFM) file not found . <to be read again> relax l.54 \normalsize
pandoc: Error producing PDF`
How reproducible:
Always
Steps to Reproduce: 1. Install pandoc, texlive-cm-super, and pdflatex (texlive-latex-bin-bin) 2. Create a textfile (.txt) and run `pandoc filename.txt -o output.pdf 3. Observe error
Actual results:
File conversion fails
Expected results:
File conversion produces new PDF file with contents from input txt or md file.