-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
For certain cards with a combination of words and images (vp, coins, etc) in the rules text, when they're rendered horizontally, some lines extend outside of the expected area. It's something related to how reportlab renders justified text lines containing an image, but I'm not sure if the issue is with reportlab or with how this project uses it.
I used the following cards in my example:
- Possession
- Small font size, a line ending with an image overhangs
- Remake
- A line with large spaces ending with an image overhangs
- Workshop
- A line with large spaces ending with a word overhangs
- Ritual
- A line with large spaces and 2 images ending in a word overhangs
- Fool's Gold
- Works perfectly, but seems like it shouldn't
- Fisherman
- First line with two images ending in an image overhangs
- Bishop
- A line with two images ending in an image overhangs
- Monument
- Actually bleeds off of margin
Command line to reproduce:
dominion_dividers --orientation vertical --cardlist debug.list --front rules --back none
with debug.lst containing the names of the cards above, one on each line.
Metadata
Metadata
Assignees
Labels
No labels