Nodes/comfyui-mixlab-nodes/Font Input ♾️Mixlab
ComfyUI Node Runs on cloud

Font Input ♾️Mixlab

Pick a bundled font for text-on-image nodes

By MixLabPro·Created 3 years ago·Updated 2 months ago· 1,859
Font Input ♾️Mixlab
    • STRING
    font

    This node does exactly one thing: it's a dropdown of fonts that outputs a string. Nothing renders here - it exists purely to feed a font choice into the pack's text-rendering nodes (its TextImage / text-on-path nodes elsewhere in Mixlab), the same way a Load Checkpoint dropdown feeds a checkpoint name into a loader.

    How it works

    Out of the box you get 45 built-in options, mostly the URW Base35 family - Nimbus and C059, the standard free substitutes for the classic PostScript core fonts (Times, Helvetica, Courier equivalents). Pick one and the node outputs its identifier as a plain STRING, which you wire straight into a text-image node's font input.

    The genuinely useful bit is in the README: to add fonts beyond the built-in 45, download the font files and drop them into custom_nodes/comfyui-mixlab-nodes/assets/fonts, then restart - they show up in this same dropdown. So the "Font Input" node isn't a fixed list; it's just reading whatever's sitting in that folder.

    The inputs and outputs that matter

    • font (enum, required) - the dropdown. 45 built-in choices out of the box, expandable via the assets folder above.

    The single output is STRING - the chosen font's identifier, meant to be wired into a text-rendering node's font input.

    How to install it

    Ships with the Mixlab pack.

    • ComfyUI Manager: search comfyui-mixlab-nodes, install, restart.
    • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/shadowcz007/comfyui-mixlab-nodes.git, install requirements (install.bat on Windows, or ../../../python_embeded/python.exe -s -m pip install -r requirements.txt), restart.

    For extra fonts: drop font files into ComfyUI/custom_nodes/comfyui-mixlab-nodes/assets/fonts and restart ComfyUI to pick them up.

    Common issues & troubleshooting

    Nothing looks different after wiring this in. This node only outputs a string - it doesn't render text or an image on its own. Make sure the STRING output is actually connected into a text-on-image node's font input; if it's dangling, you won't see any effect.

    A font I added doesn't show up. Double-check the exact folder path (assets/fonts inside the pack's own directory, not ComfyUI's global fonts folder if one exists) and that you restarted ComfyUI afterward - the dropdown is built at load time, not refreshed live. Stick to standard font file types (TTF/OTF) unless you've confirmed the underlying renderer supports something else.

    Too many similar-looking entries in the dropdown. The URW Base35 set includes multiple weights and styles per family (Bold, Italic, Roman, BdIta) - read the suffix carefully, it's easy to grab the wrong variant.

    Worth knowing before you go hunting for a fancier typeface: the built-in 45 are the standard, license-friendly PostScript substitutes, not a curated design set - fine for labels, watermarks, and readable overlay text, less fine if you're chasing a specific display font for a poster mockup. For that, the assets-folder route is the actual answer, not a workaround.

    Category♾️Mixlab/Input

    Inputs (1)

    NameTypeDefaultDescription
    fontCOMBO45 options: opentype/urw-base35/C059-BdIta, opentype/urw-base35/C059-Bold, opentype/urw-base35/C059-Italic, opentype/urw-base35/C059-Roman, opentype/urw-base35/D050000L, opentype/urw-base35/NimbusMonoPS-Bold, +39

    Outputs (1)

    NameTypeDescription
    STRINGSTRING