tor-browser

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

font-smoothing-antialiased.html (516B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <style>
      4 @font-face {
      5  font-family: test;
      6  src: url(../fonts/dejavu-sans/DejaVuSans.ttf);
      7 }
      8 div {
      9  font: 24px test;
     10  margin: 6px;
     11 }
     12 .test {
     13  -webkit-font-smoothing: grayscale;
     14 }
     15 .ref {
     16  -webkit-font-smoothing: auto;
     17 }
     18 .dark {
     19  background: black;
     20  color: white;
     21 }
     22 </style>
     23 
     24 <p>The first line should use lighter (grayscale-only) antialiasing:</p>
     25 <div class="test">abcdef <span class="dark">abcdef</span></div>
     26 <div class="ref">abcdef <span class="dark">abcdef</span></div>