Help adding custom font to custom panel

As a proof of concept, I’m trying to add a custom font (ttf) for a custom panel using this demo to create the panel. I’m able to follow this just fine and get my panel showing up, but I cannot get my custom font to be recognized. I’ve tried setting the font via @font-face in the style section, in a seperate css file in www folder, in another dom-module in a separate html file, but nothing seems to take. I feel like I’m missing something Polymer related or maybe it’s the behavior of @font-face…I’m not sure. Oh, my setup is Raspberry Pi 3 with Hassio. Any suggestions would be most welcome.

1 Like