Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Getting font file/directory

    Cinema 4D SDK
    c++
    2
    3
    480
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WickedPW
      WickedP
      last edited by

      Hi Folks,

      Is there a way to get the font file/directory that Cinema4D uses? I can't see how to in the SDK.

      Would like it because I'm leveraging a library that takes a font file as an input, and I'd like to pass it the same as Cinema's in an effort to try and keep the look of the draws as close to C4D as possible, for consistency.

      7956c39a-07d8-402b-913f-d18e3a72d6ff-image.png

      WP.

      wickedp.com

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @WickedP so far there is no such function in our API and even then it will be very curious since not all OS have a singular folder for registered font.

        So may I ask why would you need such folder?
        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • WickedPW
          WickedP
          last edited by

          Hi @m_adam,

          No probs. I can work without it.

          I'm more after the font file, I only mentioned the directory thinking it might help.

          I'm using a library to help with draw functions for a user interface, and I'd like to set the font to the same as Cinema's so there's consistency in the look. The library allows you to set a font via a path to the font file.

          Perhaps if the fonts data container could include a Filename/String to the file itself in future? Just a thought.

          Cheers,

          WP.

          wickedp.com

          1 Reply Last reply Reply Quote 0
          • First post
            Last post