Actually another related query.
Looking at the computed style of some fonts (supplied by the google font API)
I get this;
font-family:'Sorts Mill Goudy', serif;
font-family:'Rouge Script', cursive;
font-family:'Gloria Hallelujah', cursive;
font-family:Tangerine, cursive;
Notice the last one doesn't have single quote marks around the name.....and also doesn't work in canvas.
The first 3 work just fine.
The css for all the fonts is very similar;
.StoryStyleThree {
font-family: 'Gloria Hallelujah', cursive;
font-weight: normal;
font-size: 15px;
}
.StoryStyleFour {
font-family: 'Tangerine', cursive;
font-weight: normal;
font-size: 33px;
}
Any ideas why "Tangerine" is behaving differently? I am assuming the lose of the quotes is whats preventing it working on the canvas element. But given they are defined the same way, I cant work out why its being treated differently.