It is currently Sun Jun 14, 2026 5:01 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Sun Oct 16, 2016 2:10 pm  (#1) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16026
I thought there was already a filter for this but i couldn't find one.

When creating Custom Font XCF font files i find it easier to align each letter correctly by re setting boundary to the CENTER and HEIGHT to the cropped layer height. This forces each character to stay within those width bounds. Otherwise if you only crop the layer it forms a box around the character and allows it to jump up or slide down. That's the best way i can explain it. I would like the new script to allow me to do 4 things.

Currently the Layer>Layer Boundaries Size plug-in only allows you to do 1 layer at a time. This is very tedious.

1) Select CENTER for each layer boundary
2) Allow for height / width adjustment for the boundary
3) Do all layers at once.

4) If i could add the option to autocrop all layers first that would be useful also. But not necessary.

Thank you.

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Sun Oct 16, 2016 5:04 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
would it be simpler if you put characters like how you'd place them according guides... use a guide as a baseline...so a will sit on the baseline and y will have the bottom of of the y going lower than the base line but once all characters are in place.
You make a selection box.
Then run a script and it auto crop all layers so the width is variable for each character but then it resizes the layers height to match the selection box....
would this be simpler?

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Sun Oct 16, 2016 7:24 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16026
trandoductin wrote:
would it be simpler if you put characters like how you'd place them according guides... use a guide as a baseline...so a will sit on the baseline and y will have the bottom of of the y going lower than the base line but once all characters are in place.
You make a selection box.
Then run a script and it auto crop all layers so the width is variable for each character but then it resizes the layers height to match the selection box....
would this be simpler?

Yes. That would work too I think.

_________________
Image


Top
 Post subject: Re: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Sun Oct 16, 2016 9:46 pm  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
Rod,
please try this and let me know if it helps -> Layers Auto Crop Resize To Selection Height Script
After it's done I think the " .png" (space) character will be autocropped to nothing so just duplicate a layer like the letter a or seomthing delete its content and rename it to " .png"

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Last edited by trandoductin on Wed Nov 28, 2018 12:54 pm, edited 1 time in total.

Top
 Post subject: Re: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Mon Oct 17, 2016 5:35 am  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16026
:wh :yr :2thup

It works superbly sir!!!


Image

_________________
Image


Top
 Post subject: Re: All Layer Boundaries to cropped layer HEIGHT request
PostPosted: Mon Oct 17, 2016 6:26 am  (#6) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16026
But now i have to fix them all. :lol Another mission?

_________________
Image


Top
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group