You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/09/12 11:25:56 UTC
DO NOT REPLY [Bug 12565] New: -
Embedding SVG tags like font-face causes error message and will be ignored
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12565>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12565
Embedding SVG tags like font-face causes error message and will be ignored
Summary: Embedding SVG tags like font-face causes error message
and will be ignored
Product: Fop
Version: 0.20.4
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: svg
AssignedTo: fop-dev@xml.apache.org
ReportedBy: michael.maier@vivai.de
That means that the svg-tags
font-face, font-face-uri and font-face-src
can't be used in embedding svg in the "fo:instream-foreign-object" tag.
Solution: In the method setupSVG of the SVGElementMapping class add the following
lines:
...
foObjs.put("text", SVGObj.maker("text"));
...
foObjs.put("font-face", SVGObj.maker("font-face"));
foObjs.put("font-face-uri", SVGObj.maker("font-face-uri"));
foObjs.put("font-face-src", SVGObj.maker("font-face-src"));
...
After that you can use font-face and the other tags to change the fonts used by the svg
object.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org