Das war mir auch bisher nicht bewusst, aber scheinbar geht es doch. Im Quelltext der Seite sieht das so aus:
Code:
<STYLE TYPE="text/css">
<!--
@font-face {
font-family: normal;
src: local('normal'),url(normal.otf) format("opentype");
}
-->
</STYLE>
<STYLE TYPE="text/css">
@font-face {
font-family: 'gross';
font-style: normal;
font-weight: normal;
src: url(gross.ttf);
}
</STYLE> Code:
<font face="gross"><b><h2>Wartungsmodus</h2></b></font>
Es wird also einmal ein TTF- und einmal ein OTF-Font nachgeladen.
Bei SelfHTML gibt es auch einen Eintrag:
http://de.selfhtml.org/css/eigenscha...rift_datei.htm
Im Mozilla Developer-Center:
https://developer.mozilla.org/index....S/%40font-face
Die Möglichkeit, Fonts nachzuladen gibt es also bereits seit CSS2, damals haben es allerdings nur der Internet Explorer und Netscape 4.0 übernommen. In CSS2.1 ist @font-face wieder rausgeflogen, in CSS3 wurde es wieder eingeführt.
In Firefox gibt es diese Möglichkeit seit Version 3.5, in Opera seit 10.0 und in Safari seit 3.1