Page: http://wiki.cocoondev.org/Wiki.jsp?page=Embedding_SVG_Fonts , version: 8 
on Fri Feb 21 16:53:43 2003 by 138.73.16.5

+ !Thanks
+ 
+ I feel I must emphazise that the Batik team provides 99% of the cleverness 
and hard work that makes this transformation happen. Kudos to them!
+ 
- The underlying java code has a javadoc page at 
[http://heml.mta.ca/heml-cocoon/javadoc/org/heml/image/text/SvgFontEmbedder.html]
 and can be downloaded with the rest of the Heml project at our CVS server. 
Some industrious Cocooner might want to extend it into a cocoon transformer, 
thereby removing the need for the xslt file. I used the xslt because it gives 
me the power of xpath to pick up the font name from ancestors.
+ The underlying java code has a [javadoc 
page|http://heml.mta.ca/heml-cocoon/javadoc/org/heml/image/text/SvgFontEmbedder.html]
 and can be downloaded with the rest of the Heml project at our [CVS 
server|http://heml.mta.ca/site/CVS.html]. 
+ !Ideas for Improvements
+ *Some industrious Cocooner might want to extend it into a cocoon transformer, 
thereby removing the need for the xslt file. I used the xslt because it gives 
me the power of xpath to pick up the font name from ancestors. 
+ *Furthermore, someone who understands Batik 2DGraphics internal better than I 
might be able to grab the font defs more elegantly and reliably than by 
descending through the document tree from getRoot() as my code does.
+ *xpath or other mojo that could pick fontnames off of {{style="font-family: 
MY_FONT"}} types of declarations (see Caveats #2 above) would add greatly to 
the universality of this solution.
+ 
+ 
+ 


Reply via email to