Skip to content

Specifying fonts in string to curve node #64

Description

@Ranguna

When a string to curve node is created, it can accept a font, but it's type if Pointer. Using the "node to script" function from #13, this is the output of a geometry node with a custom font:

string_to_curves(string=('h', 'e', 'l', 'l', 'o'), size=1.0, character_spacing=1.0, word_spacing=1.0, line_spacing=1.0, text_box_width=0.0, font=<bpy_struct, VectorFont("None Away from the Moon Regular") at 0x7be7752b4c08>, pivot_mode="BOTTOM_LEFT", align_y="TOP_BASELINE", overflow="OVERFLOW", align_x="LEFT")

This cannot be used in its current state. I was thinking about using something from bpy.data, but I'm not sure what to use.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions