mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
8 lines
196 B
HTML
8 lines
196 B
HTML
|
<script>
|
||
|
var f = new FontFace("x", "url(x.ttf)", { unicodeRange: "U+0041" });
|
||
|
f.load();
|
||
|
document.fonts.add(f);
|
||
|
f = new FontFace("x", "url(x.ttf)", { unicodeRange: "U+0042" });
|
||
|
f.load();
|
||
|
</script>
|