[
https://issues.apache.org/jira/browse/FOP-3335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julien Lacour updated FOP-3335:
-------------------------------
Attachment: svg-switch-to-pdf.patch
> Handle SVG switch element
> -------------------------
>
> Key: FOP-3335
> URL: https://issues.apache.org/jira/browse/FOP-3335
> Project: FOP
> Issue Type: Improvement
> Reporter: Julien Lacour
> Priority: Major
> Attachments: svg-switch-to-pdf.patch
>
>
> It is possible to save the context language and pass it to SVG user agent so
> Batik can render texts based on the <switch> element:
> # The context language is saved in context's hints in
> {{AbstractIFPainter.drawImageUsingImageHandler}}
> # The language is then passed to {{SVGUserAgent}} via
> {{PDFImageHandlerSVG.handleImage}}
> # The user agent saves it and uses it in {{SVGUserAgent.getLanguages}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)