tor-browser

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

ft_font.html (720B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <meta charset="UTF-8" />
      5    <title>FreeType Font Test</title>
      6    <style>
      7      @font-face {
      8        src: url("metropolis_regular.ttf") format("truetype");
      9      }
     10 
     11      body {
     12        font-size: 24px;
     13      }
     14      .box {
     15        height: 100vh;
     16        width: 100vw;
     17      }
     18      @media screen {
     19        .background {
     20          background-color: rgb(0, 0, 255);
     21          color-adjust: exact;
     22        }
     23      }
     24      @media print {
     25        .background {
     26          background-color: rgb(255, 113, 57);
     27          color-adjust: exact;
     28        }
     29      }
     30    </style>
     31  </head>
     32  <body>
     33    <div class="box background"><p>This is a test of a Free Type font</p></div>
     34  </body>
     35 </html>