subpixel-glyphs-x-3b.html (978B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 5 <meta http-equiv="Content-Style-Type" content="text/css"> 6 <title>Reference for consistent kerning, bug 716402</title> 7 <style type="text/css"> 8 @font-face { 9 font-family: mplus; 10 src: url(../fonts/mplus/mplus-1p-regular-no-OT.ttf); 11 /* a copy of M+ with OpenType tables removed, 12 so only legacy 'kern' is present */ 13 } 14 body { 15 text-rendering: optimizeLegibility; 16 font-family: mplus; 17 font-size: 15px; 18 background: white; 19 color: black; 20 } 21 .right { 22 text-align: right; 23 } 24 span { 25 color: white; 26 } 27 </style> 28 </head> 29 <body> 30 <div> 31 AVAV<span>AV</span> 32 </div> 33 <div class="right"> 34 <span>AV</span>AVAV 35 </div> 36 </body>