You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Middle Center attributes are drawn with their baseline on the alignment point #3015
An ATTRIB with Middle Center justification (group 72 = 1, group 74 = 2) is drawn and plotted with its baseline on the alignment point, so the text sits about half a text height too high. AutoCAD and GstarCAD draw the same attribute centred on the alignment point.
Left Middle attributes (72 = 0, 74 = 2) in the same block are drawn correctly, so the vertical offset seems to be dropped only when the horizontal alignment is Center.
Case
Title block with a nested block per revision row. Each row has attributes REV, DESCRIPTION, JOBNO, DRAWN, DATE, height 1.5, in cells 3.3 high.
DESCRIPTION is Left Middle; the others are Middle Center, with the alignment point on the cell's centre line.
In CADCraft the Middle Center values touch the top of their cells; DESCRIPTION is centred. In AutoCAD/GstarCAD all are centred.
DXF values checked with ezdxf after an ODA round trip: 72 = 1, 74 = 2, alignment point on the cell centre.
Workaround
Change the attributes to Center (72 = 1, 74 = 0) with the alignment point half a text height lower. This looks the same in AutoCAD and CADCraft.
#2411 and PR #1591 address one source of lost vertical attribute alignment. Please share a non-confidential sample and whether the file was opened as DWG or DXF, so we can establish whether that fix covers this case.
The file was opened as DWG (drawn in GstarCAD, saved as DWG). The DXF values in the report were read with ezdxf after converting that DWG to DXF with the ODA File Converter.
The original drawing is a customer job, so I can't share it. Attached is a synthetic sample that has the same structure: attrib_middle_center.dxf and the same drawing as attrib_middle_center.dwg (converted with the ODA File Converter). Block REVROW is a 60 × 3.3 row with three attributes of height 1.5, each with its alignment point on the row's centre line (y = 1.65):
REV: Middle Center (72 = 1, 74 = 2)
DESCRIPTION: Left Middle (72 = 0, 74 = 2)
DATE: Middle Center (72 = 1, 74 = 2)
There is one insert at 0,0. In AutoCAD or GstarCAD all three values are centred in the row.
What I ran, with cadcraft-cli convert to DXF and PNG, reading groups 72/74 of the output:
74 = 2 kept, centred; the render matches the DXF one
So #1591 covers this case, through DWG too. #3016 (the block editor appearing to change the justification) has the same cause. I'll re-check both with the original drawing once #1591 is merged, and close them if nothing changes.
Activity
ticket-craft commentedon Nov 10, 2026
Possible duplicate of #2411.
This is being worked on in #1591.
Possibly related: #2229 and #2464.
FredApps commentedon Nov 13, 2026
#2411 and PR #1591 address one source of lost vertical attribute alignment. Please share a non-confidential sample and whether the file was opened as DWG or DXF, so we can establish whether that fix covers this case.
cdwilson127 commentedon Nov 14, 2026
The file was opened as DWG (drawn in GstarCAD, saved as DWG). The DXF values in the report were read with ezdxf after converting that DWG to DXF with the ODA File Converter.
The original drawing is a customer job, so I can't share it. Attached is a synthetic sample that has the same structure:
attrib_middle_center.dxfand the same drawing asattrib_middle_center.dwg(converted with the ODA File Converter). BlockREVROWis a 60 × 3.3 row with three attributes of height 1.5, each with its alignment point on the row's centre line (y = 1.65):REV: Middle Center (72 = 1, 74 = 2)DESCRIPTION: Left Middle (72 = 0, 74 = 2)DATE: Middle Center (72 = 1, 74 = 2)There is one insert at 0,0. In AutoCAD or GstarCAD all three values are centred in the row.
What I ran, with
cadcraft-cli convertto DXF and PNG, reading groups 72/74 of the output:mainat fbb0838DESCRIPTIONtoo); the values sit with their baseline on the centre linemain+ #1591So #1591 covers this case, through DWG too. #3016 (the block editor appearing to change the justification) has the same cause. I'll re-check both with the original drawing once #1591 is merged, and close them if nothing changes.