[CE U15 VBA] DWG:could not find SHX font

How to check which lines are missing shp symbols when opening a DWG file? The message "could not find SHX font [dgnlstyle]" is not very informative.

The missing symbols are replaced with dots or question marks but it is only visual indicator or is there some way to actually scan and find those broken lines?

Parents
  • 1. Scan all text elements

    2. Get text element's textStyle

    3. Judge if the textStyle.Font is msdFontTypeSHX AND textStyle.Font.Name file is exist in the folder(s) which config var MS_FONTPATH, MS_DWGFONTPATH and MS_ACADDIR point to.

    4. If font file doesn't exist, then this text element is missing font.



Reply
  • 1. Scan all text elements

    2. Get text element's textStyle

    3. Judge if the textStyle.Font is msdFontTypeSHX AND textStyle.Font.Name file is exist in the folder(s) which config var MS_FONTPATH, MS_DWGFONTPATH and MS_ACADDIR point to.

    4. If font file doesn't exist, then this text element is missing font.



Children