I’m working on a project but I dont have the font. I dont even have the font name to buy it.
Is there a way to get the font name from the original project? Like in after effect with the report textfile.
no idea, it’s question you may want to ask maxon support about. I tried exporting to various formats to see if a font name was embedded in the file. If it is, it’s not in readable text. Even when exported as an xml file that just gives the points that make up the font (as if it was made editable) not the font name. Which may be why when you open a project that has a font which you don’t have (or don’t have activated) you still see the font as it was if you don’t make any changes. But no indication of what that font was…
hmmm old python, I don’t know enough python to know what’s changed, I’ve started trying to deconstruct it (and can make it tell me the font by brute force – and I don’t yet know if it will show the old font or whatever’s in the font chooser if it’s not there – and there are obvious differences between the Mac at work and the PC at home, which is a relatively new thing and I haven’t done much font based stuff since the switch) but not properly yet. Out of time for now will test more tomorrow.
ok this seems to work for me, it has no error checking at all – you need to select a font using element (I have tested the text spline and a MoText object) and then run the script.
One thing that shows during testing is if you drop a Text Spline in and run the script nothing happens and if you drop a MoText object in and run the script it returns “None”. But with either object, if you then change the font to something other than the default font, the script then returns the font name. C4D obviously does not save the font name to the file until it is ‘set’ to something other than the default. So I guess if you are opening a project that was saved without ever making a font choice and just running with the default it’s not going to work. Otherwise, it works in my limited testing.