Commit Graph
40 Commits
Author SHA1 Message Date
Wendel Voigt 3f54574eb9 Add ability to use and save options in files (#314) 2020-04-06 21:15:32 -07:00
Wendel Voigt 1f989088b6 Fixes for issue #238 (#310)
* Fixes for issue #238

Changes to "Urchin / Mercenary", "Hermit / Madman", and "Knights" to conform to the style of other multi-cards.  This includes having all card text for rules/description side and FAQ/rules for the rules/extra side.
2020-04-06 16:32:01 -07:00
Wendel Voigt c622d6a200 Menagerie Issues (#313)
* Goatheard to Goatherd
2020-04-04 17:19:41 -07:00
Wendel Voigt 58e6af597a Fix for #247 Promo Card Icons (#307)
Added --use-set-icon option to force cards with unique icons to instead use their standard set icon.
2020-03-25 09:09:31 -07:00
Wendel Voigt 5fcfcdb3e8 Menagerie changes (#304)
* New menagerie images
* Added options to deal with the new Way cards
* Added Menagerie set and new card types
* Tool to help bring in a large number of new cards
2020-03-23 22:29:17 -07:00
Wendel Voigt 1bd731222e Fixes for #284 #295 #296 #248 (#301)
* fixes for #284 #295 #296
Also added option --full-expansion-dividers
* Add front offsets for issue #248
Added options to offset front (similar to what existed for the backside).
2020-03-22 22:11:29 -07:00
Wendel Voigt 088c3b633d Add only-type-any and only-type-all options (#241)
* Added only-type options
* added ci test for only-type options
2019-02-17 20:41:58 -08:00
Wendel Voigt 1b11c94c43 Fix for tab left-align issue (#246)
* Fix for tab left-align issue
2019-02-16 13:27:08 -08:00
Wendel Voigt 8a975bc58b Fix Travis failure 'is not' to != 2019-02-16 12:00:49 -06:00
Wendel Voigt 7c4c010fba Refactor of draw.py (#150)
* Major refactor of draw.py
* Also addresses Issue #70, Issue #85, Issue #120, partial to Issue #6
* Make the label information more available so it can be picked up easier by the website frontend
* Add Avery Presta 94211 labels, label names
* Add tab-height to make easier calculations
* height is now the full height of the label.  tab-height is the portion used for the tab.
   (By doing this, adding labels is more intuitive and requires fewer calculations.)
* Fix for issue #239 The fix changes this to now include the original expansion in this case.  So now this results in the original expansion expansion being printed with the upgrade expansion cards included as well.
2019-01-01 20:55:35 -08:00
Wendel Voigt 8d6fc86699 Text and database fixes (#236)
* Text fixes
2018-12-02 14:10:19 -08:00
Wendel Voigt 0f0587ea32 Add generic label and blank tabs support (#224)
* Add generic label support
* add support for blank tabs
2018-11-26 13:49:26 -08:00
Wendel Voigt 452bd09d4c fix missing group_top for Border Guard (#230) 2018-11-22 14:59:35 -08:00
Wendel Voigt 4f5f1acb53 Renaissance (#215)
* Full Renaissance expansion support
2018-11-17 15:14:31 -08:00
Wendel Voigt 236feff33c Additional Divider Options: Curse, Trash, Start Decks - 2nd attempt (#201)
* Trash, Curse, Start Deck Options
2018-04-30 10:11:01 -07:00
Wendel Voigt a33ec8f6d7 Expansion Randomizer Count Fix (#196)
* Program changes for Randomizer correction
* Card DB changes for Randomizer fix
* Better expansion divider card listing
* Base cards now sorted in preferred order.
* Added randomizer field
2018-04-28 10:29:27 -07:00
Wendel Voigt 11257093f2 Add option to add pdf page with option information (#198)
This adds options --info and -info-all:
--info to add a page that has all the options used for the PDF file.
--info-all is the same as --info, but includes pages with all the possible options that can be used.
2018-04-06 15:57:49 -07:00
Wendel Voigt c031a108e2 Remove leprechaun/wish grouping 2018-01-06 09:06:07 -08:00
Wendel Voigt 559a8723c0 Fix for base cards printing with expansions (#182)
* 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.
2017-12-11 10:47:49 -08:00
Wendel Voigt 881b7281e9 Fix Prosperity rules text running over (#156)
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.
2017-04-18 16:50:44 -07:00
Wendel Voigt 3578804882 CZ language files (#152)
* Added add_language.py Tool to make it easier to add a new language from the csv file
* Add language files for cz
2017-03-03 11:01:28 -08:00
Wendel Voigt c843e5970d Fix issue #145 when no text on front of a wrapper (#147)
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.
2017-02-10 13:36:28 -08:00
Wendel Voigt 4cf97b303a Added 'base' to the list of expansion choices 2016-12-31 09:13:51 -06:00
Wendel Voigt 1d50eb7376 Fix CardSorter use of Base cards (#137)
* enforce specific base card order
* use base card `cardset_tag` instead of card set name to find base cards
2016-12-20 16:37:58 -08:00
Wendel Voigt 9ea133d2a2 Update Card counts for Adventures and Empires (#82)
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).
2016-10-17 11:51:54 +02:00
Wendel Voigt b280fa7bc9 CenterTabs correctly fix up white space issues from automatic tests 2016-07-11 18:33:03 -05:00
Wendel Voigt d354f1e291 CenterTabs fix up white space issues from automatic tests 2016-07-11 18:30:07 -05:00
Wendel Voigt 48c6ee0def Add option for Center Tab
These changes addresses issue #68
2016-07-11 18:15:08 -05:00
Wendel Voigt 669fa4c7e6 Add card counts and wrapper/slipcase features (#65)
This adds card counts and the option to print wrappers (aka slipcases).
It fixes issues #45, #47, and #48.
2016-07-06 14:16:06 -07:00
Wendel Voigt ff9cb6fde9 Fixed code error with tab_name_align being assigned 'left' 2015-11-24 10:44:42 -06:00
Wendel Voigt 94f91b5ea2 Fixed error in Text and Tab tests 2015-11-24 10:36:00 -06:00
Wendel Voigt d024dc9fb4 Added front and back text options
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
2015-11-24 10:21:47 -06:00
Wendel Voigt 550c6a4a65 Merge pull request #3 from sumpfork/master
Syncing with sumpfork
2015-11-23 17:16:20 -06:00
Wendel Voigt ea9e25dd5b Fix for Issue #20 - Unsleeved horizontal A4 sheets overlap with expansion name
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.
2015-10-23 14:42:46 -05:00
Wendel Voigt 45b0837b55 Merge pull request #2 from sumpfork/master
Bring up to date with sumpfork's version
2015-10-20 08:23:33 -05:00
Wendel Voigt 1d1b8defc2 Merge branch 'refs/heads/Add-Alternating-start-left-or-right' 2015-10-17 09:28:38 -05:00
Wendel Voigt 8c4c1395a2 Cleanup and Added starting alternating tabs on the left or the right.
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.
2015-10-17 09:25:08 -05:00
Wendel Voigt d7a6d547d7 Merge remote-tracking branch 'refs/remotes/sumpfork/master' into Add-Alternating-start-left-or-right 2015-10-17 08:35:27 -05:00
Wendel Voigt 996fa90681 Consolidation of options
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)
2015-10-16 22:06:21 -05:00
Wendel Voigt 088ffc0819 Enhancements - fulltab, center_name, back_offset_height
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
2015-10-16 10:53:34 -05:00