Skip to content

Commit

Permalink
fix FS#1732 - Saving dimension with custom text position
Browse files Browse the repository at this point in the history
  • Loading branch information
qcad committed Apr 6, 2018
1 parent d8d4d2f commit b4c7418
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/3rdparty/dxflib/src/dl_dxf.cpp
Expand Up @@ -2963,6 +2963,11 @@ void DL_Dxf::writeDimStyleOverrides(DL_WriterA& dw,
dw.dxfString(1001, "ACAD");
dw.dxfString(1000, "DSTYLE");
dw.dxfString(1002, "{");
if (data.type&128) {
// custom text position:
dw.dxfInt(1070, 279);
dw.dxfInt(1070, 2);
}
dw.dxfInt(1070, 144);
dw.dxfReal(1040, data.linearFactor);
dw.dxfInt(1070,40);
Expand Down

0 comments on commit b4c7418

Please sign in to comment.