blob: a9ce9188d35c7440f884067cca140dce2608f0fb [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<style type="text/css" media="all">
/* These rules intentionally use 'incorrect' fallback families
So that if the font-face defined font can't be found the test fails. */
#test {
font: 2.3cm "test", cursive;
}
@font-face {
font-family: "test";
src: url(../../resources/Ahem.ttf);
}
</style>
<defs>
<font-face id="test" font-family="test">
<font-face-src>
<font-face-name name="Courier" />
</font-face-src>
</font-face>
</defs>
<text id="test" x="10" y="2cm">ONLY BLOCKS</text>
<text x="30" y="3cm">The text above should only show Ahem blocks</text>
</svg>