When you say embed as base64 data URI in CSS and pick a WOFF2 font (for instance, the Fontello service gives us WOFF2 now), WE 2015 will embed it as text/plain mime type.
This results in warnings and errors in browsers, for instance in Chrome you will get
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
and
Failed to decode downloaded font: data:text/plain;base64,d09GMgABAAAAAAocAA8AAAAAFVQAAAnDAAEAAAAAAAAAAAAAAAAA…NwpxA+iWbSfTXSzP/ehs2ynd70uKsbX+bonUNM2Gx8f9HKpOX6zoeokmjTPxnHXH6fYhIAAAA=
The correct mime type is font/woff2. If I manually replace text/plain with font/woff2 all works fine.
When you say embed as base64 data URI in CSS and pick a WOFF2 font (for instance, the Fontello service gives us WOFF2 now), WE 2015 will embed it as text/plain mime type.
This results in warnings and errors in browsers, for instance in Chrome you will get
OTS parsing error: Failed to convert WOFF 2.0 font to SFNT
and
Failed to decode downloaded font: data:text/plain;base64,d09GMgABAAAAAAocAA8AAAAAFVQAAAnDAAEAAAAAAAAAAAAAAAAA…NwpxA+iWbSfTXSzP/ehs2ynd70uKsbX+bonUNM2Gx8f9HKpOX6zoeokmjTPxnHXH6fYhIAAAA=
The correct mime type is font/woff2. If I manually replace text/plain with font/woff2 all works fine.