LibreCAD / LibreCAD

LibreCAD is a cross-platform 2D CAD program written in C++17. It can read DXF/DWG files and can write DXF/PDF/SVG files. It supports point/line/circle/ellipse/parabola/spline primitives. The user interface is highly customizable, and has dozens of translations.
http://librecad.org/
Other
4.5k stars 1.02k forks source link

Garbled text in fonts containing eliptic arcs #1946

Open SilverGreen93 opened 3 weeks ago

SilverGreen93 commented 3 weeks ago

When opening an AutoCAD exported DXF, some of the text is shown as garbled, the arcs used are not drawn correctly.

Expected behavior

This is how the text looks in AutoCAD

autocad

Observed behavior

This is how the text looks in LibreCAD

librecad

Steps to reproduce or sample file

Use this file to reproduce: demo.zip

Note that if you open the file with LibreOffice Draw, text is displayed correctly.

Operating System and LibreCAD version info

Version: 2.2.0.2 Compiler: GNU GCC 13.1.0 Compiled on: Jul 29 2023 Qt Version: 5.12.11 Boost Version: 1.75.0 System: Windows 11 23H2

lordofbikes commented 3 weeks ago

based on https://forum.librecad.org/Text-missing-or-garbeled-in-DXF-file-tp5725500.html