shaping-arabic-diacritics-001.html (1333B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>shaping: Arabic diacritics on NBSP</title> 6 <meta name="assert" content="Shaping must work for diacritics rendered on NBSP as base"> 7 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> 8 <link rel="help" href="https://www.unicode.org/versions/Unicode13.0.0/ch02.pdf"> 9 <link rel="help" href="https://www.unicode.org/reports/tr53/"> 10 <link rel="match" href="reference/shaping-arabic-diacritics-001-ref.html"> 11 <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-2"> 12 <style type="text/css"> 13 @font-face { 14 font-family: ArabicTest; 15 src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2'); 16 } 17 .test { 18 font: 120px/2 ArabicTest, sans-serif; 19 } 20 </style> 21 </head> 22 <body> 23 <p class="instructions">Test passes if the two lines are rendered identically, 24 with the superscript alef (ا) directly above the raised hamza (ء).</p> 25 <!-- The Arabic characters here are ARABIC HAMZA ABOVE and ARABIC LETTER 26 SUPERSCRIPT ALEF, and according to UTR53 should always be sorted 27 as <hamza,alef> for rendering regardless of underlying order. --> 28 <div class=test>a<span dir=rtl> ٰٔ</span>z</div> 29 <div class=test>a<span dir=rtl> ٰٔ</span>z</div> 30 </body> 31 </html>