Note, however, that with these settings you cannot set a single label to normal font weight (could be a bug) with set label ' {/:normal normal weight}'.
Change font weight of svg. I've also tried setting different classes with larger font sizes and changing the class in js, but that didn't help either. Web so i'm trying to dynamically change the font size of an svg text element based on its length using javascript. It is scalable vector graphics.
I've tried using.sytle.fontsize to set it, but nothing changes. I also tried using an object tag and displaying it like so: If you would have some text in your svg then you could do something with the font from the text element.
Web i have something like this: I've tried using.sytle.fontsize to set it, but nothing changes. Higher numbers represent weights that are bolder than (or as bold as) lower numbers.
Does anyone know what i'm doing wrong? I created a custom facebook icon using inkscape and saved it as an svg. Web a value between 1 and 1000, inclusive.
Note, however, that with these settings you cannot set a single label to normal font weight (could be a bug) with set label ' {/:normal normal weight}'. In your case you have to. Does anyone know what i'm doing wrong?
Higher numbers represent weights that are bolder than (or as bold as) lower numbers. Certain commonly used values correspond to common weight names, as described in the common weight name mapping section below.</p> I created a custom facebook icon using inkscape and saved it as an svg.