Hello,
I’m developing custom attributes for a Grasshopper component, and in the process I need to work with Font objects. I noticed in the SDK notes that it’s recommended not to create fonts directly with new Font, but instead to use GH_FontServer.NewFont. I’ve followed that guidance and switched to GH_FontServer.NewFont in my code.
My question is: when using a font created this way, do I still need to explicitly call Dispose() on the Font object (as I would if I created it with new Font)? I’ve seen mixed answers from different AI assistants—some say yes, others say no—so I wanted to ask directly here.
If anyone knows for sure, or if one of the developers could clarify the intended usage, I’d really appreciate it.
Thanks in advance!