Saving QCAD 3 CXF fonts

Drop in here to discuss whatever you want.

Moderator: andrew

Post Reply
CVH
Active Member
Posts: 45
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

Saving QCAD 3 CXF fonts

Post by CVH » Mon Jun 24, 2019 9:27 am

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

CVH
Active Member
Posts: 45
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

Re: Saving QCAD 3 CXF fonts

Post by CVH » Wed Jun 26, 2019 2:41 pm

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

User avatar
andrew
Site Admin
Posts: 6148
Joined: Fri Mar 30, 2007 6:07 am

Re: Saving QCAD 3 CXF fonts

Post by andrew » Wed Jun 26, 2019 3:05 pm

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.

CVH
Active Member
Posts: 45
Joined: Wed Sep 27, 2017 4:17 pm
Location: Belgium; Antwerp

Re: Saving QCAD 3 CXF fonts

Post by CVH » Wed Jun 26, 2019 4:28 pm

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

Post Reply

Return to “Chat”