-
Notifications
You must be signed in to change notification settings - Fork 137
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
Upgrade to latest Electron Version (1.7.4) #204
Comments
There is a reason, some of the content my company exports does not render correctly with the newer versions of Chromium. And I have not been able to determine the root cause of why that is. So we must say on the 1.4.x version. that being said, the 1.3 release of electron-pdf uses 1.6.x and could be upgraded to a newer 1.6 version anytime. My intent is to make all fixes/enhancements on 1.2 and merge them forward into 1.3. Since 1.7 is still in Beta I don't know if now is the time to base electron-pdf off of 1.7. But, if there are fixes in 1.7 that are not in 1.6 then that may warrant an In summary:
|
@codecounselor Thanks for the quick reply. I now understand the reasoning. When I saw that When I ran my test above I just cloned master, failing to clone So for the time being we'll keep our fork and look for future releases. I'll close this issue but it may be useful to include the version mapping somewhere on the main Markdown page (unless I just missed it...if so, my fault). Thanks! |
@nkoterba @codecounselor |
I'm not sure about your CSS grid issues, but you can try a newer version of Electron by just installing it with If you find that a new(er) version fixes your problem I can create a new branch. |
I'm not sure if there's a better way of going about this, but I used a package called If you could use a branch that leverages The process was a bit convoluted, so I'll document what I did, for posterity:
To see the initial/existing dependency tree for electron (this should show the different version under
This is how I found the available
Added this section to my
This cmd didn't work at first because of a few missing dependencies: In order to install those needed dependencies manually, I had to:
And then re-run:
To confirm you've made a glitch in the matrix =P:
At this point, generating a PDF properly was a matter of running my existing npm script:
For example:
|
I can do that, but first I'm wondering if you could also use |
Master is updated to use electron |
First, great work on an awesome utility! 👍
Is there a reason, the current version of Electron used is almost 3 minor versions behind?
We are going to have to fork your project because the current version of electron used
1.4.15
(https://github.com/fraserxu/electron-pdf/blob/master/package.json#L48) has a font rendering/anti-aliasing issue.I converted the same HTML file below.
This is using current
electron-pdf
(and Electron version 1.4.15 internally):This is using my fork where all I did was upgrade Electron (to 1.7.4):
The text was updated successfully, but these errors were encountered: