# `Linocut.Font`
[🔗](https://github.com/jaman/cauldron/blob/v0.1.3/linocut/lib/linocut/font.ex#L1)

A three-by-five pixel font for names, numbers and notes drawn onto a picture.

    Linocut.Font.render("SCORE 120", :white)
    Linocut.Font.render("alice", {255, 220, 0}, scale: 2)

Every printable ASCII character has a glyph; lowercase letters draw as capitals and
any other character as a box. Glyphs are laid out with one transparent pixel between
them, so a text is `width/1` pixels across and five tall before scaling.

# `glyph`

```elixir
@spec glyph(String.t()) :: [String.t()]
```

The five rows of a character's glyph, `#` for a lit pixel.

# `render`

```elixir
@spec render(String.t(), Linocut.Palette.spec(), keyword()) :: FrenchCurve.Raster.t()
```

The text as a raster in `colour`; option `:scale`, a whole factor (default `1`).

# `width`

```elixir
@spec width(String.t()) :: non_neg_integer()
```

How many pixels across `text` renders, before scaling.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
