Show HN: Make cursed fonts like Times New Bastard
Bastardica: The Art of Cursed Typography
Bastardica is a specialized digital foundry designed for the creation of beautiful bastardized web fonts. It allows users to blend two distinct typefaces into a single, chaotic result.
🛠️ The Interface & Controls
The tool provides a comprehensive suite of options to manipulate how fonts collide:
- Font Selection:
Base font: The primary typeface.Mix-in font: The typeface that interrupts the base.- Customization: Both can be selected from a list or via Upload font...
- Configuration:
- Stride: Determine every glyph to be replaced by the mix-in.
- Modes: Toggle between
Simple modeandAdvanced mode(which includes a Randomize all fonts option). - Visuals: Choose between White, Black, Light, or Dark themes.
- Refinements: Apply specific effects to the mix-in font and utilize the
Live updatefeature for real-time previews.
⚙️ Technical Architecture
The "magic" behind the cursed aesthetic is a liga (contextual substitution) registered across every script. Because this is a standard OpenType feature, most modern software enables it by default.
Compatibility & Performance:
- Environment: The entire process is handled client-side in your browser using
PyodideandfontTools. - Support: Works anywhere OpenType shaping is active, including:
- Web Browsers
- Graphic Design Software
- Print Media
[!IMPORTANT] Troubleshooting: If your font appears normal, ensure that ligatures have not been disabled in your application settings.
🚀 Optimization Tips
To get the most out of your bastardized creations, consider these strategies:
- Alignment: Use the scale and Y-offset settings to ensure glyphs from different fonts line up visually.
- Collision Logic: To minimize repetitive patterns and make the mix-in fonts collide less frequently, use prime numbers for your strides.
📦 Export & Resources
Available Output Formats:
| Format | Extension | Use Case |
|---|---|---|
| TrueType | .ttf | General purpose |
| OpenType | .otf | Professional design |
| Web Open Font | .woff2 | High-performance web |
Getting Started Checklist:
- Select a Base font
- Choose a Mix-in font
- Adjust stride and offsets
- Build and download the file
Where to find source fonts:
- Google Fonts
- UNCUT
- Velvetyne
- Font Squirrel
- FontSpace
- DaFont
Legal Notice: Because mixing two fonts creates a derivative work, you must verify the licenses of both original typefaces before using a bastard font for any commercial projects.