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
Is it possible to use a custom ttf-font but define a fallback to system fonts?
My custom font doesn’t include chinese glyphs, but I’d like those to be rendered through the user’s system font.
The text was updated successfully, but these errors were encountered:
I suspect it's likely a clj-pdf limitation as opposed to openpdf. I haven't looked if there is an option for doing that, but I'd start checking for that. If that's possible, then you'd be able to add it to the config map and set it in the setup-doc function when the document is being set up.
If openpdf doesn't provide a way to set this globally, then it may be possible to pass it around in the config, and then check for it in each element that renders text to set it. I'd like to avoid this approach if possible as it's going to be fragile to maintain.
Is it possible to use a custom ttf-font but define a fallback to system fonts?
My custom font doesn’t include chinese glyphs, but I’d like those to be rendered through the user’s system font.
The text was updated successfully, but these errors were encountered: