cakebake / markdown-themeable-pdf

ARCHIVED. NOT MAINTAINED. Themeable Markdown Converter (Print to PDF, HTML, JPEG or PNG)
https://atom.io/packages/markdown-themeable-pdf
133 stars 37 forks source link

Fontconfig error: junk after document element #46

Closed andrade closed 8 years ago

andrade commented 8 years ago

When I right-click and select "Markdown to PDF" I get the following error:

Uncaught Error: Fontconfig error:
"/home/daniel/.config/fontconfig/fonts.conf", line 7: junk after document element

Stack trace:

/home/daniel/.atom/packages/markdown-themeable-pdf/lib/markdown-themeable-pdf.js:472

Error: Fontconfig error: "/home/daniel/.config/fontconfig/fonts.conf", line 7: junk after document element
    at ChildProcess.<anonymous> (/home/daniel/.atom/packages/markdown-themeable-pdf/node_modules/html-pdf/lib/pdf.js:111:17)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Using Ubuntu 14.04 and Atom 1.7.3. I've checked for package updates and it says everything is up to date.

cakebake commented 8 years ago

This is OS related. Please check your font configuration on ubuntu.