Card sizes

Stable

The built-in physical card presets — and custom millimetre sizes — in exact millimetres.

size: on a Card block picks the physical card. Sizes are exact millimetres, which is what makes PDF export print true to size.

size:PhysicalInchesGood for
poker63.5 × 88.9 mm2.5 × 3.5 instandard playing cards
bridge57.15 × 88.9 mm2.25 × 3.5 innarrow hands, trick-takers
american56 × 87 mm2.2 × 3.43 inboard-game decks, the common sleeve size
tarot70 × 120 mm2.76 × 4.72 inbig art, oracle decks
square70 × 70 mm2.76 × 2.76 intiles, tokens
mini44 × 63.5 mm1.73 × 2.5 inresource cards, dense layouts
domino44.45 × 88.9 mm1.75 × 3.5 intall narrow cards, tarot-style minis

The millimetres are the real definition; the inches are those values rounded, so they're what to compare against a sleeve pack, not what to print from.

Units and size#

The size preset and x_units: together fix the scale of everything you draw:

size: poker
x_units: 20      # 1 unit = 63.5 ÷ 20 = 3.175 mm
y_units: auto    # 28 units tall — square units

With y_units: auto the units stay square and the vertical count follows from the card's aspect ratio. It isn't always a whole number:

Sizex_units: 20 → height in units
poker28 exactly
bridge31.111…
american31.071…
tarot34.285…
square20
mini28.863…
domino40 exactly

full on the vertical axis means that value, whatever it is — so height: full always spans the card.

Custom sizes#

When no preset fits, give the card's exact dimensions instead of size::

Card: Token
  sheet: Tokens
  width_mm: 40
  height_mm: 40
  x_units: 10      # 1 unit = 40 ÷ 10 = 4 mm
  y_units: auto
  Front: TokenFront

width_mm: and height_mm: are positive numbers in millimetres (decimals are fine — poker itself is 63.5 wide), precise to two decimal places with a 0.01 mm minimum, and they always travel as a pair: giving only one, or combining either with size:, is an error.

Everything else works exactly as with a preset — x_units: divides the custom width, y_units: auto keeps units square, and PDF export prints true to size. A card too large for the selected paper is reported when you export.