0
OP New Sysop Apr 18, 2026 12:03pm (edited 2x) view history

Source: src/Helpers/FigletRenderer.php

Overview

No class-level docblock. Add one at the top of the file.

Public methods

render(string $text, string $font = 'Standard'): string

Render text in the specified font.

@param string $text Input text (A-Z, 0-9, space supported) @param string $font One of: banner, standard, small @return string Multi-line ASCII art

fonts(): array

Get available font names. Keys are the figlet font names used client-side by figlet.js (loaded from /assets/figlet/fonts/{name}.flf). The three lowercase legacy codes keep the in-PHP render() working for any backward-compatible callers.


Auto-generated from source by bin/sync-class-docs.php on 2026-04-18 12:16 CDT. Re-runs overwrite this thread body.


. __  ____   ___ ____  _     _     
 / /_| ___| / _ \___ \(_)___| |__  
| '_ \___ \| | | |__) | / __| '_ \ 
| (_) |__) | |_| / __/| \__ \ | | |
 \___/____/ \___/_____|_|___/_| |_|
        D2sk - Sysop

Log in or register to reply to this thread.

We use cookies to enhance your experience on 6502ish.com. Essential cookies keep the site running. Analytics cookies help us understand how the site is used. Cookie Settings | Privacy Policy