tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

1938548.html (519B)


      1 <!DOCTYPE html>
      2 
      3 <meta charset="utf-8">
      4 
      5 <style>
      6 @font-face {
      7  font-family: test;
      8  /* WhiteOnBlack CFF2 font from https://github.com/adobe-fonts/white-on-black-vf,
      9     licensed under the SIL Open Font License version 1.1 */
     10  src: url(WhiteOnBlack.otf);
     11 }
     12 div {
     13  font: 40px test;
     14 }
     15 </style>
     16 
     17 <div>&#x328E;</div>
     18 
     19 <canvas id="c"></canvas>
     20 
     21 <script>
     22 document.fonts.ready.then(() => {
     23  var ctx = document.getElementById("c").getContext("2d");
     24  ctx.font = "40px test";
     25  ctx.fillText("\u328E", 0, 100);
     26 });
     27 </script>