(font: PreviewSkiaFont | undefined)
| 139 | const fontsBySize = new Map<number, PreviewSkiaFont | undefined>(); |
| 140 | const fontFamilies = previewSkiaFontFamilies; |
| 141 | const isUsableFont = (font: PreviewSkiaFont | undefined) => { |
| 142 | return Boolean(font); |
| 143 | }; |
| 144 | |
| 145 | return (options = {}) => { |
| 146 | const fontSize = options.fontSize ?? 12; |
no outgoing calls
no test coverage detected