Files
Petru Conduraru 2c6db3dd95 SvgSerializer: emit IfcSpace area as a data-area attribute
--print-space-areas already computed the IfcSpace area for the visible
text label, but did not expose it as a machine-readable attribute on
the SVG group, forcing consumers to parse the label text. Reuse the
existing per-element data-name/data-guid attribute convention (also
namespaced via --svg-xmlns as ifc:area) to carry it.

Also fix the area label text double-escaping its "m²" entity:
IfcUtil::escape_xml() unconditionally escapes "&", so the pre-encoded
entity was turned into the literal "m²" once the label passed
through escaping. Emit the raw UTF-8 bytes for U+00B2 instead, which
are not affected by XML escaping.

Generated with the assistance of an AI coding tool.
2026-07-21 22:35:07 +03:00
..
2026-07-18 22:39:33 +05:00
2026-07-15 19:20:17 +05:00
2026-07-18 22:39:33 +05:00
2026-07-18 22:39:33 +05:00