PhotoshopForums.com Home
Navigate Contact FAQ Search Members
Dynamic Font Size to fit within Box
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation
 See a User Guidelines violation? Please contact us.
Author Message

katakulli

Joined: 27 Dec 2014
Posts: 1



PostPosted: Sat Dec 27, 2014 4:54 am    Post subject: Dynamic Font Size to fit within Box Reply with quote

Hello,

I hope someone is reading this and has an answer to my problem.

What i want to do:
I have over 300 names (with surnames) listed as a textfile. And i have one image. What i want to do is pasting the text (e.g. name1surname1) on a specific area (which does not change) of the image, and saving the image as jpeg (filename = name1surname1.jpg). Then name2surname2 > saving as name2surname2.jpg, ....
The image is always the same, but the text i have to change (and save-as-jpeg) over 300 times.

As an example:
http://fs2.directupload.net/images/141227/c4o4nifb.jpg

What my problem is:
I don't have the time to change all 300 names one by one and saving them one by one.
> Using Actions does not solve my problem ofcourse because it is different everytime
> Using Variables (set to the textlayer) and importing datasets COULD solve my problem but:
>> Sometimes one 'name' is longer than the previous one, so it does not fit inside the box:
http://fs1.directupload.net/images/141227/khv5ija4.jpg

so i have to change the font size to make it fit again)
http://fs1.directupload.net/images/141227/x5jksrgh.jpg

What could solve my problem:
A way, which automates all the replacing of the textlayer with the names AND (probably more important) automatically changing the fontsize in case it is too big to fit within the textbox.

I hope there is a way to this. Waiting hopefully for answers thanks in advance!
View user's profile Send private message

Beekeeper

Joined: 28 Nov 2014
Posts: 37

PS Version: Photoshop CS4, CS5, CS6
OS: Windows 7

PostPosted: Wed Dec 31, 2014 12:03 am    Post subject: Re: Dynamic Font Size to fit within Box Reply with quote

katakulli wrote:
Hello,

I hope someone is reading this and has an answer to my problem.

What i want to do:
I have over 300 names (with surnames) listed as a textfile. And i have one image. What i want to do is pasting the text (e.g. name1surname1) on a specific area (which does not change) of the image, and saving the image as jpeg (filename = name1surname1.jpg). Then name2surname2 > saving as name2surname2.jpg, ....
The image is always the same, but the text i have to change (and save-as-jpeg) over 300 times.

As an example:
http://fs2.directupload.net/images/141227/c4o4nifb.jpg

What my problem is:
I don't have the time to change all 300 names one by one and saving them one by one.
> Using Actions does not solve my problem ofcourse because it is different everytime
> Using Variables (set to the textlayer) and importing datasets COULD solve my problem but:
>> Sometimes one 'name' is longer than the previous one, so it does not fit inside the box:
http://fs1.directupload.net/images/141227/khv5ija4.jpg

so i have to change the font size to make it fit again)
http://fs1.directupload.net/images/141227/x5jksrgh.jpg

What could solve my problem:
A way, which automates all the replacing of the textlayer with the names AND (probably more important) automatically changing the fontsize in case it is too big to fit within the textbox.

I hope there is a way to this. Waiting hopefully for answers thanks in advance!


You could take the longest name and set the the font size to fit within the space and use the data-set.

_________________
Beekeeper
(www.beekeepersblog.com)
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PhotoshopForums.com Forum Index -> Actions and Automation All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Contact - User Guidelines >

Copyright © 2003-2016. PhotoshopForums.com, iFroggy Network. All Rights Reserved.
Powered by phpBB © phpBB Group. phpBB SEO. Privacy Policy.
We are in no way affiliated with Adobe. Photoshop, Adobe and related marks are registered trademarks of Adobe.
PhotoshopForums.com