Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>(Neo-)Tifinagh glyphs</title> | |
| 5 </head> | |
| 6 <body> | |
| 7 <h1>(Neo-)Tifinagh glyphs</h1> | |
| 8 <script> | |
| 9 function emitChar(charCode) { | |
| 10 document.write("&#x" + charCode.toString(16) + "; (U+" + | |
|
drott
2015/12/16 08:52:06
Thanks for adding a test, unless there is a specif
Daniel Bratell
2015/12/16 09:17:24
This is way easier to work with. We can easily che
| |
| 11 charCode.toString(16).toUpperCase() + | |
| 12 ") "); | |
| 13 } | |
| 14 function emitCharSequence(first, last) { | |
| 15 for (var i = first; i <= last; i++) | |
| 16 emitChar(i); | |
| 17 } | |
| 18 document.write("<b>Mono space</b>"); | |
| 19 document.write("<pre style='white-space: pre-wrap'>"); | |
| 20 emitCharSequence(0x2D30, 0x2D67); | |
| 21 emitCharSequence(0x2D6F, 0x2D6F); | |
| 22 document.write("</pre>"); | |
| 23 | |
| 24 document.write("<b>Default font</b>"); | |
| 25 document.write("<p>") | |
| 26 emitCharSequence(0x2D30, 0x2D67); | |
| 27 emitCharSequence(0x2D6F, 0x2D6F); | |
| 28 </script> | |
| 29 <p> | |
| 30 There should be many interesting glyphs above. See | |
| 31 <a href="https://en.wikipedia.org/wiki/Tifinagh"> | |
| 32 https://en.wikipedia.org/wiki/Tifinagh</a> for more. | |
| 33 </body> | |
| 34 </html> | |
| OLD | NEW |