diegomura / diegomura/react-pdf
How to disable the rounded pixels ?
Open
- Dominant language
- TypeScript
- Stars
- 16.8k
- Forks
- 1.3k
- Avg merge
- 5h 6m
- Merged PRs (30d)
- 52
Description
Is there a way to prevent pixel values from being rounded to the nearest whole number? I noticed that while 'mm' values remain precise, pixels are rounded. For example, in the image, the first group (in mm) consists of [20mm, 20.49mm, 20.7mm, 21mm], while the second group (in pixels) is [20px, 20.49px, 20.7px, 21px]. The first two pixel values round down to 20, while values above 20.49 round up to 21.
Contributor guide
Assessment
This issue has not been assessed yet.