devanagari-1-ref.html 426 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Simple Devanagari shaping</title>
  6. <style>
  7. @font-face {
  8. font-family: lohit-hi;
  9. src: url(../fonts/ttf-indic/lohit_hi.ttf);
  10. }
  11. body {
  12. font-family: lohit-hi;
  13. font-size: 36px;
  14. margin: 18px;
  15. }
  16. .w {
  17. color: white;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <!-- Ra that forms Reph should not contribute any width -->
  23. <div>
  24. !<span class="w">&#x0939;</span>!
  25. </div>
  26. </body>
  27. </html>