# SimpleText Alignment Change Unexpectedly

**URL:** <http://forum.qcad.org/t/simpletext-alignment-change-unexpectedly/12005>\
**Category:** General\
**Created:** [September 2, 2026, 5:37am UTC](http://forum.qcad.org/t/simpletext-alignment-change-unexpectedly/12005 "2026-09-02T05:37:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![L-H](http://forum.qcad.org/letter_avatar_proxy/v4/letter/l/6de8d8/32.png) [@L-H](http://forum.qcad.org/u/L-H)\
**Post date:** [September 2, 2026, 5:37am UTC](http://forum.qcad.org/t/simpletext-alignment-change-unexpectedly/12005/1 "2026-09-02T05:37:31Z")

</div>

I am trying to quickly add simple text to DXFs. When I add the text using the script I made it looks good in QCAD. When the same DXF is opened in another program, the alignment “flips”. Instead of being aligned bottom or baseline it looks like it changes to being aligned bottom left. This change in alignment happens in multiple programs like eDrawings and Flashcut for example. I have tried adding the text and stating the alignment specifically in my scripting, changing the commands used to add the text (these actually silently failed). Has anyone here experience this issue before?

Full disclosure I am using Claude to make and update the script because I don’t know enough about javascript but I want to make this tool to help my coworkers that have been manually typing these texts on the DXFs for a while. I’m attaching screenshots from QCAD and also from eDrawings.

 ![AdobeExpressPhotos_ced3fc298eff4e49baab46c62a5b6f11_CopyEdited](https://cdn.qcad.org/original/2X/3/3d87383a38d8f23580adf4135dea90948372f355.png)

Here is the text placed in QCAD, where it should be.

 ![AdobeExpressPhotos_62ceb295fb104d1a908cd5a81e2140d4_CopyEdited](https://cdn.qcad.org/original/2X/1/1d14108294a0f06fb5353b5d26c9dba8fcec5456.png)

And this is the same file after being saved and opened in eDrawings.

---

<div class="post-metadata">

**Author:** ![andrew](http://forum.qcad.org/user_avatar/forum.qcad.org/andrew/32/15013_2.png) [@andrew](http://forum.qcad.org/u/andrew)\
**Post date:** [September 2, 2026, 7:58am UTC](http://forum.qcad.org/t/simpletext-alignment-change-unexpectedly/12005/2 "2026-09-02T07:58:09Z")

</div>

Please attach your DXF file as this contains all the relevant information, thanks.
