Font Lab · mono · 0.202

TyCode

┌───────────────────────┐
│ 0 O    1 l I  rn m    │
│ 5 S    8 B    { } ( ) │
│ " ' `  ‘ ’    “ ”     │
└───────────────────────┘

An original monospaced coding font. Sharp and technical, with letters that stay distinct where they are easy to confuse, for people and for coding agents. Regular, Bold and Italic, under the SIL Open Font License 1.1.

Download TyCode 0.202 License

Distinct on purpose

Zero is not O. One is not l or I. The pair rn is not m. Five is not S, and eight is not B. Braces are not parentheses, and the quotes keep their own shapes. The differences are drawn to be read, by a person or by a coding agent.

Set in code

The same face in Python, TypeScript and Rust. Long lines scroll inside the listing.

Python

# A zero with a dot, an O with none, and a one that keeps its foot.
def bucket(token: str) -> str:
    if token in {"0", "O"}:
        return "round"
    if token in {"1", "l", "I"}:
        return "stem"
    if token in {"rn", "m"}:
        return "arches"
    if token in {"5", "S", "8", "B"}:
        return "check"
    return "other"

TypeScript

export function quoteKind(mark: string): string {
  switch (mark) {
    case '"':
    case "'":
    case "`":
      return "straight";
    case "{":
    case "}":
      return "brace";
    case "(":
    case ")":
      return "paren";
    default:
      return "other";
  }
}

Rust

fn distinct(ch: char) -> &'static str {
    match ch {
        '0' => "zero",
        'O' => "oh",
        '1' => "one",
        'l' => "ell",
        'I' => "eye",
        '5' | 'S' => "five or s",
        '8' | 'B' => "eight or b",
        _ => "other",
    }
}

Regular, Bold, Italic

Regular for the line you read, Bold for a word that has to carry more weight, Italic for a comment or a name that steps aside. All three are the same width, so a column does not jump when the style changes. Licensed under the SIL Open Font License 1.1.

TyCode

In use

The same face, where code is read: a printed page, a terminal, an editor, an IDE, and an agent at a prompt.