This repo makes it possible to use Sophonetica, a canIPA font from IdegenNyelvŐr, via a CDN (see below). Sophonetica is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Because Sophonetica uses many Private Use Area (PUA) code points, I've included some character shortcuts. To use them, follow these steps:
- Add the following code to the header of your HTML document:
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/giancarloantonucci/Sophonetica/font.css">
<style>
canipa {
font-family: Sophonetica, serif;
}
</style>
- Add the following code to the footer of your HTML document:
<script type='text/javascript' src='https://cdn.jsdelivr.net/gh/giancarloantonucci/Sophonetica/render.js'></script>
By doing so, within <canipa></canipa>
, the render.js
script will replace the character shortcuts with the appropriate code points that Sophonetica can read. For example, the characters
0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |
---|---|---|---|---|---|---|---|---|---|---|
A | i | ᴉ | ɨ | ɯ | ү | y | ʉ | µ | u | |
B | ɪ | ɩ | ᵻ | {ω} | ч | ʏ | ᵿ | ɷ | ʊ | |
C | e | ɘ | ə | ɤ | ø | ɵ | ო | o | ||
D | ᴇ | ⱻ | ɜ | ᴥ | ᴓ | ɞ | {9} | σ | ||
E | ɛ | ꞛ | ɐ | ʌ | {⊼} | œ | ᴔ | ʚ | ɔ | |
F | æ | ᴀ | a | ɑ | α | ɶ | {6} | {8} | ɒ |
will map to the full list of 52 vocoids:
Warning
Characters within braces {} might be changed in future updates.
List
- Basic Latin: 6 (0036), 8 (0038), 9 (0039), a (0061), e (0065), i (0069), o (006F), u (0075), y (0079)
- Latin-1 Supplement: µ (00B5), æ (00E6), ø (00F8)
- Latin Extended-A: œ (0153)
- IPA Extensions: ɐ (0250), ɑ (0251), ɒ (0252), ɔ (0254), ɘ (0258), ə (0259), ɛ (025B), ɜ (025C), ɞ (025E), ɤ (0264), ɨ (0268), ɩ (0269), ɪ (026A), ɯ (026F), ɵ (0275), ɶ (0276), ɷ (0277), ʉ (0289), ʊ (028A), ʌ (028C), ʏ (028F), ʚ (029A)
- Greek and Coptic: α (03B1), σ (03C3), ω (03C9)
- Cyrillic: ч (0447), ү (04AF)
- Georgian: ო (10DD)
- Phonetic Extensions: ᴀ (1D00), ᴇ (1D07), ᴉ (1D09), ᴓ (1D13), ᴔ (1D14), ᴥ (1D25), ᵻ (1D7B), ᵿ (1D7F)
- Mathematical Operators: ⊼ (22BC)
- Latin Extended-C: ⱻ (2C7B)
- Latin Extended-D: ꞛ (A79B)