Page 1 of 1

Different Font Size Between AUTOCAD and QCAD

Posted: Sun Jan 05, 2020 3:13 am
by jssham
Hi,

I open my DWG drawing in AUTOCAD, the font was ok.

But when I tried to use QCAD, the font was something wrong.

P/S: I'm using QCAD in ubuntu 19.04.

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Sun Jan 05, 2020 5:11 am
by Husky
jssham wrote:
Sun Jan 05, 2020 3:13 am
But when I tried to use QCAD, the font was something wrong.
Please be more precisely with the issue description. If possible attach the dwg in question.

Basic question: Have both programs access to the same set of fonts?

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Sun Jan 05, 2020 4:17 pm
by jssham
Husky wrote:
Sun Jan 05, 2020 5:11 am
jssham wrote:
Sun Jan 05, 2020 3:13 am
But when I tried to use QCAD, the font was something wrong.
Please be more precisely with the issue description. If possible attach the dwg in question.

Basic question: Have both programs access to the same set of fonts?
Yes, both programs were access to the same set of fonts

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Mon Jan 06, 2020 3:00 am
by jssham
Hi,

I had attached the sample DWG.

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Mon Jan 06, 2020 11:25 am
by Panchdara
jssham - question:

exactly what?? do you expect to see? Can you show what the "correct" text/font looks like and what the "incorrect" text/font looks like?

Cheers

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Mon Jan 06, 2020 11:35 am
by jssham
This is what I expected.

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Mon Jan 06, 2020 11:48 am
by Panchdara
Thanks jssham. Makes a lot more sense. Can you save the original (Autocad version) in DXF format? Looks sorta like an import issue? I'm sure Andrew will figure out - I was just trying to see where the differences were. I guess ACad might save DWG files using their proprietary format(s) and even then their formats might differ from version to version.

Best

(Edit: or try again without any alignment settings on the text??? ) Best

Re: Different Font Size Between AUTOCAD and QCAD

Posted: Mon Jan 06, 2020 2:04 pm
by andrew
Autocad uses various text formatting codes, some of which are not supported in QCAD.

"\pxsm1.5,qc;" is such a code. I haven't seen this before with the ",qc" part. I've added this to be ignored in future versions to avoid displaying the code itself. There are currently no plans to add support for individual text line spacing through these codes.