I am not the owner of SVGSalamander but I worked with the owner to create our webfont converter solution. The most I can do is ask him if he might consider this. I will work on this and let you know.
Thom On 2010-09-27, at 12:57 PM, Greg Brown wrote: >> Wrapping SVGSalamander is great, I look forward to that feature! > > Actually, I was hoping you might consider doing this. :-) SVGSalamander is > LGPL, which means that we can't legally include it in the platform for > licensing reasons. However, it would make a great "add-on", possibly as a > project hosted on Google Code (where some other related projects already > live, such as Pivot/JFree). > >> What we do is use SVGSalamander to parse the SVG webfont then render the >> glyphs in the webfont to images. This prepares the symbols in advance by >> pre-rendering them at a given size, color and hints including graphic >> effects. >> >> Then to render the symbol images a Graphics2D and XY location need to be >> specified. If the score surface is a StackPane I would expect to be able to >> target a given layer Panel by passing a specific Panel's Graphic2D to the >> symbol render method, right? > > Yup, that should work. Though if you have already converted it to an image, > you might be able to simply use ImageView to display it. Alternatively, you > could write your own component that is capable of drawing the individual > images (kind of like TextArea draws glyphs). > >
