hello 256 bytes out from html

In diesem Blogeintrag zeige ich die Einbindung eines lokalen Font in html. Der Font heisst "256 Bytes" und erinnert an die 256 Bit Zeit vor ... Jahren.

Der Grundcode ist gegeben:

<style>
@font-face { font-family: 'My256'; }

src: src('256 Bytes.ttf');
url('256 Bytes.ttf'); }

bla { font-family: 'My256'; font-size:50px; line-height: 40px }
</style>

<bla> hello 256 bytes out from html </bla>

Passende Informationen zum Grundcode finden sich auf CSS3 @font-face Rule in der W3Schools.com. Mit den Standart Font Formaten TFF/OTF, WOFF/2, SVG, EOT klappt didie Einbindung problemlos. "256 Bytes" fällt leider aus dem Rahmen. Bei genauerem Untersuchen des item Bildchen fand ich ein FFIL Inschrift. Online finde ich Infos. FFIL ist ein Mac Font Suitcase File. Die @font-face Rule greift leider nicht auf anhieb. Die Umwandlung in das Standart Format ttf bringt den Erfolg.