QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version 3.0.0
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Karl Bernhardi - 28.09.2012
Last edited by Andrew - 16.12.2013

FS#696 - Text control characters (e.g. upper /lower sign) explicitely shown in drawing

The control characters, such as bold, italic, superscript/subscript, of a Text are displayed explicitely in the drawing. Thus, one obtains not the required appearence of the characters in the drawing.
This occurs when i use QCAD3 in Windows Vista or in openSuse 12.2 on a 64 bit laptop.
If instead i use QCAD3 in openSuse 12.2 on a 32 bit laptop, then characters are displayed in the required appearance. (However, on this laptop i have the reported difficulty in selecting fonts).
If i change back from the drawing to the text editor, then also the texteditor displays the text together with explicit control characters, and not in the original required form.

Closed by  Andrew
16.12.2013 13:46
Reason for closing:  Won't fix
Additional comments about closing:  

Out of scope / format limitation

Admin
Andrew commented on 28.09.2012 07:41

Please uncheck the check box 'Simple Text' in the text dialog or using the property editor. Simple texts have only one line and no formatting.

Karl Bernhardi commented on 28.09.2012 08:35

This drawing shows editing of the text : t0.
The upper line shows the failed editing, and the lower line the required form.
This DXF is a combination of accesses to QCAD3 implementations at various laptops.

Admin
Andrew commented on 28.09.2012 08:51

Thanks.

This is easily reproducible on any platform:

- Create text in text dialog: ABCD
- Make CD a subscript
- Change font of CD to an individual font
- The source looks now for example like this: AB\S^\fArial Black|b0|i0|c0|p0;CD;
- Although this syntax looks correct, font changes or other formatting changes inside a subscript or superscript are not supported by the text syntax used in DXF/DWG. The text editor is an HTML text editor which is unaware of this restriction.

Potential fixes:
- post filter entered text to strip out such unsupported syntax; show warning to user (easy to implement, breaks WYSIWYG pattern).
- prevent such changes while editing text (hard to implement, requires fundamental changes to existing HTML editor)

Karl Bernhardi commented on 28.09.2012 13:30

Yes, i can confirm this.
I i use both main ans subscript characters in either "straight" or "italic" mode, then the characters appear at the drawing as required.
If, however, main characters are straight but the subscripts are italic, then i have switched from "straight" font in an italic font.
Thus, the appearance is not the required one.
From my point of view, it is sufficient to circumvent just this intermixing of subscripts with italic font mode with main characters in straight mode. I dont know if it is possible to make a respective workaround with low effort. If not, then i should obey the rule to use only straight mode or only italic mode for all characters.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing