Repository navigation
alignment in ODG #214
Description
Activity
i believe #230 is fixing this
@TomTasche fixed?
much improved, but for example the "R400" is still misaligned. keeping this ticket open to track progress
we should re-evaluate this file with #227
Fixed by the drawing work under #771, and checked against both files named here.
Rather than eyeballing it, every positioned shape was parsed out of
content.xmland compared against the box the renderer emits:odg/SpotfaceCoord40270-L.odg— 11 of 11 shapes at exactly theirsvg:x/svg:yodg/Sealver Measurements.odg— 13 of 13
The complaint that kept this open — "the R400 is still misaligned" — was the text on the
draw:patharc, which had no parser at all until #797: the shape vanished with its subtree, label included. That path now lands on its source coordinates with the label centred in its box, matching libreoffice's own export to within a percent of the page width. The shapes around it that used to draw as plain rectangles — the circle and the four squares — are enhanced geometry, drawn since #799.One thing can still move text inside a shape, and this very file shows it: its ellipse carries
draw:text-areas="3163 3163 18437 18437", so libreoffice lays that shape's text into the sub-region the geometry reserves while we use the whole box. That is tracked as its own unticked box inodf/README.mdrather than here, since it is a missing feature rather than the placement bug this issue reported.
See odg/SpotfaceCoord40270-L.odg