557 Commits

Author SHA1 Message Date
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
Michael Simons
8e12a63acd Update dominion_cards.txt
Fixed typo
2015-09-20 01:07:47 -04:00
Sumpfork
8c1b3e418b Merge branch 'pr/19' 2015-07-27 15:58:53 -07:00
Adam Chappell
ac1159998b Issue 13 - Updated costs with * and +
Fixed costs to add * and + where necessary. Modified regex to allow a
cost to end in a * or a +. Adventures cards missing from yaml version so
you'll need to keep the costs for those cards in mind when adding them.
2015-07-26 20:54:35 -05:00
Sumpfork
d95f1bca07 fix description of where fonts go 2015-07-13 16:49:24 -07:00
Sumpfork
72f925e9e2 Merge branch 'jdgordon-master' 2015-06-30 16:30:05 -07:00
Jonathan Gordon
473b35e667 Add card groups to easily exclude upgrades and prizes, etc 2015-06-22 21:45:46 +10:00
Jonathan Gordon
55825b0069 Add --no-page-footer, --exclude-prizes, --no-card-backs options
--no-page-footer stops the set name being printed at the bottom of
the page (which doesnt fit on horizontal mode)
--exclude-prixes stops the prizes getting their own tabs
--no-card-backs stops it printing the back page (make sure your printer
is set to single-sided printing)
2015-06-22 20:46:34 +10:00
Sumpfork
50613475af Merge branch 'splatteredbits-master'
Bring over three new optional command line args to generate without
rules, tab art and text instead of set icons.
2015-06-08 10:29:18 -07:00
Sumpfork
ef73dcfe77 switch sample font conversion script to use the brew installed fontforge 2015-06-08 10:28:45 -07:00
Sumpfork
d9134b3227 Merge branch 'master' of git://github.com/splatteredbits/dominiontabs into splatteredbits-master 2015-06-08 10:19:57 -07:00