Seperate your white cards and black cards, and put one card on each line. White cards go on the left, black cards go on the right (duh). If the line wraps, that's ok. Text will shrink as necessary to fit on each card. Zero-length lines won't get turned into cards, so you can separate each card with an empty line to distinguish between wrapping lines and the next card. However, lines containing only spaces will get turned into blank cards.
The program will try to detect "Pick 2" and "Pick 3" black cards by the number of blanks in the card, but this can be specfied explicitly by adding [] or [] to the beginning or end of the line.
You can pick which card size you prefer, the small 2"x2" cards, which match the official PDFs released by Cards Against Humanity, large, rectangular 2.5"x3.5" cards which match the size of full-sized playing cards, or large 2.5"x3.5" with rounded corners. The cards with rounded corners best match actual playing cards, but cutting the rounded corners will take much longer than cutting out perfectly rectangular cards.
You can specify as many cards as you want. White cards and black cards will be combined into a single pdf file. If you want, you can specify one card per page, with pages fitted to the size of the cards. Otherwise pdfs will be generated with cards tiled on 8.5"x11" pages. White cards and black cards are rendered on separate pages, with the pages of white cards first then the black cards. If the number of cards specified doesn't fit evenly on a page, the remainder of the page will be filled with blank cards.
It is also possible to specify a custom icon, for the lower left hand corner of the cards. The icon will be automatically scaled to the right size. The icon file needs to be either a .jpg or .png file and less than 1MB in size.
Line text can be formatted with html-like tags. This is handled using the "inline_format" capabilities of the Prawn Ruby library that Bigger, Blacker Cards uses to generate PDF files. The following tags work when added to cards:
- <b></b> Bold text. Note that card lettering is bold by default, so you may need to add a closing </b> tag to eliminate the bold format, followed by another <b> tag to reinstate it.
- <i></i> Italic text.
- <u></u> Underlined text.
- <strikethrough></strikethrough> Strike-through text.
- <sub></sub> Subscript text.
- <sup></sup> Superscript text.
- <br> Line break.
- <color rgb="#ff0000"></color> Set color of text, in this example red.
- <font name="Comic Sans MS"></font> Set font of text, in this example "Comic Sans MS". Be sure to use a valid font name, otherwise the application will crash with an error. Valid fonts include:
- Helvetica (the default)
- Arial Black
- Andale Mono
- Comic Sans MS
- Courier New
- Times New Roman
- Trebuchet MS
Unlike some other card generators, Bigger, Blacker Cards is 100% open source, available on github under the terms of the GNU GPL: https://github.com/bbcards/bbcards
It works as a web CGI script or as a standalone card generation script that can be run from the command line, on any system with ruby and prawn installed, though it's only been tested on linux.
However, this is something of a one-off side project for me. I created this to make myself a few custom cards in the format I wanted, and felt the need to share. What that means is that while the code is free, and you are free to modify it, I probably won't be doing much maintenance work. If you fork the project on github and send a pull request I may get around to merging it... but it might take a bit of time. If a competent developer wants to create a more active fork on github and take over active development, I won't complain.
I'm going to reiterate the legal disclaimer at the top of the page in slightly larger sized text down here, and expand on it a bit.
This site is not affiliated with nor endorsed by Cards Against Humanity, LLC. Cards Against Humanity is a trademark of Cards Against Humanity LLC. Cards Against Humanity is distributed under a Creative Commons BY-NC-SA 2.0 license - that means you can freely use and modify the game but aren't allowed to make money from it without the permission of Cards Against Humanity LLC.
There is no donation button on this page, and I'm not making a cent from this project, complying with the required Creative Commons License. All code for this project is open source. I merely enjoy Cards Against Humanity, and wanted a more flexible custom card generator than what was currently available.
Also, this should go without saying, but I'm going to say it anyway: Don't use this tool to infringe anyone's intellectual property. Do NOT just plug in the text for existing non-public card packs, that Cards Against Humanity, LLC is selling. That's just not cool. Instead, go to http://www.cardsagainsthumanity.com, and buy their stuff. They made an awesome game, they deserve your money. This tool is for making your own cards, not theirs. That's why there's an option to make big 2.5"x3.5" cards -- that way you can print your own custom cards that are the same size as the official, purchased cards, so they can be used together.
One final legal note regarding fonts: One of the benefits of this card generator is that it can produce pdf files with cards in custom fonts. The majority of custom fonts available are the ones in Microsoft's Core fonts for the web. The license for these fonts specifies that they are free for non-commercial use but may not be used in a commercial product or be distributed in a repackaged form. For this reason the source code for this project does not include these font files. Instead these fonts are loaded from /usr/share/fonts/truetype/msttcorefonts, the location of these fonts on Debian-based linux systems when the "ttf-mscorefonts-installer" package is installed. Since this project is non-commercial (again, I make no money whatsoever from this), and I'm not redistributing the collection of fonts, merely including them in documents produced by this generator, I believe that this application complies with the terms of the EULA for these fonts.