I’m trying to figure out if there is a way to get a list of missing fonts either by the message center or other means using the API. I want to be able to pull this into a list so that we can make sure the fonts are added to the completed projects.
When MicroStation first opens a DGN file, it provides a list of missing fonts in the Message Center.
If you want to do the same programmatically, then enumerate all text styles (found in DGNLibs). Compare the font used by each style with the available Windows fonts.
Regards, Jon Summers LA Solutions
Jon,
Would you need to parse all the text & text nodes to see what font was being used to cover when "None" was the textstyle?
Mike Robertson said:Would you need to parse all the text & text nodes to see what font was being used to cover when "None" was the textstyle?
Yes — but one step at a time!