I just thought I would add an update to this. I have managed to achieve this by reading in the generated font SVG into a DOM and moving across to my target document the font element.
Is there any other solution as it seems a bit around the houses? Thanks Lea. Lea Thurman wrote: > > Hi, > > I am using Batik 1.7 and I am successfully able to generate a font using > the batik font converter and everything works if I then copy and past the > Font SVG element into my target SVG document. > > However I would like to put the generated Font element into my target > document programatically as I am sure most other people do. > > I have scoured the forum and can find no answer. I guess the nub of the > issue is I do not how to embed the font element from the generated SVG > font file. > > How are you all using the SVG documents generated by the batik font > converter? > > Many Thanks > Lea. > -- View this message in context: http://www.nabble.com/How-to-embed-a-font-programmatically--tp17621806p17625654.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
