diegomura / diegomura/react-pdf
Poppins font is not working
Open
bug
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
#### There is a problem with Poppins Font. The font I used is the same as what the documentation recommends, but I have not been able to get it to work. I checked the other fonts and they all worked fine. There may be a problem with the Poppins font.
```
import source1 from "../../assets/fonts/Poppins-Regular.ttf"
const ReservationDetailsPdf = () => {
Font.register({
family: "Poppins",
fonts: source1,
});
return Hello
}
```
Contributor guide
Assessment
This issue has not been assessed yet.