Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Closed

Why different results under mac and linux #23

lujiajing1126 opened this issue Feb 27, 2014 · 1 comment

Comments

@lujiajing1126
Copy link

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...???

@alanshaw
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants