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

Font kerning problem when capturing PDF on Linux #12016

Open
FelixAkk opened this Issue Feb 27, 2014 · 1 comment

Comments

Projects
None yet
2 participants

So I'm not sure if this problem is already fixed, because I noticed it on PhantomjS 1.9.7, and I can't figure out which version of WebKit it uses (probably not the latest nightly).

It also doesn't occur when normally rendering as a web page in the browser, and it seems to apply independent of the font in use. Thus far I noticed the problem only on Linux (both Ubuntu 13.10 and elementaryOS Luna), while it doesn't occur on Mac OSX 10.9 Mavericks or on Windows 7 x64.

I tried to establish whether this a WebKit problem by testing this on the latest Chromium by rendering the same page to PDF using it's via the print dialog. The problem didn't occur, which makes me inclined to think it might be in PhantomJS (while I thought that the capturing to PDF process is all WebKit terrain), but it could also be that it's fixed in the latest WebKit or the PDF capturing process of PhantomJS is different from the PDF generation process of Chromium as called via the print dialog.

At any rate. Great job on PhantomJS so far! I rely heavily on it with Nota, and except a few bugs it works amazing!

It doesn't happen on Windows 7 x64, but I'm experiencing it on CentOS 6.5 x64.

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