diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/bidi/bidiMirroring.svg | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layout/reftests/bidi/bidiMirroring.svg b/layout/reftests/bidi/bidiMirroring.svg new file mode 100644 index 0000000000..93ef3a0041 --- /dev/null +++ b/layout/reftests/bidi/bidiMirroring.svg @@ -0,0 +1,22 @@ +<svg xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + width="800" height="800" class="reftest-wait" onload="test()"> + <!-- + BitPattern.woff is a font with a glyph for each mirrored character. + (The glyph is a bit pattern of the character's code point, hence the + font name.) The font was generated by: + + 1. Creating an input file that consisted of a four-hex-digit code + point per line, for each glyph to be included in the font. + (For this test, that would be the 360-odd mirrored characters.) + + 2. Running ./generate-bitpattern-font.pl on that input file, which + generates an SVG Font file. + + 3. Using FontForge to convert that SVG Font file into a WOFF file. + --> + <style> + @font-face { font-family: BitPattern; src: url(../fonts/BitPattern.woff); } + </style> + <script xlink:href="bidiMirroring.js"/> +</svg> |