Font_Table Node

john's Avatar


18 Aug, 2021 09:42 AM

Attached is a custom node that returns a table, organized by family and font name, of all fonts currently installed in your system. It requires (included) which must be added to your code library. You can lookup names from the table and feed them into the font name port of a text path node to generate output in many fonts.

I have way too many fonts in my own system, so it can become a chore to choose the right one for a given NodeBox project. This node allows me to step through all the fonts automatically and maybe build my own comparison charts within NodeBox so I can see my choices in context. Because it's a table I can also filter and sort the fonts in various ways.

This is almost no documentation about how to write custom nodes in Python, so each new example like this provides hints about how to access and return various kinds of data to NodeBox. In this case I access some core Java functionality and return a data table (a Python dictionary). The custom node itself returns a working NodeBox table, but causes hashing errors when its output is fed into a subnetwork (not sure why). So I have wrapped this node inside a subnetwork (also called font_table) that solves this issue.

As you can see in the screenshot, the demo renders many different versions of an asterisk with the font family for each one below in small print. It's interesting to see how many ways there are to make an asterisk.

This node seems to work fine on my Mac, but I have not been able to test it on a PC. I would appreciate it if some PC user out there would download this, test it, and reply on this thread to confirm that it works on PCs as well. I would also love to see any example of creative projects using this node.



Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • font_table_screenshot.png 535 KB
  • 4.73 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 May, 2024 05:47 AM
29 May, 2024 05:15 AM
29 May, 2024 05:12 AM
28 May, 2024 07:37 PM
25 May, 2024 11:52 AM


24 May, 2024 07:39 AM
16 May, 2024 02:11 AM
14 May, 2024 01:29 AM
12 May, 2024 07:46 PM
05 May, 2024 04:38 PM
03 May, 2024 06:50 AM