This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > PainShop Pro Scripting > March 2007 > Re: PSPX Scripting Text... Aaargh!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: PSPX Scripting Text... Aaargh!
~*Tracy M*~

2007-03-10, 6:18 pm

I know this is a REALLY old post, but I have had the similar problems with
the text tool in PSPX and in my case, it has nothing to do with whether I am
using a script or not. I could be working on a project with a few layers and
when I get to adding the text, it shrinks down to far smaller than it SHOULD
be. I could open up a blank canvas and do the text there and copy and paste
it across, but honestly, I shouldn't have to do that.

It's not even a consistant bug. It does it when it feels like it. I can't
pin it down to how many layers I have in the project, or if I use floating
or vector text, duplicating the image and working on the copy or even if
it's the remember the text button. I've tried so many combinations to try
and get it to work right and nothing gives.

And FYI, it's been doing it from day one with or without updates.
Uninstalled, re-installed, patched/updated. No effect. *sigh*

Tracy

"Howard Dickson" <howard@REMOVEsheilsoft.com> wrote in message
news:447632f2$1_1@cnews...
> Folks,
>
> I must admit, since the release of PSPX, I've still been using PSP9 for
> all my personal graphic work and scripts development, with minor tweaks to
> released scripts for the PSPX version.
>
> Recently a few folk have been reporting strange behaviour in scripts that
> have a text element in them, usually manifesting itself as oversized text.
>
> I tried some of my scripts with PSPX and mostly they worked OK... however
> I have seen them acting strangely, with for no apparent reason, the text
> displayed at a larger size. I know with PSPX they started using Point size
> which means that a text pointsize value will be different in size on any
> given image, depending on that image's resolution.
>
>
> There is however a fairly major bug with recording text in a script (I
> think) which I would like you to try for yourself.
>
> Open a new blank image (white background, say 500 x 500 pixels 200
> pixels/Inch resolution).
>
> Select the Text tool and choose Arial font, 72 size and 'Pixels' units.
>
> Click on the image and enter some text, say 'TEST'.
> Fair enough... it displays at the size you would expect.
>
> If you toggle the Text 'Units' on the menubar to 'Points', you'll see that
> 72 Pixels relates to 26 Points.
>
> Now put it back to 72 Pixels and we'll record a script...
>
> Click the Record button
> Using the Text tool click on your image so you insert the TEST text again
> (at 72 size and Pixels units).
> Save the script as 'Test' script.
>
> Now bring the Test script up in the Scripts dropdown menu and click on the
> 'Edit Selected Script' so you can look at what you've just recorded.
>
> In the Text section of the script you'll see that the 'PointSize' value
> has been recorded as 26. ie it has been recorded as the POINTS equivalent
> of 72 Pixels.
>
> Fair enough, when we run the script, it's going to insert the text using
> Points units, and this Pointsize value... WRONG!!!
>
> When you run the script, it writes the text using the 26 as a 'Pixels'
> size value, so the text appears smaller!!!
>
> So let me get this right... when you record text that you've sized in
> pixels, it records it in the smaller equivalent Points value, but runs the
> script with the smaller value as Pixels... COOL! Who thought of that
> little beauty?
>
> Could you please check this for me, to make sure I'm not imagining things.
>
> No wonder some of my scripts are acting strangely. Just as well I haven't
> been developing scripts with PSPX, I'd be at the funny farm by now.
>
> If this is confirmed as a genuine bug, I'll let the Cawrell boys know.
>
> Rgds,
> Howard
>
>
> --
>
> ---oooOOOooo---
>
> Sheilsoft
> ComputerSystems
>
> www.sheilsoft.com
>
> ---oooOOOooo---


Fred Hiltz

2007-03-10, 6:18 pm

~*Tracy M*~ wrote:
> I know this is a REALLY old post, but I have had the similar
> problems with the text tool in PSPX and in my case, it has
> nothing to do with whether I am using a script or not. I could
> be working on a project with a few layers and when I get to
> adding the text, it shrinks down to far smaller than it SHOULD
> be. I could open up a blank canvas and do the text there and
> copy and paste it across, but honestly, I shouldn't have to do
> that.
>
> It's not even a consistant bug. It does it when it feels like
> it. I can't pin it down to how many layers I have in the
> project, or if I use floating or vector text, duplicating the
> image and working on the copy or even if it's the remember the
> text button. I've tried so many combinations to try and get it
> to work right and nothing gives.


