(name: string)
| 10 | } |
| 11 | |
| 12 | const stripExtension = (name: string): string => { |
| 13 | const lastDot = name.lastIndexOf('.'); |
| 14 | return lastDot === -1 ? name : name.slice(0, lastDot); |
| 15 | }; |
| 16 | |
| 17 | const deriveBaseName = async ( |
| 18 | glyphtContext: FontContext['glyphtContext'], |