Closed JeffryBooher closed 10 years ago
FYI, I'm pretty sure this is just a bug and probably a regression - looking at the code, it clearly intends to get all the fonts, not just the first one. I doubt they would have shipped it originally with this bug :)
@JeffryBooher can you please re-file in the Edge Web Font repo? Thanks.
Closing this issue in anticipation of it being moved.
p { font-family:
and browse for ewf and select a font then close out the rule.div { font-family:
and browser for a different font then close out the rule. (note: for both rules for completeness i addsans-serif
but that should be default for body)<p>
tag in the body with some text<div>
tag in the body with some textindex.html
index.html
in a browser.==> The
<div>
tag is unstyled.if you look at the js code that the ewf extension gives you -- it only gives you the code to download the 1st font it found in the css.
The only way to get the code for the other fonts is to comment out the first rule and get another js script to download. this is a nightmare if you use a lot of fonts.
Note: we shouldn't need more than 1 code. There is a way to specify all of the fonts to download on the url but need to work that out with the typekit guys. Reflow does this currently so we could look at that code to see what they are doing.