Red Hat Bugzilla – Bug 1476585
pandoc font required for PDF conversion not found (cmr10 TFM)
Last modified: 2017-11-19 01:56:02 EST
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:
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>
pandoc: Error producing PDF`
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
File conversion fails
File conversion produces new PDF file with contents from input txt or md file.
Thanks for the report.
Is this a pandoc issue?
I'm not sure. Presumably pandoc config determines the default font to use for such conversions, and that font should always be available. In any case, the problem was discovered via usage of pandoc. I do not use, and have not tried pdflatex or texlive directly. I leave the categorisation to someone better informed.
*** Bug 1479750 has been marked as a duplicate of this bug. ***
Okay I will try to find time to investigate but if the font is installed
it sounds like a regression in the font package to me: I am happy to add
requires to the package if that helps though.
Seems this issue is fixed in F27.
Okay, I would still like to understand the issue with F26.
But it sounds like a texlive issue.