Bug 94084 - Replace SVG unsupported multi-page support with a new "-split" option
Summary: Replace SVG unsupported multi-page support with a new "-split" option
Alias: None
Product: poppler
Classification: Unclassified
Component: cairo backend (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: poppler-bugs
QA Contact:
Depends on:
Reported: 2016-02-10 21:54 UTC by pierre-luc.samuel
Modified: 2018-08-20 22:06 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description pierre-luc.samuel 2016-02-10 21:54:51 UTC
In reference to a mailing list discussion

On 04/02/16 05:58, Pierre-Luc Samuel wrote:
> Hi,
> A long time ago, cairo implemented the SVG 1.2 draft with support for
> multipage, so pdftocairo complies with that and submits an entire PDF
> document to be rendered into 1 SVG file.  However, no existing svg
> viewer can open these files because SVG 1.2 was never adopted by W3C and
> was actually dropped in 2005 in favor of development of SVG 2.0.  See
> https://www.w3.org/standards/techs/svg#obsolete
> Inkscape has scapped their own plans of supporting multi-page SVG since
> it's not supported by any current SVG specification, and SVG 2.0 doesn't
> look like it will have multi-page either
> http://wiki.inkscape.org/wiki/index.php/Multipage
> So, I would be willing to prepare a patch to have SVG treated like other
> single-page image files, so that calling pdftocairo would generate many
> SVG 1.1 files.  Libcairo already has a
> cairo_svg_surface_restrict_to_version() method.
> Would you be interested in such a patch?

Adrian Johnson wrote:

I think it would be best to add a "-split" option (applicable to all
vector outputs) for creating one file per page. Changing the default svg
output to one file per page would be a significant change to the
pdftocairo behavior that would break any existing scripts that use
"pdftocairo -svg".

Using a -split option also leaves open the possibility changing the
current multipage svg to whichever multipage option Inkscape chooses to

We can also change the pdftocairo svg version to 1.1 now that 1.2 is
Comment 1 pierre-luc.samuel 2016-02-10 22:00:34 UTC
I agree that creating a "-split" option would be more forward compatible, and benificial to other plugins.
Comment 2 GitLab Migration User 2018-08-20 22:06:56 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/200.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.