* Fix for base cards printing with expansions
* Allow base set and base cards in expansions
This changes the existing behavior to allow both the printing of the base set as well as printing base cards with expansions that have them via the --base_cards_with_expansion option. Prior behavior would eliminate the base set if printing with the --base_cards_with_expansion option.
This mostly fixes Issue #155. This seems to occur only with the VP image. I've seen several coin and potion, and debt images at the end of a line and they are justified correctly. There is some strange interaction with the VP image and the paragraph wrap function in report.
While not completely fixing the image out of the normal paragraph boundary, at least this keeps it within the margins of the card.
When no text was on the front of a wrapper, the back wrapper text and tab were not in the proper location.
This was due to exiting the routine without doing the self.canvas.restoreState().
Cleaned up the code to be easier to read and to exit cleanly.
Fixed incorrect card counts for Adventures and Empires. Removed extra
white space at end of some lines. Added text for the overall events and
landmark dividers in Empires (where blank).
1. Added --front and --back to select the type of text to display.
Options are 'card' for the card text, 'rules' for the extra rules,
'blank' to not print anything. And for --back, the option 'none' will
keep the pages with the backs from printing.
2. Added stub test cases for card text as well as tab size and text
alignment.
3. removed options --no-card-rules and --no-card-backs since they are no
longer needed.
4. Fixed issue with the tab outline drawing
Fixed two things:
1. font.face.descent was a negative number. To get the full font
height, the absolute value of it needed to be added.
2. Was printing the footer to the middle of the space left between the
bottom of the cards and the margin. For small spaces this gives up 1/2
the room. So instead, printing the footer at the very bottom of the
margin.
Added the option to start the alternating tabs with a left tab, or a
right tab.
Clean up of help text. Fixed one case where overlapping options did not
make sense.
Consolidated options on tab location and tab text alignment. Options
that were generally mutually exclusive to each other were combined.
Replaced --center_name and --edge_align_name with single
--tab_name_align that takes the parameters left, right, center, centre,
edge (default=left)
Replaced --samesidelables and --fulltab with --tab_side that takes the
parameters left, right, alternate, full (default=alternate)
Added 3 enhancements:
--fulltab to make the tab the full width of the divider
--center_name to center the card name on the tab
--back_offset_height to add points in the vertical direction on the back
page