Editing Font file SHP

Editing Font file SHP

muhammedkhairy
Explorer Explorer
2,451 Views
2 Replies
Message 1 of 3

Editing Font file SHP

muhammedkhairy
Explorer
Explorer

I converted SHX file to SHP file and I can now open the file with NotePad. But I can't understand the file and its contents.

Now I want to edit the font file to change some setting in it. How to edit this file.

I want to see the letters to edit them and add other letters.

How can I assign the letters?

0 Likes
2,452 Views
2 Replies
Replies (2)
Message 2 of 3

Kent1Cooper
Consultant
Consultant

You won't be able to "see" the letters in the .SHP file.  You need to dig into Shape definitions as they relate to Font definitions, starting some place like here and in the "Related concepts" links there.  It's challenging to understand at first, but once you get the hang of it, not all that difficult.

 

The "header" lines give at least some clue as to what the character is, for instance:

 

*00030,34,n0

 

is for number 0 [zero]

 

and

 

*00041,21,uca

 

is for upper-case A

 

The ones with a k are punctuation characters.  You can also find the definition of a character by finding its ASCII character code from inside AutoCAD, for example:

 

Command: (ascii "A")

returns
65

 

but note that the 65 is a base-ten equivalent that needs to be converted to the hexadecimal  [base-16] number that is used for the character identifier in the .SHP file header [00041 = 4 x 16 + 1 = 65], in order to find the right character definition.

Kent Cooper, AIA
Message 3 of 3

m_latz
Advisor
Advisor
0 Likes