Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm unable to change the extensions font-family, even if I marked the font-family as "!important". I have no problems to change the font-color or the font-size, but the font-family is always the same. I need to mention that this problem only appears on SVG text elements, not on plain html text.
Has someone any idea how to solve this?
Found a solution after a while.
I tried dynamically to set the font-family for an object, outside the css file,
this._item.setAttributeNS(null, "font-family", fontFamily)
This method, didn't work. The solution is setting the font-family with jquery:
$(element.item).css("font-family", fontFamily);
Found a solution after a while.
I tried dynamically to set the font-family for an object, outside the css file,
this._item.setAttributeNS(null, "font-family", fontFamily)
This method, didn't work. The solution is setting the font-family with jquery:
$(element.item).css("font-family", fontFamily);