Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating a thick-bordered rectangle yields different PDF and UI renderings. #382

Open
hand-dot opened this issue Dec 19, 2023 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed @pdfme/schemas

Comments

@hand-dot
Copy link
Collaborator

hand-dot commented Dec 19, 2023

Describe the bug

Rotating a rectangle with a thick border results in a different rendering outcome in PDF compared to the UI rendering result.
(There might be an issue with the Line schema.)

CleanShot 2023-12-19 at 22 03 36

ref: #375

To Reproduce

Load bellow template on the playground and generate PDF
template.json

Expected behavior

Same rendering result ui and generator

Your Environment

- pdfme package(@pdfme/generator or @pdfme/ui): @pdfme/generator, @pdfme/ui
- pdfme version: latest
- Operating system: macOS
- Node.js version or Browser name & version: Node V20

Your Error Log

none

Additional context

No response

@hand-dot hand-dot added bug Something isn't working help wanted Extra attention is needed @pdfme/schemas labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed @pdfme/schemas
Projects
None yet
Development

No branches or pull requests

1 participant