We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add a param named postscriptName to pass to fontkit.create in CustomFontEmbedder
pdf-lib/src/core/embedders/CustomFontEmbedder.ts
Line 28 in 93dd36e
class CustomFontEmbedder { static async for( fontkit: Fontkit, fontData: Uint8Array, customName?: string, fontFeatures?: TypeFeatures, postscriptName?: string, ) { const font = await fontkit.create(fontData, postscriptName); return new CustomFontEmbedder(font, fontData, customName, fontFeatures); }
add a param: postscriptName
When working with TTC fonts, I was unable to use their PostScript names.
I dont know.
Yes
When working with TTC fonts, I want to use their PostScript names.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe your idea
add a param named postscriptName to pass to fontkit.create in CustomFontEmbedder
How could this be implemented?
pdf-lib/src/core/embedders/CustomFontEmbedder.ts
Line 28 in 93dd36e
add a param: postscriptName
What problem are you trying to solve?
When working with TTC fonts, I was unable to use their PostScript names.
Why does this matter to you?
When working with TTC fonts, I was unable to use their PostScript names.
Would others find this helpful?
I dont know.
Are you interested in implementing your proposal?
Yes
Why are you submitting a proposal?
When working with TTC fonts, I want to use their PostScript names.
Additional Notes
No response
The text was updated successfully, but these errors were encountered: