Closed bdkopen closed 2 weeks ago
Latest commit: e2afe2ce3f7b167ec758aed0524fbcc8ff7c55dc
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
@diegomura tagging to notify that this fixes a recent regression. Please let me know if you need anything else with this. Thanks!
Changes in #2640 caused a regression by not providing proper support for font families made available within the library. This has caused any font families that are built-in to the library to default to Helvetica.
Changes
run.attributes.font
as an array so any strings properlygetOrCreateFont
their associated fonts.Related
Issue: #2730
Example
Before the change:
After the change: