On 06/06/2014 at 01:40, xxxxxxxx wrote:
Objects Osplinetext and 1019268 (MOText) use font. Font in Cinema UI is defined by Name and Bold/Italic flags.
Due to c4d_parameter_ids.h font is located in: PRIM_TEXT_FONT
But sometimes this parameter is not present - for instance Airbag.c4d from your samples.
In rest cases type of this parameter is DA_MISSINGPLUG. pluginid - FONTCHOOSER_DATA
Minor problem: it is not possible to extract this data and get this type. GetType - always returns NULL, DMissingPlugin is not accessible. But I can modify headers and check this data - so not a big problem.
Major problem: How to decode this binary block? (Name is visible in debugger and can be extracted, but it can be wrong way)
So question :
Do you have description of FONTCHOOSER_DATA format or do you have methods for decoding or am I doing something completely wrong? I just need font name and these Bold/Italic attributes.
In case if block is not present, which font should be used? Segoe UI ?