B
B
BanterFace2017-05-29 18:30:25
css
BanterFace, 2017-05-29 18:30:25

How to connect font to svg?

I include svg via <object>, I prescribe <text>'font-family="BaronNeue", for example, but the font remains default. The font is connected via @font-face. How to make svg see my font?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BanterFace, 2017-05-29
@BanterFace

Mva, even I stepped: it was necessary to include the font inside the svg itself, through <style type="text/css">in defs. Now everything works.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question