Hello, is there a way to create a text element with font that is not currently available?
Let's say I need to create a text element which uses 'simplex' font in first version of MicroStation V8i where normally is installed only one SHX font - 'msdefault'.
I have tried all methods (I can imagine) in MDL and API as well to get a font number using name 'simplex' but always I try to find font by name I get NULL instead of FontP.
This is what I do:
MSDgnFileP dgnFile = FontManager::GetMSDgnFileP(model); FontNumMapP fontNumMap = FontManager::GetFontMap(dgnFile); UInt32 num = 0xFFFFFFFF; FontP font = fontNumMap->FindFontByName(&num, (MSWCharCP)L"simplex", FINDFONT_All);
font is NULL...