← All bug reports

FS#1508QCAD CE: Subscript and superscript formatting lost when file re-opened

Type
Bug
Status
Closed
Resolution
Fixed
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
3.15.5
Operating system
macOS (All)
Reported
2016-12-07 by djorlando24
Closed
2016-12-07 by andrew

When multiple superscripts or subscripts are used in a text field, re-opening the saved dxf file will fail to render all but the first super/subscript element. As per attached example. Bug occurs on all Mac OS X from Mavericks onward.

Minimal reproducible steps:
1. Open new document in QCAD
2. Add a text object
3. Make part of the text sub or super-script
4. Make another part of the text also sub/superscript, with at least one 'normal' character between the two sub/superscripts
5. Save file and close it. Don't have to quit QCAD.
6. Reopen the file. Voila, all but the first sub/superscript element is broken.

Dan.

ps. QCAD is a pretty great piece of software, nice work all.

Comments (4)

andrew 2016-12-07

I cannot reproduce this problem here (using your example text or any other text).
Could you please attach your DXF file? Thanks.

andrew 2016-12-07

Could it be that you are using the free QCAD Community Edition? I can indeed reproduce a similar problem with that.

djorlando24 2016-12-07

Yes, indeed I am using the QCAD Community Edition.

Version: 3.15.5.0 (3.15.5)
Internet: QCAD.org
Build Date: Aug 19 2016
Revision: 15ef1a1
Qt Version: 5.5.1
Architecture: x86_64
Compiler: Clang 7.3.0

djorlando24 2016-12-07

Thanks for committing the fix so fast!