(text: string, style?: TextStyleMode)
| 613 | if (style === "mono") { |
| 614 | if (char >= '0' && char <= '9') return String.fromCodePoint(0x1D7F6 + (code - 0x30)); |
| 615 | if (char >= 'A' && char <= 'Z') return String.fromCodePoint(0x1D670 + (code - 0x41)); |
| 616 | if (char >= 'a' && char <= 'z') return String.fromCodePoint(0x1D68A + (code - 0x61)); |
| 617 | return char; |
| 618 | } |
| 619 | |
| 620 | if (style === "outline") { |
| 621 | if (char >= '0' && char <= '9') return String.fromCodePoint(0x1D7E2 + (code - 0x30)); |
| 622 | if (char >= 'A' && char <= 'Z') return String.fromCodePoint(0x1D5A0 + (code - 0x41)); |
no test coverage detected