github HakanSeven12/OpenCADStudio v0.3.7

latest releases: v2026.41, v2026.40.1, v2026.40...
4 months ago

Highlights

  • MText inline format codes everywhere. A new run-aware MText pipeline (text_support::layout_mtext) replaces the legacy strip_mtext_codes path. Every text-bearing entity — MTEXT, TABLE cells, MLEADER MText content, ATTRIB / ATTDEF with mtext_flag set, and DIMENSION text_override — now honours \f, \C/\c, \H, \W, \Q, \T, \A, \p… (paragraph align + indents + tab stops), \S stacked fractions, \L/\O/\K decorations, brace-scoped state, and \U+XXXX unicode.
  • Hatch + wipeout export to PDF. The PDF / print pipeline previously dropped every solid fill — sheets came out with hollow polygons. pdf_export::export_pdf and print_to_printer::print_wires now consume the same hatch / wipeout list as the on-screen canvas and emit each as a filled polygon (EvenOdd winding so islands / holes work).
  • PAT pattern rasteriser. HatchModel::pattern_segments() clips each PAT line family against the boundary on the CPU so ANSI31, ANSI37 and friends render as actual ruled fill in both paper canvas and PDF — not just an outline. Dash phase is preserved across clipped spans to match the GPU shader.

Fixes

  • mtext: \pxqc; / \pxqr; / \pxql; paragraph alignment was being lost when wrapped in a {…} font block; paragraph properties now persist across braces (only character state scopes).
  • mtext: trailing whitespace no longer skews centre / right alignment by half a space-width.
  • table: \C7;Red-style codes inside cell text used to render as literal backslash glyphs; cells now go through the MText pipeline.
  • multileader: silent loss of \f, \C, \H, \p inside the MText content is gone — both the snap / truck path and the LOD ladder route through layout_mtext.
  • dimension: text_override carrying MText escapes (font / colour / stacked tolerances) now builds a synthetic MText instead of a Text, so the codes reach the renderer.

Full Changelog: v0.3.6...v0.3.7

Don't miss a new OpenCADStudio release

NewReleases is sending notifications on new releases.