You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! Enjoying your package in multiple projects, but there is 1 blocking issue for me here.
It can be demonstrated with this simple code block in browser environment (similar flow doesnt work in Node.js as well):
async function downloadFont() {
if (variableFontFile) {
const url = URL.createObjectURL(variableFontFile)
const font = await opentype.load(url)
font.download()
URL.revokeObjectURL(url)
}
}
If url points to any variable font (Open Sans .ttf in this case), then the downloaded result will only contain one variation. So variable font file narrows down to just static font file.
Is there a way to fix that, or it is just not supported yet?
Hello! Enjoying your package in multiple projects, but there is 1 blocking issue for me here.
It can be demonstrated with this simple code block in browser environment (similar flow doesnt work in Node.js as well):
If url points to any variable font (Open Sans .ttf in this case), then the downloaded result will only contain one variation. So variable font file narrows down to just static font file.
Is there a way to fix that, or it is just not supported yet?
Fonts issue.zip
The text was updated successfully, but these errors were encountered: