bengali-2a.html 515 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Simple Bengali shaping</title>
  6. <style>
  7. @font-face {
  8. font-family: lohit-bn;
  9. src: url(../fonts/ttf-indic/lohit_bn.ttf);
  10. }
  11. body {
  12. font-family: lohit-bn;
  13. font-size: 36px;
  14. margin: 18px;
  15. }
  16. .w {
  17. color: white;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <!-- subjoined Ra forms ligate with the consonant and generally modify its width,
  23. so we expect "bra" to differ from both "b" and "b-halant-ra" -->
  24. <div>
  25. !<span class="w">&#x09AC;</span>!
  26. </div>
  27. </body>
  28. </html>