| <style> |
| @font-face { |
| font-family: family1; |
| src: url(../../resources/Ahem.otf); |
| } |
| </style> |
| <p> |
| Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=34735">https://bugs.webkit.org/show_bug.cgi?id=34735</a> [Chromium] OpenType font with CFF glyphs is not handled correctly on Windows XP</i>. |
| </p> |
| <p>Check if glyphs in Ahem.otf can be rendered correctly. If the test passes, you should see dozens of black square characters below:</p> |
| <span style="font-family: family1">!"#$%&()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNO</span> |
| <span style="font-family: family1">PQRSTUVWXYZ[\]^_`abcdefghijklmnoqrstuvwxyz{|}~</span> |
| <!-- space, single-quote, and small p are omitted since they are not black squares --> |
| <p>Check if glyphs not in Ahem.otf can be rendered using a fallback font. If the test passes, you should see a single-quote character below:</p> |
| <span style="font-family: family1, sans-serif">'</span> |
| <!-- Ahem font does not have a glyph for ' --> |
| <script> |
| document.body.offsetTop; |
| </script> |