Skip to content
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

[FEATURE] Adds Configurator to AbstractSVGDocumentHandler. #54

Closed
wants to merge 7,990 commits into from
Closed

[FEATURE] Adds Configurator to AbstractSVGDocumentHandler. #54

wants to merge 7,990 commits into from

Conversation

schowave
Copy link

Beforehand, the SVGDocumentHandler could not be used directly and had to
be overwritten in the way, how the getConfigurator() method is over-
written. Also fonts could not be embedded without the configurator.

The foUserAgent can now be modified in the way:
foUserAgent.setRendererOverride(new SVGRenderer(foUserAgent));
foUserAgent.setDocumentHandlerOverride(new SVGDocumentHandler(IFContext context);

After that, the FopFactory.newFop(..) can be called and the transformation
can be done.

simonsteiner1984 and others added 30 commits June 16, 2015 11:46
…as suggested by dvineshkumar@gmail.com

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1705133 13f79535-47bb-0310-9956-ffa450edef68
…gested by sdridi@iptech-group.com.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1716732 13f79535-47bb-0310-9956-ffa450edef68
…eException (i.e. reported as errors) and AssertionException (i.e. reported as failure)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1716744 13f79535-47bb-0310-9956-ffa450edef68
…ssignment + start of javadoc fixups

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1716765 13f79535-47bb-0310-9956-ffa450edef68
simonsteiner1984 and others added 28 commits June 18, 2018 10:46
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1839970 13f79535-47bb-0310-9956-ffa450edef68
Beforehand, the SVGDocumentHandler could not be used directly and had to
be overwritten in the way, how the getConfigurator() method is over-
written. Also fonts could not be embedded without the configurator.

The foUserAgent can now be modified in the way:
foUserAgent.setRendererOverride(new SVGRenderer(foUserAgent));
foUserAgent.setDocumentHandlerOverride(new SVGDocumentHandler(IFContext context);

After that, the FopFactory.newFop(..) can be called and the transformation
can be done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants