diegomura / react-pdf

📄 Create PDF files using React
https://react-pdf.org
MIT License
14.22k stars 1.11k forks source link

fix: available Font Family Regression #2731

Closed bdkopen closed 2 weeks ago

bdkopen commented 3 weeks ago

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

Related

Issue: #2730

Example

Before the change: image

After the change: image

changeset-bot[bot] commented 3 weeks ago

⚠️ No Changeset found

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

bdkopen commented 3 weeks ago

@diegomura tagging to notify that this fixes a recent regression. Please let me know if you need anything else with this. Thanks!