Why do text objects in a .dxf file have incorrect alignment when the file is opened by the OdaMfcApp application?

  1. FAQ
  2. »
  3. Text and Font Questions

ODA SDK does not recalculate the text position for text entities when loading a .dxf file because this recalculation can corrupt the position during round-tripping if the referenced font is not available. Client applications based on ODA SDKs version 3.5 or higher can override this default behavior by calling the OdDbHostAppServices::setDxfTextAdjustAlignment(true); method.