Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Why different results under mac and linux #23

Closed
lujiajing1126 opened this Issue Feb 27, 2014 · 1 comment

Comments

Projects
None yet
2 participants

I run the following lines in the MacOSX 10.8/node 0.10.26/markdown-pdf2.2/phantomjs1.9.7 and Ubuntu 12.04 server/node 0.10.26/markdown-pdf2.2/phantomjs1.9.7

markdownpdf = require("markdown-pdf");

markdownpdf().from.string("some words here").to("/www/sach/Download/1.pdf",function(){
console.log("done");
});

And i got different files

Under MacOSX, the pdf cannot be selected and i thought it was images render by phantomjs

But under ubuntu, i got pdf with words that could be selected and then the chinese word cannot be displayed normally no matter i use utf-8 or gb2312 charset in hb5 template...

SO How could i got pdf (with images) under ubuntu...???

Owner

alanshaw commented Aug 26, 2014

I don't think this is something markdown-pdf can fix for you - see ariya/phantomjs#10373

@alanshaw alanshaw closed this Aug 26, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment