Page 1 of 1

Subscript issue

Posted: Fri May 10, 2019 8:37 pm
by miha
I tried to write "R2", where R is italic and 2 is subscript. However, the output is source text (I attached the figure). Can someone help me with this issue?
P.S. I use QCAD 3.22 - Pro version.

Re: Subscript issue

Posted: Fri May 10, 2019 9:33 pm
by Husky
Please deactivate "Simple Text" and check what happens.

Husky-2019.05.10-03.png
Husky-2019.05.10-03.png (29.84 KiB) Viewed 4330 times

Re: Subscript issue

Posted: Fri May 10, 2019 10:00 pm
by andrew
This specific formatting (text change, color change or font size change right before subscript / superscript) gets messed up by the text dialog. Bug report added under:
https://qcad.org/bugtracker/index.php?d ... sk_id=1885

As a workaround, you can enter this code for the text in the property editor:

Code: Select all

\fTimes New Roman|b0|i1|c0|p0;R\fTimes New Roman|b0|i0|c0|p0;\S^2;
Unfortunately, using the text dialog to edit this text, will mess it up again...

Re: Subscript issue

Posted: Fri May 10, 2019 10:35 pm
by miha
Thank you for quick and useful answer! :D
I tried what you suggested and it works. I hope future versions of QCAD will allow for easier text manipulation.

Best regards,
Mihael