Dxf export fails when superscript characters are present in text

Summary:

Both dxf 12 and 14 exports fail when a text containing a superscript character is present. The error also happens when the text containing the character is hidden and the export dialog is set to save visible elements only.

Steps to reproduce:

  • open the attached export.svg file

  • save as dxf with the depicted export settings

What happened?

  • an error dialog is shown and the dxf file cannot be saved

What should have happened?

  • superscript character exported as other text

Version info


Inkscape 1.4 (86a8ad7, 2024-10-11)

                      Compile  (Run)
    GLib version:     2.82.1
    GTK version:      3.24.43 (3.24.43)
    glibmm version:   2.66.7
    gtkmm version:    3.24.9
    libxml2 version:  2.12.9
    libxslt version:  1.1.42
    Cairo version:    1.18.2 (1.18.2)
    Pango version:    1.54.0 (1.54.0)
    HarfBuzz version: 10.0.1 (10.0.1)

    OS version:       Windows 11 23H2

Attachments:

error.txt

export.svg

dxf_dialog

error_dialog_2

error_dialog

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information