(s: string)
| 68 | } |
| 69 | |
| 70 | export function labelStringWidth(s: string) { |
| 71 | return getTextWidth(s, "16px 'Karla'") |
| 72 | } |
| 73 | |
| 74 | export async function awaitFontsLoaded() { |
| 75 | const promises = [document.fonts.load('16px "Karla"'), document.fonts.load("15px 'Inconsolata'")] |
nothing calls this directly
no test coverage detected