Halo text on ttf lisp

Halo text on ttf lisp

simon.connellRBKGZ
Contributor Contributor
6,970 Views
45 Replies
Message 1 of 46

Halo text on ttf lisp

simon.connellRBKGZ
Contributor
Contributor

I would like to make a lsp routine to make halo text for a ttf font. There are numerous posts about how it cant be done but I have worked out a way to make it work.

 

I have figured out how to do it manually but want to automate the process so others at work can do it also.

 

If some could whip up a lsp for me that would be amazing otherwise give me some direction as i have no idea how to start.

 

The list of events that needs to happen is:

 

select a mtext word in model space

copytolayer

G-HALO_TEXT

then select that copied mtext

TXPEXP

then select that exploded  mtext

REGION

then select that  mtext

UNION

then select that  mtext

EXPLODE

then select those shapes

EXPLODE

then select those lines

JOIN

then select those Polylines

give them a global width of 1 and send them behind the original text layer.

 

I think with time I might be able to work out a script that could do it to a whole layer but I want to be able to select the mtext to start.

 

 

And that should do it.

 

I am happy to take pointer and learn what I can but it's a fair bit to start with, all help greatly appreciated.

 

Cheerrs

 

Simon

 

0 Likes
Accepted solutions (2)
6,971 Views
45 Replies
Replies (45)
Message 41 of 46

jmartt
Collaborator
Collaborator

Looks fine to me. I'm using Simplex.shx.

0 Likes
Message 42 of 46

roland.r71
Collaborator
Collaborator

Ok.

Got it working for both (TTF & SHX) now. Was a bit easier as expected.

Turns out a few of the steps used for TTF fonts should be skipped for SHX fonts.

 

Meanwhile I'm almost done making it work with a selection of multiple texts. (@simon.connellRBKGZ)

 

Should be done in a day or two.

0 Likes
Message 43 of 46

roland.r71
Collaborator
Collaborator
Accepted solution

Ok guys,

Here's the all new version 2.0 Smiley Wink

 

When having multiple text objects selected when run, it will process them all.

Having nothing selected still allows to select and halo a single text object.

In both cases you have the option to adjust color or width settings.

 

It's compatible with both TTF & SHX fonts.

 

Note: you should however not mess around with mtext font formatting, mixing both TTF & SHX.

 

Have fun! Smiley Wink

Message 44 of 46

simon.connellRBKGZ
Contributor
Contributor

That is fantastic!

Thank you so much for your help on this. Strange that it is not a feature that is inbuilt into their products.

0 Likes
Message 45 of 46

jmartt
Collaborator
Collaborator

Indeed. Bravo!

0 Likes
Message 46 of 46

roland.r71
Collaborator
Collaborator

@simon.connellRBKGZ wrote:

That is fantastic!

Thank you so much for your help on this. Strange that it is not a feature that is inbuilt into their products.



@jmartt wrote:

Indeed. Bravo!


Thanks guys. Happy to help.
& They are always welcome to add it to the next release Smiley Wink

0 Likes