You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1
What steps will reproduce the problem?
call rasterize.js with following command line
phantomjs rasterize.js https://developers.google.com/fonts/ /dummyPath/ 1920px
Version 2.5 works much better for me. Fonts are rendered for the above webpage, which it doesn't do for any of the older versions. (For my own site, I was able to render the fonts with PhantonJS 1.9.8, but not with any of the 2.x version. Works again and even better with 2.5.)
Which version of PhantomJS are you using? Tip: run
phantomjs --version
.2.1.1
What steps will reproduce the problem?
call rasterize.js with following command line
phantomjs rasterize.js https://developers.google.com/fonts/ /dummyPath/ 1920px
rasterize.js: https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js
Which operating system are you using?
Windows 10 64x
Did you use binary PhantomJS or did you compile it from source?
binary
Please provide any additional information below.
This is the output, when I render developers.google.com/fonts/ with the rasterize.js
https://i.stack.imgur.com/jTZcL.png
And the debug log:
2017-03-09T11:38:38 [DEBUG] CookieJar - Created but will not store cookies (use option '--cookies-file=' to enab le persistent cookie storage)
2017-03-09T11:38:39 [DEBUG] Set "http" proxy to: "" : 1080
2017-03-09T11:38:39 [DEBUG] Phantom - execute: Configuration
2017-03-09T11:38:39 [DEBUG] 0 objectName : ""
2017-03-09T11:38:39 [DEBUG] 1 cookiesFile : ""
2017-03-09T11:38:39 [DEBUG] 2 diskCacheEnabled : "false"
2017-03-09T11:38:39 [DEBUG] 3 maxDiskCacheSize : "-1"
2017-03-09T11:38:39 [DEBUG] 4 diskCachePath : ""
2017-03-09T11:38:39 [DEBUG] 5 ignoreSslErrors : "false"
2017-03-09T11:38:39 [DEBUG] 6 localUrlAccessEnabled : "true"
2017-03-09T11:38:39 [DEBUG] 7 localToRemoteUrlAccessEnabled : "false"
2017-03-09T11:38:39 [DEBUG] 8 outputEncoding : "UTF-8"
2017-03-09T11:38:39 [DEBUG] 9 proxyType : "http"
2017-03-09T11:38:39 [DEBUG] 10 proxy : ":1080"
2017-03-09T11:38:39 [DEBUG] 11 proxyAuth : ":"
2017-03-09T11:38:39 [DEBUG] 12 scriptEncoding : "UTF-8"
2017-03-09T11:38:39 [DEBUG] 13 webSecurityEnabled : "true"
2017-03-09T11:38:39 [DEBUG] 14 offlineStoragePath : ""
2017-03-09T11:38:39 [DEBUG] 15 localStoragePath : ""
2017-03-09T11:38:39 [DEBUG] 16 localStorageDefaultQuota : "-1"
2017-03-09T11:38:39 [DEBUG] 17 offlineStorageDefaultQuota : "-1"
2017-03-09T11:38:39 [DEBUG] 18 printDebugMessages : "true"
2017-03-09T11:38:39 [DEBUG] 19 javascriptCanOpenWindows : "true"
2017-03-09T11:38:39 [DEBUG] 20 javascriptCanCloseWindows : "true"
2017-03-09T11:38:39 [DEBUG] 21 sslProtocol : "default"
2017-03-09T11:38:39 [DEBUG] 22 sslCiphers : "ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES128 -GCM-SHA256:ECDHE-ECDSA-AES256-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-RC4-SHA:EC DHE-RSA-RC4-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES128-SHA:AES256-SHA:DES-CBC3- SHA:RC4-SHA:RC4-MD5"
2017-03-09T11:38:39 [DEBUG] 23 sslCertificatesPath : ""
2017-03-09T11:38:39 [DEBUG] 24 sslClientCertificateFile : ""
2017-03-09T11:38:39 [DEBUG] 25 sslClientKeyFile : ""
2017-03-09T11:38:39 [DEBUG] 26 sslClientKeyPassphrase : ""
2017-03-09T11:38:39 [DEBUG] 27 webdriver : ":"
2017-03-09T11:38:39 [DEBUG] 28 webdriverLogFile : ""
2017-03-09T11:38:39 [DEBUG] 29 webdriverLogLevel : "INFO"
2017-03-09T11:38:39 [DEBUG] 30 webdriverSeleniumGridHub : ""
2017-03-09T11:38:39 [DEBUG] Phantom - execute: Script & Arguments
2017-03-09T11:38:39 [DEBUG] script: "capture.js"
2017-03-09T11:38:39 [DEBUG] 0 arg: "https://developers.google.com/fonts/"
2017-03-09T11:38:39 [DEBUG] 1 arg: "C:/Users/d068777/Desktop/record/frames/"
2017-03-09T11:38:39 [DEBUG] 2 arg: "25"
2017-03-09T11:38:39 [DEBUG] Phantom - execute: Starting normal mode
2017-03-09T11:38:39 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:39 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:39 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:39 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:39 [DEBUG] WebPage - updateLoadingProgress: 10
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 30
2017-03-09T11:38:40 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 32
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 35
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 35
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 37
2017-03-09T11:38:40 [DEBUG] WebPage - updateLoadingProgress: 40
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 42
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 44
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 45
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 47
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 48
2017-03-09T1success
1:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 50
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 61
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 70
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 74
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 76
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 79
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 81
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 84
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 86
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 88
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 90
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_ga=GA1.3.1086324686.1489055922; expires=Sat, 09-Mar-2019 10:38:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_ga=GA1.3.1086324686.1489055922; expires=Sat, 09-Mar-2019 10:38:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_ga=GA1.3.1086324686.1489055922; expires=Sat, 09-Mar-2019 10:38:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_gat_tracker0=1; expires=Thu, 09-Mar-2017 10:39:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_ga=GA1.3.1086324686.1489055922; expires=Sat, 09-Mar-2019 10:38:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_gat_tracker0=1; expires=Thu, 09-Mar-2017 10:39:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] CookieJar - Saved "_gat_tracker1=1; expires=Thu, 09-Mar-2017 10:39:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:41 [DEBUG] WebPage - updateLoadingProgress: 90
2017-03-09T11:38:42 [DEBUG] WebPage - updateLoadingProgress: 90
2017-03-09T11:38:42 [DEBUG] WebPage - updateLoadingProgress: 100
2017-03-09T11:38:42 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:49 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:49 [DEBUG] WebPage - updateLoadingProgress: 10
2017-03-09T11:38:49 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:49 [DEBUG] WebPage - updateLoadingProgress: 100
2017-03-09T11:38:49 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] WebPage - updateLoadingProgress: 10
2017-03-09T11:38:49 [DEBUG] WebPage - setupFrame ""
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/fs.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/system.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] FileSystem - _open: ":/modules/webpage.js" QMap(("mode", QVariant(QString, "r")))
2017-03-09T11:38:49 [DEBUG] WebPage - updateLoadingProgress: 100
2017-03-09T11:38:49 [DEBUG] CookieJar - Purged (session) "devsite_dark_code=off; domain=developers.google.com; path=/fonts/"
2017-03-09T11:38:49 [DEBUG] CookieJar - Saved "PAIDCONTENT=tokqlb4i28uifoq7c0id; expires=Sat, 08-Apr-2017 10:38:41 GMT; domain=.survey.g.doubleclick.net; path=/"
2017-03-09T11:38:49 [DEBUG] CookieJar - Saved "_ga=GA1.3.1086324686.1489055922; expires=Sat, 09-Mar-2019 10:38:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:49 [DEBUG] CookieJar - Saved "_gat_tracker0=1; expires=Thu, 09-Mar-2017 10:39:41 GMT; domain=.developers.google.com; path=/"
2017-03-09T11:38:49 [DEBUG] CookieJar - Saved "_gat_tracker1=1; expires=Thu, 09-Mar-2017 10:39:41 GMT; domain=.developers.google.com; path=/"
The text was updated successfully, but these errors were encountered: