Page 1 of 1

Saving QCAD 3 CXF fonts

Posted: Mon Jun 24, 2019 9:27 am
by CVH
Win7pro 32bit QCAD 3.22.1.0 (3.22.1) Revision: 46d6499

Stumbled on the fact that saving QCAD 3 CXF fonts they are encoded as ANSI.
All installed CXF fonts with version 3.22.1.0 (3.22.1) Revision: 46d6499 are encoded as UTF-8.
This is how it is reported by Notepad++.

Also, while saving a CXF font the 'EndOfLine' changes from 'NewLine' to 'Carriage Return' + 'NewLine'.

Both do not affect the functionality.

The most difference is in the example glyph behind the [1234] marker.
As an example [0107] ć is changed in [0107] c.

Regards,
CVH

Re: Saving QCAD 3 CXF fonts

Posted: Wed Jun 26, 2019 2:41 pm
by CVH
The file I posted here:
https://qcad.org/rsforum/viewtopic.php?f=8&t=6379
was uploaded by Andrew to github:
https://github.com/qcad/qcad/tree/master/fonts
and Notepad++ reports this one as UTF-8-BOM

Any thoughts?

Regards

Re: Saving QCAD 3 CXF fonts

Posted: Wed Jun 26, 2019 3:05 pm
by andrew
That file had some mixed encodings. Loading / re-saving it in QCAD seems to have fixed it. I also changed the encoding to UTF-8 which is recommended.

I think your operating system might be configured to use Latin1 by default. QCAD will enforce UTF-8 when saving CXF fonts starting from the next release.

Re: Saving QCAD 3 CXF fonts

Posted: Wed Jun 26, 2019 4:28 pm
by CVH
Saw that on github.
Got still the same coding with 3.22.1.2
Do I wait for the next release or do I load a snapshot for that.
It has no use to send you mixed codings.

Regards