White Cards

(one per line)

Black Cards

(one per line)

A large, African-American gentleman named Richard. A sticky, white substance which, upon closer inspection, might be mayonnaise. Inappropriate use of Comic Sans.

In light of recent events, Congress has passed a new law banning ______. [[2]]I couldn't imagine anything worse than ______ but then someone suggested I read up on ______. By the year 2020, ______ will become the most popular pastime in America. Why, you ask? There are many reasons, but the two most important factors are: ______ and ______. [[3]]Name three reasons that I, the current Card Czar, deserve a cupcake.

Card Size:

Small (2"x2")

Large (2.5"x3.5")

Large w/Round Corners (2.5"x3.5")

Page Layout:

Tiled On 8.5"x11" Sheets

One Card Per Page

Icon:

Default

Custom







Instructions:



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 [[2]] or [[3]] 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.

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.

Italic text. <u></u> Underlined text.

Underlined text. <strikethrough></strikethrough> Strike-through text.

Strike-through text. <sub></sub> Subscript text.

Subscript text. <sup></sup> Superscript text.

Superscript text. <br> Line break.

Line break. <color rgb="#ff0000"></color> Set color of text, in this example red.

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 Arial Black Andale Mono Comic Sans MS Courier Courier New Georgia Impact Times-Roman Times New Roman Trebuchet MS Verdana

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:





Source Code:



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.





More Legal Crap:

