Skip to main content

Module debug

Module debug 

Source
Expand description

Debug utilities for visualizing glyph bounds during rasterization.

Constants§

COLORS 🔒
Twelve semi-transparent rotating colours for distinguishing adjacent glyph bounds. Each call to fill_glyph_bounds advances the index.

Statics§

COLOR_INDEX 🔒

Functions§

fill_glyph_bounds
Fill the glyph’s pixel bounds with the next rotating debug colour. Call before rendering the actual glyph content to visualise the extent.