uwpchar: stop guessing icon codepoints

Date: February 02, 2026

uwpchar is a GUI-first tool for icon font discovery, preview, and export. It cuts the lookup friction between UI design and code.

Core GUI Workflow

_test\uwpchar.exe

Pick font, pick size, click glyphs, copy generated defines. You get a fast visual loop without opening browser docs in another window.

Recommended sequence: Segoe Fluent Icons at target UI size, emit format template, paste into your project constants.

Workflow 1: Refresh Name Mapping from Docs

python uwpchar_extract_names.py --md _test\segoe-ui-symbol-font.md --md _test\segoe-fluent-icons-font.md --out hype\uwpchar_names_preview.h
rg -n "kUwpcharMdl2Base|kUwpcharFluentBase|TokenCount" hype\uwpchar_names_preview.h
4:static const uint32_t kUwpcharMdl2Base = 0xE700;
851:static const uint16_t kUwpcharMdl2TokenCount = 843;
13231:static const uint32_t kUwpcharFluentBase = 0xE700;
14116:static const uint16_t kUwpcharFluentTokenCount = 881;

This keeps naming aligned with source markdown and makes exported identifiers more useful than raw Unicode values.

Workflow 2: Dual Delivery

Use native uwpchar.exe for local production work and raw HTML for quick sharing/demo scenarios where a browser is easier.

Alternate path: ../uwpchar.html

Guardrails

It is an icon discovery/export tool, not a full design system manager. Keep naming conventions and token ownership in your app repo.