Kozea / Kozea/WeasyPrint

Right align in sample invoice

Open
#751 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9.6k
Forks
876
Avg merge
3d 18h
Merged PRs (30d)
5

Description

In the [sample invoice](https://weasyprint.org/samples/invoice/invoice.pdf) the invoice number doesn't correctly align to the right, like the rest of the content. This seems to be related to the PDF rendering by weasyprint, because the source HTML + CSS renders the text correctly.

Contributor guide

Open the contributing guide

Research direction

Start with the sample invoice PDF and compare it with the linked source HTML and CSS, focusing on the invoice number's right alignment. Trace the WeasyPrint PDF-rendering path involved in that content and verify completion by producing a PDF in which the invoice number aligns with the other right-aligned content.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.