Hi,
The attached website (consisting of folder "site" and subfolders) contains an HTML page, which is referencing a CSS file in another subfolder, which is referencing an SVG background graphic in yet another subfolder. When I install the website in folder "/bla" and run from there
prince site/test.html --media=print --output=site/test.pdf --fileroot=/bla
then the SVG background graphic doesn't show up. The --debug option gives me though:
If I use the JPG (bg.jpg) instead of the SVG graphic then the background graphic does show up, though.
When I use absolute paths in both the HTML file and the CSS file and I remove the --fileroot option then the SVG graphic does show up as well.
I think there is a problem with the --fileroot parameter when used in conjunction with SVG graphics.
I'm using Prince 7.1.
Thanks,
Henning
The attached website (consisting of folder "site" and subfolders) contains an HTML page, which is referencing a CSS file in another subfolder, which is referencing an SVG background graphic in yet another subfolder. When I install the website in folder "/bla" and run from there
prince site/test.html --media=print --output=site/test.pdf --fileroot=/bla
then the SVG background graphic doesn't show up. The --debug option gives me though:
...
prince: loading image: /site/obj/images/bg.svg
prince: debug: loaded resource: /site/obj/images/bg.svg
prince: debug: loaded resource: type: no
prince: debug: writing output: site/test.pdf
prince: Finished: success
If I use the JPG (bg.jpg) instead of the SVG graphic then the background graphic does show up, though.
When I use absolute paths in both the HTML file and the CSS file and I remove the --fileroot option then the SVG graphic does show up as well.
I think there is a problem with the --fileroot parameter when used in conjunction with SVG graphics.
I'm using Prince 7.1.
Thanks,
Henning