Comments (6)
I guess it should look like this:
QString out = Process::run(data.convPath, {
"--no-remote",
"--profile", "/home/jkalliau/prgm/firefox-portable/profilordner",
"--headless",
"--window-size",
QString("%1,%2").arg(w).arg(h),
"--screenshot",
QFileInfo(outImg).absoluteFilePath(),
data.imgPath,
}, true);
from resvg-test-suite.
You should use Firefox < 61. Later versions have a broken screenshot feature.
from resvg-test-suite.
I extracted https://ftp.mozilla.org/pub/firefox/releases/60.9.0esr/linux-x86_64/de/ in /home/jkalliau/prgm/firefox
and it works. ;-)
Can I tell this firefox-version somehow to not update if I open it?
My default-browser is firefox (I know some prefer chrome) and I got some rendering-problems when my default browser /usr/bin/firefox/firefox
is open, can I tell FF60 to be a portable version with local user-settings?
from resvg-test-suite.
No idea.
from resvg-test-suite.
I could tell firefox to not update via https://stackoverflow.com/a/44097096/6747994 but that would also affect my current firefox-browser.
However on Linux there is a possibility to run it portable, see https://wiki.ubuntuusers.de/Portable_Firefox/
But this needs to send firefox two options -no-remote -profile "$PWD/profilordner"
, otherwise it will not render anything as long as I have another firefox-window open.
In vdif-terminal I get
firefox: *** You are running in headless mode.
Firefox wird bereits ausgef�hrt, reagiert aber nicht. Um ein neues Fenster �ffnen zu k�nnen, m�ssen Sie zuerst den bestehenden Firefox-Prozess beenden oder Ihren Computer neu starten.
If I have another firefox-window open.
Anyway: @RazrFalcon can you tell me where to add `-no-remote -profile "/home/jkalliau/prgm/firefox-portable/profilordner"´ to firefox I assume https://github.com/RazrFalcon/resvg-test-suite/blob/master/tools/vdiff/src/render.cpp#L93 - L100
from resvg-test-suite.
@RazrFalcon Thanks works perfectly (also if I have another firefox open)
from resvg-test-suite.
Related Issues (20)
- W3C test suite Revision version differs between png and svg HOT 2
- update official.csv for librsvg 2.5X HOT 1
- [featureRequest] terminal-comands for vdiff HOT 1
- FYI duplicates HOT 1
- textLength HOT 2
- Tests Validity HOT 10
- vdiff supports Qt6? HOT 2
- Test against Safari
- Do not use text in a-stroke-opacity tests
- Styling Issue HOT 9
- Test `filter` with external url
- Figure out how to trigger `no-composite` property of `feBlend`
- e-radialGradient-044: focal point overlapping should result in no gradient drawn HOT 1
- e-radialGradient-031: Focal point correction changed in SVG2 HOT 1
- [vdiff] inkscape does not work on Gnome, but on KDE and Xfce HOT 4
- Issue with `structure/transform/rotate-at-position.svg`? HOT 1
- Tests `marker-on-rounded-rect` and `orient=audo-on-M-C-C-4` wrong HOT 2
- `image-with-float-size-scaling` has wrong resolution? HOT 3
- WPT-compatible tests? HOT 3
- Upgrade Chrome to the latest stable version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resvg-test-suite.