567 Commits

Author SHA1 Message Date
Sumpfork
9df8ee0ee7 re-remove accidentally restored old file 2015-12-31 08:46:39 -08:00
Sumpfork
5d58c4b3c0 fix bad refactoring for cropmarks 2015-12-31 08:43:16 -08:00
Sumpfork
5158406696 update de conversion script and de cards file 2015-12-01 10:50:27 -08:00
Sumpfork
0972985b6b update de conversion script and de cards file 2015-12-01 10:34:58 -08:00
Sumpfork
cf19cf9b72 only single copy of data dir in options for now 2015-11-30 15:40:20 -08:00
Peter
ba3245d875 Merge pull request #33 from wvoigt/master
Added options to select the text for the front and back of the divider.  Also fixes #31
2015-11-30 15:36:05 -08: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
Sumpfork
0060cf311d Bring over refactoring and start of unit tests 2015-11-20 17:00:36 -08:00
Sumpfork
6aa9c28c80 Merge remote-tracking branch 'origin/refactor' 2015-11-20 17:00:12 -08:00
Sumpfork
fbc456c48e language tests 2015-11-20 16:49:15 -08:00
Sumpfork
96308eb571 better page size handling 2015-11-20 12:56:38 -08:00
Sumpfork
95011627e5 move font registration to draw module, make its fallback actually work properly 2015-11-20 12:25:16 -08:00
Sumpfork
4b9956006a first couple unit tests 2015-11-19 17:20:08 -08:00
Sumpfork
b8871471a6 more refactoring 2015-11-19 17:19:43 -08:00
Sumpfork
489f467bce more refactoring, renaming, unifying 2015-11-19 10:31:18 -08:00
Sumpfork
1426214175 travis fix 2015-11-10 17:02:34 -08:00
Sumpfork
9ab83ac4c8 switch to new setuptools version 2015-11-10 17:00:26 -08:00
Sumpfork
c28ce069d3 add travis CI config 2015-11-10 16:47:42 -08:00
Sumpfork
d1750589a1 start refactoring and renaming to clear up code structure 2015-11-10 16:40:45 -08:00
Sumpfork
c919913f88 preliminary update to German version thanks to GrabTiger on BGG 2015-11-06 14:31:02 -08:00
Sumpfork
ad6b169bcd same cards were missing for Italian 2015-11-05 15:00:08 -08:00
Sumpfork
c8f057afc5 oops, cards were getting saved too late stripping out base cards from the expansions 2015-11-05 14:52:44 -08:00
Sumpfork
0c1860266c Change Avery dimensions according to @wvoigt's suggestion - looks good to me 2015-11-04 14:50:11 -08:00
Sumpfork
d8de5db94a delete text versions of italian card db 2015-11-03 14:48:16 -08:00
Sumpfork
b200c9da9d simplify language mapping to always use english card type tags - we never show them in the generated pdf anyway 2015-11-03 14:34:19 -08:00
Sumpfork
7db06e2e13 copy over english files as start of German version 2015-11-03 14:13:40 -08:00
Sumpfork
96fb4bb8e0 bite the bullet: JSON card db is now the true source; remove text versions of card db, update card groups to JSON 2015-11-03 14:09:53 -08:00
Sumpfork
4c5a59cd43 add generated json file 2015-11-03 13:52:12 -08:00
Sumpfork
1b96a9ceb8 Throw out yaml as the python yaml library is badly documented and out of date; use JSON everywhere instead 2015-11-03 13:21:41 -08:00
Sumpfork
fe47f51bab Merge branch 'pr/29' 2015-11-02 14:59:52 -08:00
Sumpfork
28921e9d2c pep8 2015-11-02 14:59:00 -08: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
Sumpfork
628760e584 make new choices into list constants for web app 2015-10-19 15:52:25 -07:00
Sumpfork
02c5be2555 some pep8 fixes, simplify if check lines, fix/add some help messages, unify line endings to be unix 2015-10-19 15:33:41 -07:00
Sumpfork
b79ad84851 Merge branch 'wvoigt-master' - consolidation of name/tab align options 2015-10-19 14:31:21 -07: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
Peter
854939f3c2 Merge pull request #27 from wvoigt/master
Enhancements - fulltab, center_name, back_offset_height
2015-10-16 15:51:10 -07: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
Sumpfork
5ebdb555bc sync yaml 2015-09-25 14:49:36 -07:00
Peter
7176f83065 Merge pull request #24 from rystan/patch-2
Found a few more typos :)
2015-09-25 14:45:31 -07:00
Michael Simons
a5db31b74c Found a few more typos :) 2015-09-25 17:30:46 -04:00
Sumpfork
3ae9ab06e7 run yaml generation to bring .txt and .yaml files into sync 2015-09-25 14:09:51 -07:00
Peter
f0959ff846 Merge pull request #22 from rystan/patch-1
Update dominion_cards.txt - fixing typo.
2015-09-25 14:07:11 -07:00