phawind111 / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

webfonts in chromecast not working #668

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to use <link 
href='https://fonts.googleapis.com/css?family=Share+Tech+Mono' rel='stylesheet' 
type='text/css'>
2. Use font-family: 'Share Tech Mono' in css

What is the expected output? What do you see instead?
I expect webfonts to work. Instead one of the default fonts is substituted

What version of the product are you using? On what operating system?
chromecast

Please provide any additional information below.
when loading the same html/css/script in chromium on my desktop it does load 
the font correctly.

Original issue reported on code.google.com by sjoerd.t...@gmail.com on 18 Oct 2015 at 1:46

GoogleCodeExporter commented 8 years ago
I figure it out! 
google.com/fonts suggested the use of:
"font-family: 'Share Tech Mono', ;"
including the extra comma. In chromium this just works but apparently the 
chromecast version of chrome is pickier than chromium 45.0.2454.101 in this 
respect. 

Original comment by sjoerd.t...@gmail.com on 20 Oct 2015 at 8:31

GoogleCodeExporter commented 8 years ago
Glad you were able to find a resolution. Closing this ticket now.

Original comment by jonathan...@google.com on 20 Oct 2015 at 3:52