Created attachment 203489 [details] proper display in Firefox on Linux Hi, It seems the HTML attribute for Sanskrit language text lang="sa" is not properly passed to the font rendering layer as OpenType tag 'SAN ' Firefox does it right, and using a font which makes a distinction betwen Sanskrit and Hindi in Devanagari script, it makes a big difference with fonts Herre a test file: works * with GNU FreeFont installed, and * using recent Firefox. ========================================== <!doctype html> <html> <head> <title>Sanskrit vs Hindi</title> <style type="text/css"> body, td { font-family: freeserif; } </style> </head> <body> <p><em>Requires a font that distinguishes Sanskrit and Hindi.</em></p> <p>[ <span lang="sa">क्क</span> ] [ <span lang="hi">क्क</span> ]</p> <p>[ <span lang="sa">ङ्य</span> ] [ <span lang="hi">ङ्य</span> ]</p> <p>[ <span lang="sa">ष्ट्र्य</span> ] [ <span lang="hi">ष्ट्र्य</span> ]</p> </body> </html>
*** This bug has been marked as a duplicate of bug 77568 ***
Hi, Alexey, I'm surprised that you marked this report as a duplicate of bug 77568. That bug is about the OpenType 'locl' feature -- this one is about the HTML 'lang' attribute. These seem very different to me, and I'm sure relate to quite different parts of the source code. I think it would be possible to fix the other bug and fail to fix this one. Can you explain why the two bugs should be identified?