Hi Tracy. If you have not checked this one already, it is worth a
look. Corel introduced pixels and points in version 10, relating
them through the resolution in pixels per inch. They did not bake
that cake fully before selling it--hence the scripting troubles
earlier in this thread--but even without scripting you might trip
up. If you have been sizing your text in points and change the
image's PPI, then text entered after the change will have a
different size even though you change nothing in the Text tool's
settings. Could that have happened?
--
Fred Hiltz, fhiltz at yahoo dot com

~*Tracy M*~

2007-03-10, 6:18 pm

Hi Fred,

My text changes without me doing anything like that. My resolution is the
default 200ppi and has been the whole time (I don't mess with that setting
at all). I read somewhere in this thread about changing it just before
adding the text to 72ppi and that would correct it. Is this correct or did I
read that wrong?

Sometimes it does it and sometimes it doesn't. It's like it has a bad hair
day.

I thought maybe something triggered it off, but I have yet to pinpoint what
it is exactly.

I installed XI as X wasn't playing nice with Vista at all (even with updated
nvidia drivers and the like). I made a sigtag the other night with it, and I
had to make the text on a blank canvas and copy and paste it across.

Tracy

"Fred Hiltz" <not@home.ca> wrote in message news:45f1d907$1_2@cnews...
> ~*Tracy M*~ wrote:
>
> Hi Tracy. If you have not checked this one already, it is worth a
> look. Corel introduced pixels and points in version 10, relating
> them through the resolution in pixels per inch. They did not bake
> that cake fully before selling it--hence the scripting troubles
> earlier in this thread--but even without scripting you might trip
> up. If you have been sizing your text in points and change the
> image's PPI, then text entered after the change will have a
> different size even though you change nothing in the Text tool's
> settings. Could that have happened?
> --
> Fred Hiltz, fhiltz at yahoo dot com
>


Fred Hiltz

2007-03-10, 10:17 pm

~*Tracy M*~ wrote:
> Hi Fred,
>
> My text changes without me doing anything like that. My
> resolution is the default 200ppi and has been the whole time
> (I don't mess with that setting at all). I read somewhere in
> this thread about changing it just before adding the text to
> 72ppi and that would correct it. Is this correct or did I read
> that wrong?


Could be. There are 72 points in one inch, so at 72 pixels per inch,
the pixel and point numbers are the same and we dodge the apparent
bu gs in the conversion between them. Trouble there would cause a
consistent problem, though. I do not recall any other reports of
haphazard size changes like yours. If you ever find a decent test
case, please let us know. I'd be happy to try it and see whether the
problem is in PSP or in your own setup.
--
Fred Hiltz, fhiltz at yahoo dot com

~*Tracy M*~

2007-03-11, 7:21 pm

Well the next time it wigs out on me, I will try and change the resolution
and see if it helps any. It may just be something I have to live with and
open a blank canvas to copy and paste it across. Thanks for your input
anyway. This is the closest I have come to finding an answer for my problem!

Tracy

"Fred Hiltz" <not@home.ca> wrote in message news:45f1fbc4_1@cnews...
> ~*Tracy M*~ wrote:
>
> Could be. There are 72 points in one inch, so at 72 pixels per inch,
> the pixel and point numbers are the same and we dodge the apparent
> bu gs in the conversion between them. Trouble there would cause a
> consistent problem, though. I do not recall any other reports of
> haphazard size changes like yours. If you ever find a decent test
> case, please let us know. I'd be happy to try it and see whether the
> problem is in PSP or in your own setup.
> --
> Fred Hiltz, fhiltz at yahoo dot com
>


Holocaust

2007-03-15, 1:23 am

Catherine Zeta Jone Throatjob!
http://Catherine-Zeta-Jone-Throatjo...hp?movie=239202
Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews