Jump to content

Editing my leroy font


Silvercloak

Recommended Posts

Hi,

 

I'm having a bit of an issue at work. I cannot get the # symbol to work with my leroy font, instead I'm getting an english pound currency symbol everytime I type it. I was hoping someone could suggest a solution?

 

I was thinking of editing my shape file for the leroy font and distributing it around the office, but I'm not quite sure how to do that. Can anyone help? This is getting to be a major timewaster and I would like a solution that would make it simple to apply to future drawings.

 

Particularly if I have to select ALL Mtext and Text in a drawing that may have a # symbol in it and change it from say, simplex to leroy without having any issues with the symbol.

 

Silvercloak

Link to comment
Share on other sites

  • Replies 29
  • Created
  • Last Reply

Top Posters In This Topic

  • Silvercloak

    15

  • eldon

    9

  • SLW210

    3

  • Blackfish

    3

You have UK keyboard layout in your system on. You should change it into US keyboard if you want # where 3 is. Now # is under ' (inverted comma) just beside 'Enter'.

Link to comment
Share on other sites

I'm not quite sure what you mean. Windows has my keyboard set to US. If I use another font, like Simplex or Romans, # comes out properly. However if I use the Leroy font shape in AutoCAD, it comes out as an english pound.

Link to comment
Share on other sites

Maybe the font you use has a different coding page...

Just try ' (invereted comma) now, before somebody find another solution... a double check your setting (there is a shortcut for switching keyboard, you could use it accidently).

Link to comment
Share on other sites

Are you using a SHX or TTF font?

 

I have Leroy.shx and I get ###############

 

Nice, any chance you can send that shapes file to me? I'm using an SHX one too, but maybe it's a piece of crap.

Link to comment
Share on other sites

Hmmm, I tried it and it doesn't look right. That leroy looks more like Romans than the Leroy we're using. Wish I could attach my .shx file so you could see.

 

I'm trying to dumpshx it now, but it keeps getting punted on my system with an error. Strange.

Link to comment
Share on other sites

There are two different versions that define character 23h differently.

 

 

Leroy differences

 

# sign

*00023,37,kns

2,8,(11,25),1,8,(-7,-32),2,8,(13,32),1,8,(-7,-32),2,8,(-6,19),1,

8,(14,0),2,8,(-15,-6),1,8,(14,0),2,8,(4,-6),0

 

£ sign

*00023,49,kns

2,8,(54,83),1,9,(-7,7),(-8,4),(-9,1),(-9,-2),(-7,-5),(-6,-8 ),

(-2,-9),(1,-9),(4,-18 ),(1,-12),(0,-10),(-2,-10),(-4,-7),(50,0),

(0,0),2,8,(-55,45),1,8,(35,0),2,8,(50,-50),0

 

Just make sure you have the appropriate one :D

Link to comment
Share on other sites

Awesome, thank you. Now I just got to figure out how to use Dumpshx. Everytime I do I get the windows error box "AutoCAD component has encountered a problem and needs to close. We are sorry for the inconvenience."

Link to comment
Share on other sites

Awesome!!! I found a program to dump my leroy.shx. I can't find character 23 in it... Am I blind, or missing something? Here's my dump;

 

*0,4,nLEROY.SHP
100,25,0,0
*1,2,soh
5,0
*10,9,lf
2,9,(0,-100),(0,-60),(0,0),0
*13,2,cr
6,0
*32,5,spc
2,8,(100,0),0
*33,21,kexc
2,8,(5,5),1,8,(0,,2,8,(0,23),1,8,(0,60),2,8,(30,-95),0
*34,21,kqt
2,8,(10,95),1,8,(-5,-20),2,8,(25,0),1,8,(5,20),2,8,(30,-95),0
*35,49,kns
2,8,(54,83),1,9,(-7,7),(-8,4),(-9,1),(-9,-2),(-7,-5),(-6,-,(-2,-9),
(1,-9),(4,-18),(1,-12),(0,-10),(-2,-10),(-4,-7),(50,0),(0,0),2,8,(-55,45),
1,8,(35,0),2,8,(50,-50),0
*36,67,kds
2,8,(7,20),1,9,(5,-7),(8,-5),(10,-3),(10,0),(10,3),(8,5),(5,7),
(2,,(-2,,(-5,6),(-5,3),(-35,12),(-6,3),(-5,5),(-1,,(3,,(5,7),
(7,5),(10,3),(10,0),(10,-3),(7,-5),(5,-6),(0,0),2,8,(-27,-89),
1,8,(0,112),2,8,(58,-105),0
*37,77,kpc
2,8,(20,5),1,8,(60,90),2,8,(-60,-30),1,9,(-8,2),(-5,5),(-2,,
(2,,(5,5),(8,2),(8,-2),(5,-5),(2,-,(-2,-,(-5,-5),(-8,-2),(0,0),
2,8,(60,-60),1,9,(-8,2),(-5,5),(-2,,(2,,(5,5),(8,2),(8,-2),
(5,-5),(2,-,(-2,-,(-5,-5),(-8,-2),(0,0),2,8,(45,-5),0
*38,91,kand
2,8,(81,6),1,9,(0,6),(-1,9),(-4,11),(-5,9),(-7,7),(-11,5),(-23,2),
(-9,4),(-8,6),(-3,9),(2,,(7,6),(10,5),(11,2),(11,-2),(9,-4),(7,-6),
(2,-,(-2,-7),(-6,-,(-9,-6),(0,0),2,8,(25,0),1,9,(-5,-5),(-2,-,
(0,-10),(-3,-10),(-5,-7),(-10,-6),(-13,-2),(-13,2),(-11,5),(-7,,(-3,10),(3,10),
(7,10),(12,6),(0,0),2,8,(76,-55),0
*39,13,kap
2,8,(5,75),1,8,(5,20),2,8,(30,-95),0
*40,33,klp
2,8,(15,100),1,9,(-2,-6),(-3,-12),(-2,-12),(-1,-12),(0,-12),(1,-13),(1,-12),
(2,-13),(3,-12),(2,-6),(0,0),2,8,(30,10),0
*41,33,krp
2,8,(5,100),1,9,(2,-6),(3,-12),(2,-12),(1,-12),(0,-12),(-1,-13),(-1,-12),
(-2,-13),(-3,-12),(-2,-6),(0,0),2,8,(40,10),0
*42,21,kas
2,8,(5,15),1,8,(40,40),2,8,(-40,0),1,8,(40,-40),2,8,(30,-15),0
*43,21,kpls
2,8,(25,15),1,8,(0,40),2,8,(-20,-20),1,8,(40,0),2,8,(30,-35),0
*44,25,kcma
2,8,(10,5),1,9,(-5,0),(0,5),(5,0),(0,-12),(-1,-7),(-2,-5),(0,0),
2,8,(33,15),0
*45,13,ksub
2,8,(5,33),1,8,(30,0),2,8,(30,-33),0
*46,21,kper
2,8,(10,5),1,9,(-5,0),(0,5),(5,0),(0,-5),(0,0),2,8,(30,-5),0
*47,13,kdiv
2,8,(5,5),1,8,(60,90),2,8,(30,-95),0
*48,49,n0
2,8,(75,55),1,9,(-4,15),(-8,13),(-10,9),(-13,3),(-13,-3),(-10,-9),(-7,-13),
(-4,-16),(0,-9),(4,-16),(8,-13),(10,-9),(13,-3),(13,3),(10,9),(8,13),(4,16),
(0,9),(0,0),2,8,(30,-55),0
*49,19,n1
2,8,(3,75),1,9,(10,5),(15,15),(0,-90),(0,0),2,8,(30,-5),0
*50,45,n2
2,8,(7,75),1,9,(1,5),(6,,(9,5),(11,2),(11,-2),(9,-5),(6,-,
(2,-10),(-2,-10),(-6,-7),(-28,-16),(-9,-6),(-8,-9),(-5,-10),(-1,-7),(60,0),(0,0),
2,8,(25,-5),0
*51,57,n3
2,8,(5,20),1,9,(9,-9),(13,-5),(12,-1),(12,2),(10,5),(7,,(2,10),
(-2,11),(-6,9),(-11,7),(-12,2),(-13,-2),(0,0),2,8,(0,0),1,9,(8,4),
(7,4),(8,9),(6,9),(6,12),(-55,0),(0,0),2,8,(88,-95),0
*52,23,n4
2,8,(80,35),1,9,(-75,0),(0,5),(50,55),(5,0),(0,-90),(0,0),2,
8,(45,-5),0
*53,45,n5
2,8,(60,95),1,9,(-45,0),(-7,-40),(7,6),(8,4),(13,2),(15,-2),(10,-7),
(7,-11),(2,-13),(-3,-13),(-7,-11),(-12,-6),(-12,-2),(-13,2),(-12,9),(-6,12),(0,0),
2,8,(86,-27),0
*54,59,n6
2,8,(64,85),1,9,(-10,6),(-13,3),(-13,-3),(-11,-9),(-7,-13),(-3,-16),(0,-9),
(3,-16),(8,-13),(11,-9),(13,-3),(13,3),(11,9),(5,11),(0,7),(-2,7),(-7,,
(-10,6),(-12,2),(-12,-2),(-10,-7),(-6,-9),(-2,-6),(0,0),2,8,(92,-33),0
*55,33,n7
2,8,(5,95),1,9,(65,0),(0,-5),(-9,-7),(-5,-5),(-10,-12),(-5,-7),(-6,-13),
(-4,-13),(-2,-12),(0,-11),(0,0),2,8,(65,-10),0
*56,71,n8
2,8,(53,53),1,9,(9,6),(6,,(2,7),(-2,,(-7,6),(-9,4),(-11,2),
(-11,-2),(-10,-5),(-7,-6),(-2,-,(3,-9),(8,-6),(9,-4),(23,-2),(11,-5),(7,-,
(3,-10),(-3,-10),(-7,-,(-11,-5),(-13,-2),(-13,2),(-11,5),(-7,,(-3,10),(3,10),
(7,10),(12,6),(0,0),2,8,(66,-55),0
*57,59,n9
2,8,(10,15),1,9,(10,-6),(13,-3),(13,3),(11,9),(7,13),(3,16),(0,9),
(-3,16),(-8,13),(-11,9),(-13,3),(-13,-3),(-11,-9),(-5,-11),(0,-7),(2,-7),(7,-,
(10,-6),(12,-2),(12,2),(10,7),(6,9),(2,6),(0,0),2,8,(30,-66),0
*58,37,kcol
2,8,(10,45),1,9,(-5,0),(0,5),(5,0),(0,-5),(0,0),2,8,(0,-40),
1,9,(-5,0),(0,5),(5,0),(0,-5),(0,0),2,8,(30,-5),0
*59,41,ksmc
2,8,(10,45),1,9,(-5,0),(0,5),(5,0),(0,-5),(0,0),2,8,(0,-40),
1,9,(-5,0),(0,5),(5,0),(0,-12),(-1,-7),(-2,-5),(0,0),2,8,(33,15),0
*60,17,klt
2,8,(55,5),1,9,(-50,35),(50,35),(0,0),2,8,(25,-75),0
*61,21,keq
2,8,(5,48),1,8,(40,0),2,8,(-40,-30),1,8,(40,0),2,8,(30,-18),0
*62,17,kgt
2,8,(5,5),1,9,(50,35),(-50,35),(0,0),2,8,(75,-75),0
*63,51,kqm
2,8,(25,10),1,8,(0,-4),2,8,(-20,85),1,9,(5,2),(7,2),(8,0),
(5,-1),(5,-2),(4,-3),(3,-4),(2,-5),(1,-5),(-2,-6),(-2,-2),(-14,-14),(-1,-2),
(-1,-4),(0,-12),(0,0),2,8,(50,-35),0
*64,91,kea
2,8,(64,25),1,9,(-1,-5),(-2,-5),(-3,-4),(-4,-3),(-5,-2),(-5,-1),(-6,1),
(-4,2),(-5,3),(-3,4),(-2,5),(0,5),(0,25),(0,4),(2,3),(2,4),(3,2),
(4,1),(4,1),(25,0),(0,-50),(1,-5),(4,-4),(5,-1),(5,1),(3,4),(2,5),
(0,60),(-2,5),(-3,4),(-5,1),(-50,0),(-6,-1),(-4,-2),(-5,-3),(-3,-4),(-2,-5),
(0,-5),(0,-60),(0,0),2,8,(107,-5),0
*65,27,uca
2,8,(5,5),1,9,(35,90),(8,0),(33,-90),(0,0),2,8,(-65,20),1,
8,(55,0),2,8,(40,-25),0
*66,53,ucb
2,8,(42,53),1,9,(8,1),(6,5),(4,7),(2,,(-2,,(-4,7),(-6,5),
(-8,2),(-37,0),(0,-90),(37,0),(9,2),(7,5),(5,,(2,9),(-2,9),(-5,,
(-7,4),(-9,2),(-37,0),(0,0),2,8,(90,-53),0
*67,43,ucc
2,8,(67,77),1,9,(-4,6),(-10,9),(-13,3),(-13,-3),(-10,-9),(-7,-13),(-4,-16),
(0,-9),(4,-16),(8,-13),(10,-9),(13,-3),(13,3),(10,9),(6,10),(0,0),
2,8,(26,-26),0
*68,37,ucd
2,8,(31,95),1,9,(-27,0),(0,-90),(27,0),(13,3),(11,9),(7,13),(4,16),
(0,9),(-4,16),(-7,13),(-11,9),(-13,3),(0,0),2,8,(58,-95),0
*69,27,uce
2,8,(6,53),1,8,(39,0),2,8,(20,42),1,9,(-60,0),(0,-90),(60,0),
(0,0),2,8,(30,-5),0
*70,25,ucf
2,8,(6,50),1,8,(39,0),2,8,(20,45),1,9,(-60,0),(0,-90),(0,0),
2,8,(90,-5),0
*71,47,ucg
2,8,(68,77),1,9,(-3,6),(-12,9),(-13,3),(-13,-3),(-10,-9),(-7,-13),(-4,-16),
(0,-9),(4,-16),(8,-13),(10,-9),(13,-3),(13,3),(12,9),(5,9),(0,24),(-25,0),
(0,0),2,8,(50,-50),0
*72,29,uch
2,8,(5,95),1,8,(0,-90),2,8,(65,90),1,8,(0,-90),2,8,(-64,48),
1,8,(63,0),2,8,(31,-53),0
*73,13,uci
2,8,(5,95),1,8,(0,-90),2,8,(30,-5),0
*74,33,ucj
2,8,(5,35),1,9,(1,-,(3,-9),(5,-7),(7,-5),(7,-2),(9,2),(7,5),
(5,7),(2,9),(0,68),(0,0),2,8,(29,-95),0
*75,29,uck
2,8,(5,95),1,8,(0,-90),2,8,(1,36),1,8,(64,54),2,8,(0,-90),
1,8,(-40,55),2,8,(70,-60),0
*76,17,ucl
2,8,(5,95),1,9,(0,-90),(60,0),(0,0),2,8,(30,-5),0
*77,25,ucm
2,8,(5,5),1,9,(0,90),(5,0),(35,-90),(35,90),(5,0),(0,-90),(0,0),
2,8,(30,-5),0
*78,23,ucn
2,8,(5,5),1,9,(0,90),(5,0),(50,-90),(5,0),(0,90),(0,0),2,
8,(30,-95),0
*79,49,uco
2,8,(75,55),1,9,(-4,15),(-8,13),(-10,9),(-13,3),(-13,-3),(-10,-9),(-7,-13),
(-4,-16),(0,-9),(4,-16),(8,-13),(10,-9),(13,-3),(13,3),(10,9),(8,13),(4,16),
(0,9),(0,0),2,8,(30,-55),0
*80,35,ucp
2,8,(5,5),1,9,(0,90),(43,0),(9,-2),(7,-5),(5,-7),(2,-9),(-2,-9),
(-5,-7),(-7,-5),(-9,-2),(-43,0),(0,0),2,8,(95,-50),0
*81,71,ucq
2,8,(75,55),1,9,(-4,15),(-8,13),(-10,9),(-13,3),(-13,-3),(-10,-9),(-7,-13),
(-4,-16),(0,-9),(4,-16),(8,-13),(10,-9),(13,-3),(13,3),(10,9),(8,13),(4,16),
(0,9),(0,0),2,8,(-28,-35),1,9,(4,-2),(2,-3),(1,-5),(1,-5),(2,-4),
(4,-2),(4,-1),(0,0),2,8,(40,1),0
*82,43,ucr
2,8,(65,5),1,8,(-20,45),2,8,(-40,-45),1,9,(0,90),(43,0),(9,-2),
(7,-5),(5,-7),(2,-9),(-2,-,(-5,-7),(-7,-5),(-9,-2),(-43,0),(0,0),
2,8,(100,-50),0
*83,59,ucs
2,8,(8,18),1,9,(4,-5),(8,-5),(10,-3),(10,0),(10,3),(8,5),(5,7),
(2,,(-2,,(-5,6),(-5,3),(-35,12),(-6,3),(-5,5),(-1,,(3,,(5,7),
(7,5),(10,3),(10,0),(10,-3),(7,-5),(5,-6),(0,0),2,8,(33,-81),0
*84,21,uct
2,8,(5,95),1,8,(70,0),2,8,(-35,-1),1,8,(0,-89),2,8,(60,-5),0
*85,33,ucu
2,8,(65,95),1,9,(0,-60),(-2,-11),(-7,-10),(-10,-7),(-11,-2),(-11,2),(-10,7),
(-7,10),(-2,11),(0,60),(0,0),2,8,(90,-95),0
*86,19,ucv
2,8,(5,95),1,9,(36,-90),(3,0),(36,90),(0,0),2,8,(30,-95),0
*87,27,ucw
2,8,(5,95),1,9,(24,-90),(2,0),(23,90),(2,0),(23,-90),(2,0),(24,90),
(0,0),2,8,(30,-95),0
*88,21,ucx
2,8,(8,95),1,8,(68,-90),2,8,(-70,0),1,8,(68,90),2,8,(30,-95),0
*89,25,ucy
2,8,(5,95),1,8,(35,-50),2,8,(0,-40),1,9,(0,40),(35,50),(0,0),
2,8,(30,-95),0
*90,23,ucz
2,8,(5,95),1,9,(60,0),(0,-3),(-60,-85),(0,-3),(60,0),(0,0),2,
8,(30,-5),0
*91,57,klb
2,8,(33,-18),1,9,(-5,1),(-5,3),(-3,5),(-1,5),(0,40),(-1,5),(-3,5),
(-5,3),(-5,1),(0,0),2,8,(28,68),1,9,(-5,-1),(-5,-3),(-3,-5),(-1,-5),
(0,-40),(-1,-5),(-3,-5),(-5,-3),(-5,-1),(0,0),2,8,(45,-50),0
*92,13,krs
2,8,(5,95),1,8,(60,-90),2,8,(30,-5),0
*93,57,krb
2,8,(-8,-18),1,9,(5,1),(5,3),(3,5),(1,5),(0,40),(1,5),(3,5),
(5,3),(5,1),(0,0),2,8,(-28,68),1,9,(5,-1),(5,-3),(3,-5),(1,-5),
(0,-40),(1,-5),(3,-5),(5,-3),(5,-1),(0,0),2,8,(28,-50),0
*94,37,kart
2,8,(34,85),1,9,(-4,7),(-7,4),(-8,0),(-7,-4),(-4,-7),(0,-13),(4,-7),
(7,-4),(8,0),(7,4),(4,7),(0,13),(0,0),2,8,(30,-85),0
*95,5,kul
2,8,(100,0),0
*96,5,krvap
2,8,(100,0),0
*97,51,lca
2,8,(51,55),1,9,(-3,4),(-8,5),(-10,2),(-10,-2),(-8,-6),(-5,-9),(-2,-11),
(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(4,4),(0,0),
2,8,(0,-12),1,8,(0,63),2,8,(30,-68),0
*98,51,lcb
2,8,(5,95),1,8,(0,-90),2,8,(0,50),1,9,(3,4),(8,5),(10,2),
(10,-2),(8,-6),(5,-9),(2,-11),(0,-6),(-2,-11),(-5,-9),(-8,-6),(-10,-2),(-10,2),
(-8,6),(-3,4),(0,0),2,8,(77,-17),0
*99,43,lcc
2,8,(51,55),1,9,(-3,4),(-8,5),(-10,2),(-10,-2),(-8,-6),(-5,-9),(-2,-11),
(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(4,4),(0,0),
2,8,(30,-17),0
*100,51,lcd
2,8,(51,93),1,8,(0,-88),2,8,(0,50),1,9,(-3,4),(-8,5),(-10,2),
(-10,-2),(-8,-6),(-5,-9),(-2,-11),(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),
(8,6),(3,4),(0,0),2,8,(30,-17),0
*101,47,lce
2,8,(5,40),1,9,(48,0),(-1,10),(-4,9),(-8,6),(-10,2),(-10,-2),(-8,-6),
(-5,-9),(-2,-11),(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(4,4),
(0,0),2,8,(31,-17),0
*102,31,lcf
2,8,(5,65),1,8,(25,0),2,8,(-13,-60),1,9,(0,80),(1,6),(5,3),
(4,0),(5,-1),(0,0),2,8,(28,-93),0
*103,63,lcg
2,8,(51,55),1,9,(-3,4),(-8,5),(-10,2),(-10,-2),(-8,-6),(-5,-9),(-2,-11),
(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(4,4),(0,0),
2,8,(0,50),1,9,(0,-75),(-1,-5),(-5,-5),(-7,-2),(-8,0),(-9,3),(0,0),
2,8,(65,16),0
*104,39,lch
2,8,(5,51),1,9,(3,6),(6,6),(8,4),(9,1),(6,-1),(6,-4),(4,-6),
(1,-6),(0,-46),(0,0),2,8,(-43,0),1,8,(0,90),2,8,(73,-95),0
*105,21,lci
2,8,(5,5),1,8,(0,63),2,8,(0,28),1,8,(0,-,2,8,(30,-88),0
*106,33,lcj
2,8,(20,88),1,8,(0,,2,8,(-15,-110),1,9,(5,0),(4,1),(3,2),
(2,3),(1,4),(0,72),(0,0),2,8,(30,-68),0
*107,29,lck
2,8,(5,95),1,8,(0,-90),2,8,(0,25),1,8,(40,38),2,8,(3,-63),
1,8,(-22,44),2,8,(52,-49),0
*108,13,lcl
2,8,(5,5),1,8,(0,90),2,8,(30,-95),0
*109,65,lcm
2,8,(5,5),1,8,(0,63),2,8,(0,-17),1,9,(3,6),(6,6),(8,4),
(9,1),(6,-1),(6,-4),(4,-6),(1,-6),(0,-46),(0,0),2,8,(0,46),
1,9,(3,6),(6,6),(8,4),(9,1),(6,-1),(6,-4),(4,-6),(1,-6),(0,-46),
(0,0),2,8,(30,-5),0
*110,39,lcn
2,8,(5,68),1,8,(0,-63),2,8,(0,46),1,9,(3,6),(6,6),(8,4),
(9,1),(6,-1),(6,-4),(4,-6),(1,-6),(0,-46),(0,0),2,8,(33,-5),0
*111,49,lco
2,8,(55,39),1,9,(-2,11),(-5,9),(-8,6),(-10,2),(-10,-2),(-8,-6),(-5,-9),
(-2,-11),(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(5,9),(2,11),
(0,6),(0,0),2,8,(30,-39),0
*112,51,lcp
2,8,(5,-20),1,8,(0,87),2,8,(0,-12),1,9,(3,4),(8,5),(10,2),
(10,-2),(8,-6),(5,-9),(2,-11),(0,-6),(-2,-11),(-5,-9),(-8,-6),(-10,-2),(-10,2),
(-8,6),(-3,4),(0,0),2,8,(76,-17),0
*113,51,lcq
2,8,(51,55),1,9,(-3,4),(-8,5),(-10,2),(-10,-2),(-8,-6),(-5,-9),(-2,-11),
(0,-6),(2,-11),(5,-9),(8,-6),(10,-2),(10,2),(8,6),(4,4),(0,0),
2,8,(0,-37),1,8,(0,87),2,8,(30,-68),0
*114,31,lcr
2,8,(5,68),1,8,(0,-63),2,8,(0,41),1,9,(3,,(6,7),(8,5),
(8,2),(1,0),(0,0),2,8,(32,-67),0
*115,59,lcs
2,8,(7,14),1,9,(4,-4),(5,-4),(7,-2),(7,0),(7,2),(5,3),(4,5),
(1,5),(-1,6),(-4,5),(-4,2),(-24,,(-4,3),(-3,4),(-1,5),(2,5),(4,4),
(5,3),(7,2),(7,0),(7,-2),(5,-4),(2,-2),(0,0),2,8,(32,-60),0
*116,21,lct
2,8,(5,68),1,8,(25,0),2,8,(-13,28),1,8,(0,-90),2,8,(40,-5),0
*117,39,lcu
2,8,(48,22),1,9,(-3,-6),(-6,-6),(-8,-4),(-9,-1),(-6,1),(-6,4),(-4,6),
(-1,6),(0,46),(0,0),2,8,(43,0),1,8,(0,-63),2,8,(30,-5),0
*118,19,lcv
2,8,(5,68),1,9,(24,-63),(3,0),(24,63),(0,0),2,8,(30,-68),0
*119,25,lcw
2,8,(5,68),1,9,(18,-63),(3,0),(18,63),(18,-63),(3,0),(18,63),(0,0),
2,8,(30,-68),0
*120,21,lcx
2,8,(13,68),1,8,(40,-63),2,8,(-45,0),1,8,(40,63),2,8,(35,-68),0
*121,31,lcy
2,8,(5,68),1,8,(23,-65),2,8,(-23,-25),1,9,(8,0),(4,1),(3,2),
(2,3),(26,84),(0,0),2,8,(30,-68),0
*122,23,lcz
2,8,(45,5),1,9,(-40,0),(0,2),(40,60),(0,2),(-35,0),(0,0),2,
8,(65,-68),0
*123,41,kbr
2,8,(37,110),1,9,(-8,-2),(-6,-6),(-2,-,(0,-28),(-2,-,(-6,-6),(-8,-2),
(8,-2),(6,-6),(2,-,(0,-28),(2,-,(6,-6),(8,-2),(0,0),2,8,(25,10),0
*125,41,krbr
2,8,(5,110),1,9,(8,-2),(6,-6),(2,-,(0,-28),(2,-,(6,-6),(8,-2),
(-8,-2),(-6,-6),(-2,-,(0,-28),(-2,-,(-6,-6),(-8,-2),(0,0),2,8,(57,10),0
*127,37,kdeg
2,8,(20,65),1,9,(-8,2),(-5,6),(-2,7),(2,,(6,5),(7,2),(8,-2),
(5,-6),(2,-7),(-2,-,(-6,-5),(-7,-2),(0,0),2,8,(45,-65),0
*128,29,kpls-min
2,8,(5,5),1,8,(40,0),2,8,(-20,20),1,8,(0,40),2,8,(-20,-20),
1,8,(40,0),2,8,(25,-45),0
*129,69,kdiam
2,8,(35,20),1,9,(-8,1),(-7,3),(-6,5),(-5,6),(-3,7),(-1,,(1,,
(3,7),(5,6),(6,5),(7,3),(8,1),(8,-1),(7,-3),(6,-5),(5,-6),(3,-7),
(1,-,(-1,-,(-3,-7),(-5,-6),(-6,-5),(-7,-3),(-8,-1),(0,0),2,8,(-10,-15),
1,8,(20,90),2,8,(50,-95),0
*200,5,x200
2,8,(-20,0),0
*201,5,x201
2,8,(0,50),0
*202,5,x202
2,8,(0,-50),0

Link to comment
Share on other sites

There are a couple of things that crop up in SHP files. The identifier number can either be in decimal or hexadecimal, so 23 hex is the same as 35 decimal. I look at all the characters with an ASCII table handy, so I can see which one is being used. Sometimes Unicode numbers are used.

 

*35,49,kns

2,8,(54,83),1,9,(-7,7),(-8,4),(-9,1),(-9,-2),(-7,-5),(-6,-8 ),(-2,-9),

(1,-9),(4,-18 ),(1,-12),(0,-10),(-2,-10),(-4,-7),(50,0),(0,0),2,8,(-55,45),

1,8,(35,0),2,8,(50,-50),0

 

So the first line consists of *, then the ASCII identifier in either decimal or Hex, then the number of data bytes required to define the shape, and then the shape name. You have to try and see what this means. In this case, if you ignore the leading "k", you are left with "ns", which probably stands for "number sign".

 

But someone has got at your file, and this definition is actually for the Pound currency sign. If you change your file to show the definition for the # sign in my previous post, then you are away. BUT you have now not got a Pound currency sign, and this file would have to be redistributed.

Edited by eldon
trying to chase smilies out of the code
Link to comment
Share on other sites

The program I used to dump is called shx2shp, unfortunately it only works on a 32 bit version of windows.

 

I made the changes you suggested to the file but when I go to compile it, it says "Bad shape definition at line 320 of leroy.shp:

Invalid shape element, or bad syntax"

 

Which is peculiar because I never changed anything at that line... Any thoughts?

 

Silvercloak

Link to comment
Share on other sites

Have you got a CR/LF at the end of the last line?

 

When I tried to copy your file, the copy stopped immediately after the last 0, which might mean that it was not seeing 5 data bytes mentioned in the previous line. Try an Enter at the end of that line, so that the cursor goes to the next line down. If that doesn't work, then you will have to use the file mentioned by SLW210.

 

I managed to use the DUMPSHX shipped with Express Tools, but you have to do it from the DOS command prompt

Link to comment
Share on other sites

Have you got a CR/LF at the end of the last line?

 

When I tried to copy your file, the copy stopped immediately after the last 0, which might mean that it was not seeing 5 data bytes mentioned in the previous line. Try an Enter at the end of that line, so that the cursor goes to the next line down. If that doesn't work, then you will have to use the file mentioned by SLW210.

I managed to use the DUMPSHX shipped with Express Tools, but you have to do it from the DOS command prompt

 

That was it!!! It worked. I can't use SLW210's file because that version of leroy is NOT what the standard leroy is in my city.

 

The only thing now is - the # symbol is drastically smaller than the rest of the text. How odd, not sure how to fix THAT.

Link to comment
Share on other sites

You might have to redesign the shape.

 

If you look at the figures in the definition, when there is an 8 followed by two figures in brackets, those are X-Y displacements. The figures in the £ sign definition seem to be much larger than the figures belonging to the # sign definition.

 

Someone has to go through all the figures and figure out how to produce the shape of the size that you want. I am afraid that I can't do it, but if you do it, you will be the expert :D

Link to comment
Share on other sites

You might have to redesign the shape.

 

If you look at the figures in the definition, when there is an 8 followed by two figures in brackets, those are X-Y displacements. The figures in the £ sign definition seem to be much larger than the figures belonging to the # sign definition.

 

Someone has to go through all the figures and figure out how to produce the shape of the size that you want. I am afraid that I can't do it, but if you do it, you will be the expert :D

 

I might actually get desperate enough to do that. I'm thinking of trying to pillage simplex.shx # sign first though. Unfortunately the computer I'm using right now is 64 bit and neither dumpshex or shx2shp will work on it.. What a PITA.

 

Silvercloak

Link to comment
Share on other sites

Once you delve into these shape definitions, the first line of the font file definition sets the scale.

 

It has the following syntax

*0,4.font-name

above, below, modes,0

 

where above specifies the number of vector lengths above the baseline the the upper case letters extend, and below indicates how far the lower case letters descend below the baseline. The baseline is similar in concept to the lines on writing paper. These values define the basic character size and are used as scale factors for the height specified in the TEXT command

 

Here are the two characters in question, with the first line of each font file

 

 

 

Leroy # sign

 

*0,4,XUSCOE 5/87 rctoy

21,7,0,0

 

*00023,37,kns

2,8,(11,25),1,8,(-7,-32),2,8,(13,32),1,8,(-7,-32),2,8,(-6,19),1,

8,(14,0),2,8,(-15,-6),1,8,(14,0),2,8,(4,-6),0

 

 

Leroy £ sign

 

*0,4,nLEROY.SHP

100,25,0,0

 

*35,49,kns

2,8,(54,83),1,9,(-7,7),(-8,4),(-9,1),(-9,-2),(-7,-5),(-6,-8 ),(-2,-9),

(1,-9),(4,-18 ),(1,-12),(0,-10),(-2,-10),(-4,-7),(50,0),(0,0),2,8,(-55,45),

1,8,(35,0),2,8,(50,-50),0

 

You can see the scaling is different in each file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...