QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#781 - Font is reset to Arial when editing text.

Attached to Project: QCAD
Opened by Christian Aigner (caigner) - Thursday, 07 March 2013, 08:24 GMT
Last edited by Andrew (andrew) - Monday, 08 July 2013, 21:38 GMT
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I added a text with Font “Alex Brush” and size 5. When I double-click on the text to edit it again, the font is reset to Arial and the size to 1.0.

Additional details to reproduce:

  • Main font of text is set to “Arial”
  • Individual font of selection is set to “Alex Brush”
  • The text dialog initially selects all text in the text input field which might trigger the font reset
   font.png (39.9 KiB)
This task depends upon

Closed by  Andrew (andrew)
Monday, 08 July 2013, 21:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  https://github.com/qcad/qcad/commit/bc6d 038eae13fc4458e74ca27bf1fa01af949ef3
Comment by Andrew (andrew) - Thursday, 07 March 2013, 08:28 GMT

Quick follow-up question: Does this only happen with this particular font or also with other fonts or even all fonts? Thanks.

Comment by Christian Aigner (caigner) - Thursday, 07 March 2013, 12:52 GMT

I have tried it with several TT-fonts and it was always the same behavior.

Comment by Husky (Husky) - Friday, 08 March 2013, 01:02 GMT
Comment by Husky (Husky) - Friday, 08 March 2013, 01:05 GMT

Correct - that happens with all fonts - see also an old bugreport:
Quote:
Text erstellt, individuell formatiert (Textfonts, Höhe, Farbe), positioniert in der aktuelle Zeichnung.
Doppelklicke ich den Text um ihn zu editieren poppt das Optionsfenster auf und der Text ist markiert. Im Text font wird mir gesagt das es der Text Arial ist mit einer Höhe von 1 und schwarz. Da ich aber NICHT Arial verwendet habe und die Texthöhen unterschiedlich sind und alles in rot ist dies eine falsche Information.
Hier hätte ich erwartet: Font = *VARIES*, Höhe = *VARIES*, Farbe = *VARIES*. Klicke ich dann mit der Maus in den Text (Markierung verschwindet, Cursor blinkt im Text) habe ich immer noch die selbe Info - erst ein zweiter Klick spuckt dann die richtige Info aus.

http://www.qcad.org/bugtracker/index.php?do=details&task_id=627&opened=31&type

Comment by Andrew (andrew) - Thursday, 18 April 2013, 18:29 GMT

Husky: FS#627 describes a different problem (see attachment font.png of this report).
FS#627 is a usage / interface problem. This report is likely a bug (not reproducible here so far).

Comment by Andrew (andrew) - Thursday, 18 April 2013, 18:33 GMT

Christian Aigner: could it be that you have configured a reduced font list which does not include the font(s) in question under 'Edit' - 'Application Preferences' - 'Draw' - 'Text'? That way I can reproduce a similar behavior.

Comment by Christian Aigner (caigner) - Friday, 19 April 2013, 05:59 GMT

No, I didn't configure a reduced font list.

I recorded a short video to demonstrate this.

Comment by Andrew (andrew) - Thursday, 04 July 2013, 18:22 GMT

This problem has never been reproducible here. Can anyone confirm if this still exists in QCAD 3.1.4? Thanks.

Comment by Christian Aigner (caigner) - Saturday, 06 July 2013, 17:04 GMT

I just tested it with the Linux version of QCAD 3.1.4 and the problem still exists. I shot a screecast of my test. Unfortunately I can't insert a link here. I'll send you the link by e-Mail.

This was test on a freshly installed QCAD 3.1.4
No configuration was changed or anything else.

Comment by Christian Aigner (caigner) - Saturday, 06 July 2013, 17:09 GMT
Comment by Andrew (andrew) - Saturday, 06 July 2013, 17:12 GMT

Thanks. What is your exact Linux distribution and version thereof and what desktop (Gnome, KDE, ...) do you use?

Comment by Christian Aigner (caigner) - Saturday, 06 July 2013, 17:20 GMT

I use Gentoo Linux, kernel 3.6.11
My desktop of choice is Fluxbox 1.3.2

Comment by Andrew (andrew) - Saturday, 06 July 2013, 17:21 GMT

Thanks for the video. What is the text contents after creating the text in "Alex Brush" (see property editor).

Comment by Andrew (andrew) - Saturday, 06 July 2013, 17:26 GMT

Another thought: does setting the main font on the left instead have the same problem?

Comment by Christian Aigner (caigner) - Sunday, 07 July 2013, 11:33 GMT

Text contents in the property editor:

First it is

\fAlex Brush|b0|i0|c0|p0;\H12.5714;Test

but after opening and closing the text editor it changes to

\H12.5714;Test

Comment by Christian Aigner (caigner) - Sunday, 07 July 2013, 11:34 GMT

Setting the main font on the left works well!
The text retains now its font when opened in the text editor.

Loading...