devanagari-4.html 437 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. <!-- presence of ZWNJ alters placement of the short-I matra -->
  23. <div>
  24. &#x0921;&#x094D;&#x200C;&#x0938;&#x093F;
  25. </div>
  26. </body>
  27. </html>