From font-inspector
Analyze and visualize font files with SVG/UFO export. Optimized for CJK fonts.
npx claudepluginhub joysusy/violet-plugin-place --plugin font-inspector# /inspect-font Command Comprehensive font analysis and visualization tool with support for large CJK character sets. ## Usage ## Options ### Basic Options - `--info` - Display font metadata only (default if no other options) - `--svg` - Export glyphs as SVG files - `--ufo` - Convert font to UFO format - `--all` - Run all analysis steps ### Character Selection (for SVG export) - `--chars "ABC你好"` - Export specific characters - `--range 0x4E00-0x9FFF` - Export Unicode range - `--preset <name>` - Use predefined character set - `latin` - Basic Latin (A-Z, a-z, 0-9) - `latin-extended...
Comprehensive font analysis and visualization tool with support for large CJK character sets.
/inspect-font <font_file> [options]
--info - Display font metadata only (default if no other options)--svg - Export glyphs as SVG files--ufo - Convert font to UFO format--all - Run all analysis steps--chars "ABC你好" - Export specific characters--range 0x4E00-0x9FFF - Export Unicode range--preset <name> - Use predefined character set
latin - Basic Latin (A-Z, a-z, 0-9)latin-extended - Latin + accented characterscjk-basic - Most common 500 CJK characterscjk-common - Common 3000 CJK characterscjk-full - All CJK Unified Ideographs (20,000+)--limit <n> - Maximum number of characters to export--batch-size <n> - Process in batches (default: 500)--progress - Show progress bar for large exports--output <dir> - Output directory (default: ./font_analysis/)--format <type> - SVG output format: individual (default) or sprite/inspect-font MyFont.ttf
Displays font metadata, character count, and Unicode coverage.
/inspect-font NotoSansCJK.otf --svg --chars "你好世界Hello"
Exports only the specified characters as SVG files.
/inspect-font SimSun.ttf --svg --preset cjk-common --output ./analysis/
Exports the 3000 most common CJK characters with progress tracking.
/inspect-font MyFont.otf --svg --range 0x4E00-0x4EFF --output ./cjk_subset/
Exports CJK characters in the specified Unicode range (256 characters).
/inspect-font MyFont.ttf --all --ufo --output ./full_analysis/
Runs complete analysis: metadata, SVG export, and UFO conversion.
/inspect-font HugeFont.otf --svg --preset cjk-common --limit 1000 --batch-size 200 --progress
Exports 1000 characters in batches of 200 with progress display.
font_analysis/
├── metadata.json # Font information
├── svg_glyphs/ # Individual SVG files
│ ├── A.svg
│ ├── B.svg
│ ├── uni4E00.svg # 一
│ └── ...
├── manifest.json # SVG path data for Claude
└── output.ufo/ # UFO format (if --ufo)
├── fontinfo.plist
├── glyphs/
└── ...
--batch-size 500--preset or --limit--progress to monitorStart with a small sample:
/inspect-font font.otf --svg --chars "你好世界"
Use common character preset:
/inspect-font font.otf --svg --preset cjk-common
Target Unicode ranges:
# Hiragana
/inspect-font font.otf --svg --range 0x3040-0x309F
# Katakana
/inspect-font font.otf --svg --range 0x30A0-0x30FF
# CJK Unified Ideographs
/inspect-font font.otf --svg --range 0x4E00-0x9FFF --limit 1000
--limit or use smaller --batch-size--preset or --range to reduce character countAfter running /inspect-font, Claude can:
manifest.json for SVG path dataCommand created by Violet 💜 | CJK optimized 🀄