Getting font file/directory
-
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.
WP.
-
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. -
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.