You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using textIndent on a document (support added in #561 following issue #534), the first line of a paragraph is correctly indented, but subsequent lines have their right-hand-side reduced by textIndent value.
To Reproduce
Steps to reproduce the behavior including code snippet (if applies):
Go to the react-pdf REPL and change text's style to:
Describe the bug
When using
textIndent
on a document (support added in #561 following issue #534), the first line of a paragraph is correctly indented, but subsequent lines have their right-hand-side reduced bytextIndent
value.To Reproduce
Steps to reproduce the behavior including code snippet (if applies):
Go to the react-pdf REPL and change
text
's style to:(Removing
text-align: 'center'
and addingtextIndent
).Link to the snippet
Expected behavior
The first line is justified, the following lines are not and use all available vertical space.
Screenshots
Side-by-side comparison:
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: