I followed the instructions to load a custom font in a html canvas text field. It works fine when I open the page with the Desktop Chrome browser but when I open it with the Chromecast receiver application the font is not loaded. What could be the problem?
Defining the custom font:
<html>
<head>
<style type="text/css">
@font-face {
font-family: 'myfont';
src: url('myfont.TTF') ;
}
Actual text:
ctx.font = "30px myfont";
ctx.fillText("MyText:",50, 50);