UnBoldFrakturTextStyle
Reclaim text that someone styled into Fraktur
- plain_text
Somewhere between your LLM and your prompt, someone styled your text into bold Fraktur Unicode - those ornate 𝕬𝖆 letterforms - and now it's a mess you can't parse. This tiny node converts it straight back to plain ASCII. It's the reverse half of the pack's UC_BoldFrakturTextStyle, and together they form a fast round-trip converter for decorative text.
What it is
A one-input, one-output utility. Feed it text containing bold Fraktur characters (Unicode block U+1D56C–U+1D59F, the mathematical alphanumeric symbols), and it maps each styled letter back to its plain equivalent, giving you plain_text.
When you'd actually use this
Realistically, this is a fix-it node. Bold Fraktur text shows up in a few annoying places: LLM/VLM output that "helpfully" styles a word for emphasis, copy-pasted Discord or social posts, or a caption generator that got creative. If that styled text is going anywhere near a diffusion prompt, it's worth cleaning - tokenizers don't care about glyph styling, and a weird Unicode codepoint in the middle of your prompt can behave unpredictably across encoders.
It also works as a debugging tool for the forward node. If you ran UC_BoldFrakturTextStyle to jazz up a heading and the result looks wrong, running this on it tells you exactly which characters survived the trip.
The input and output
- text - the styled string (multiline).
- Output: plain_text - the cleaned string.
That's the whole contract. No settings, no models, nothing to tune.
Installing it
It's part of ComfyUI-UtilsCollection, so:
cd ComfyUI/custom_nodes
git clone https://github.com/silveroxides/ComfyUI-UtilsCollection
Restart ComfyUI, or install via ComfyUI Manager (search "ComfyUI-UtilsCollection"). Zero extra Python packages beyond the pack's minimal opencv-python / typing-extensions requirements, no downloads, no GPU. Needs a recent ComfyUI because the pack is built on the current Core node API.
Common issues
Honestly, this one rarely breaks - the mechanism is a plain character map. The two things to know: it only converts the bold Fraktur block, so other decorative Unicode (like bold or script variants) passes through untouched, and if your text came from a source that already mangled the codepoints, garbage in, garbage out. Check the output with a quick preview node if a prompt isn't behaving; you'll spot any stray styled characters immediately.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| plain_text | STRING | — |