moinejf/abc2svg

Style problems when rendering multiple SVG

Closed this issue · 2 comments

I have a project in Ionic and it have a view with an ion-slides inside. Every slide contains a different SVG image rendered with this library. The problem is that the inline style tag have the same style names and it overrides each other, having problems with the same parts of different images
screen shot 2017-12-29 at 17 00 53
screen shot 2017-12-29 at 17 01 08

I don't fully understand what you are doing, but you can set different style names using

%%fullsvg x

'x' is a suffix which is added to the class defining the fonts.
Each tune/generation set may have a different suffix.
(see http://moinejf.free.fr/abcm2ps-doc/fullsvg.xhtml)

That should do the trick, thank you very much!