Hi there,
I’m building a extension and I’m trying to include a font in it but I can’t make it work.
I tried using resource:
and data:
with no luck.
The error using resource:
is:
downloadable font: download not allowed (font-family: "my-font" style:normal weight:normal stretch:normal src index:0): bad URI or cross-site access not allowed source: resource://my-extension/data/font/my-font.woff
and the error using data:
is:
Content Security Policy: The page's settings blocked the loading of a resource at data:application/font-woff;base64,.... ("font-src https://blah.blah.com").
Is it possible to load the font in some other way?
Thanks.