Skip to content

Bugfix dxf filter#491

Open
leginee wants to merge 11 commits into
trunkfrom
bugfix-dxf-filter
Open

Bugfix dxf filter#491
leginee wants to merge 11 commits into
trunkfrom
bugfix-dxf-filter

Conversation

@leginee

@leginee leginee commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Hello all,
This branch fixes dxf related issue. I set the scope within the filter. There are issues currently open, their root cause are render issues, and not rooted in the filter. To limit impact of the patch I skipped them for now.
Bugzilla is updated accordingly.

leginee and others added 11 commits July 7, 2026 05:50
A DXF LWPOLYLINE vertex count (group code 90) is 32-bit, but tools::Polygon
is indexed by sal_uInt16. Render polylines with more than 65535 points as
consecutive Polygon segments that overlap by one point, walking the source
array with the full 32-bit index, so the whole line is drawn without
narrowing it to 16 bits.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
(cherry picked from commit 2f0de83e3857a766280165977d6304354eb43806)
(cherry picked from commit ac9bccefb1d87a770f60d12a2e6523cc8ef496a9)
…here to corp the picture.

We have to estimate font size and width,  since we have no renderer at that point. so we estimate the size.

(cherry picked from commit 2c10eb18ea27ba6eba6a25520a663b8636044f74)
…pends on creators actions and may be stale. Better to calculate it by ourselfs.
fixed negative-z extrusion arcs
…entifiy DXF files.

On import we tollerate now 1.0 as 1. Before it broke the read
Measuring the arc's swept extent, not the full circle, so large-radius arcs don't blow up the scaling box ond collapse the drawing.
…x), case-insensitive VPORT lookup, 3D text via glyph outlines
The  dxf filter is now prepared to receive a overide which encoding is to be used. With this fix no higher level has been included to use this method.

no test have been done on the code.
All test are done in a compilde AOO version, by loading test files.
@leginee leginee force-pushed the bugfix-dxf-filter branch from 559ada8 to 96b0524 Compare July 7, 2026 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant