font_plan
Pick Pebble system fonts for a UI role or text string; verifies glyph coverage and generates a minimal character regex for custom font subsets.
Instructions
Recommend Pebble system fonts for a UI role or a literal string.
Pass a role like "hero numerals", "body label", "title",
"timer", "clock face numerals", "hint", or
"button label" (curated from this project's DESIGN.md type
scale) to get an ordered list of FONT_KEY_* candidates -- no
resource cost, they're baked into firmware.
Pass literal text instead (e.g. "15:37" or "Rest 90s") to
check it against every system font's glyph coverage: numbers-only
fonts (the LECO family, and the Bitham/Roboto "_NUMBERS"/"_SUBSET"
variants) that can't render the text are flagged with
fits: false and missing_glyphs instead of being silently
recommended. Either way, the response includes
minimal_character_regex -- the tight characterRegex for a
custom TTF font that ships only the glyphs actually used (the
classic "[0-9:]" clock-digit trick from
developer.repebble.com/guides/app-resources/fonts/).
size_hint (pixels) sorts candidates by closeness to that size.
style filters/prefers a weight substring, e.g. "bold".
Zero-argument sharp edge: this never touches the network or a toolchain -- it's pure lookup, always available regardless of capability tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| style | No | ||
| size_hint | No | ||
| role_or_text | Yes |