love-font

Manage TrueType and bitmap font rasterizers for Love2D text layout.

1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/RedKenrok/skills --skill love-font
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: love-font
Source: https://github.com/RedKenrok/skills/tree/main/skills/love-font
Command: npx skills add https://github.com/RedKenrok/skills --skill love-font

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill centralizes font handling for Love2D applications, enabling reliable font loading, rendering, and text layout without boilerplate code.

Core Features & Use Cases

  • Load and manage TrueType and bitmap fonts
  • Render text with adjustable sizes, styles, and alignment
  • Support international text and glyph metrics for complex layouts
  • Use in UI, HUDs, and dynamic text rendering scenarios

Quick Start

Load a font using love.font.newRasterizer and render text with love.graphics.print.

Frequently Asked Questions about love-font

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render dynamic text and UI elements in Love2D without writing boilerplate font code?

To render dynamic text in Love2D without boilerplate, use a unified API to create font rasterizers, load TrueType and bitmap fonts, and query glyph metrics for complex text layouts. It handles adjustable sizes, styles, and alignment.

Does Love2D support loading both TrueType and bitmap fonts for game UIs?

Yes, Love2D supports loading both TrueType and bitmap fonts for game UIs. You can use the provided font rasterizer API to load and manage these font formats, query glyph data, and apply basic hinting modes.

What is the best way to get glyph metrics for international text layouts in Love2D?

The best way to get glyph metrics for international text layouts in Love2D is by using a font rasterizer API. It provides direct access to glyph data and metrics, enabling accurate rendering of complex scripts and dynamic typography.

Can I use Love2D font handling to render text across both desktop and mobile targets?

Yes, you can use Love2D font handling to render text across desktop and mobile targets. The unified font API manages rasterizer creation and glyph metrics consistently, ensuring reliable text layout in interactive apps on both platforms.

How do I create a font rasterizer in Love2D to apply basic hinting modes?

To create a font rasterizer in Love2D and apply basic hinting modes, use the newRasterizer API. It allows you to load fonts, adjust sizes, and configure hinting to optimize text rendering for your application.

Why are my custom bitmap fonts not aligning properly in Love2D?

Custom bitmap fonts may not align properly in Love2D if glyph metrics are not queried correctly. Accessing the font rasterizer's glyph data ensures accurate text layout by providing the precise dimensions needed for proper alignment.