Alignment of Text on a Curve

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
JustKia
Posts: 3
Joined: Wed Aug 25, 2010 8:55 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: ASUSTeK Computer INC P5KPL-AM IN GB X.0x
processor: 3.60 gigahertz Intel Pentium 4
ram: 4GB
Video Card: ATI Radeon HD 4300 Series
sound_card: High Definition Audio Device 2x
Hard_Drive_Capacity: 1TB
Location: Warwickshire, UK

Alignment of Text on a Curve

Post by JustKia »

I have searched the forums but seem to only get "how to" with text on a curve.

What I have is a vector circle that is aligned centrally on the canvas.
Another vector layer containing text is then dropped on to the canvas (so it is also centrally aligned).
Then Shift:Click on each of the vector layers go to Objects->Fit Text to Path.
For some reason the text does not align with either the top of bottom but rather to an approximately "South-South-West" position on the circle.
Without having to use the text tool to click directly on the circle (as I am recording this as a script within PSP X3) is there a way to get the text to align to the circle either top or bottom? From that point I can easily adjust the circle (reverse contour, rotate or whatever depending on where the text aligns).
What criteria define where the text will align to the circle?
If I know what the criteria is I can adjust the text before it is dropped on to the canvas.

I am using PSP X3 on Win7 (32bit)
Nature of the problem - alignment of text to a vector object when using Obejcts->Fit Text to Path
Properties of your source files (format, file size, where did you get it?) - Newly created .psp file
What devices are involved and their mode of connection? - Not sure what this question is asking, sorry
Project Properties - again not sure of what this question is asking.
Output format - will be a .jpg or .png but as this is before that part it shouldn't really matter.
Error Codes (if any) - no error codes just unexpected behaviour.
marty2010
Posts: 136
Joined: Sat Feb 13, 2010 2:33 am
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Gigabyte Z68A-D3H-B3
processor: Intel Core i7 2600k
ram: 16GB
Video Card: NVIDIA GeForce GTX 550 Ti 1GB 8.17.12.8026
sound_card: Realtek
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: Viewsonic , VX2250WM-LED, 2 each
Location: Flat Rock, Michigan

Re: Alignment of Text on a Curve

Post by marty2010 »

Levi mentioned this solution in one of his post/reply in this forum. I searched on "curve" to find it.

http://www.michelespaintshop.com/psp-text-on-curve.php
Best Regards,
Vaughan Martell
JustKia
Posts: 3
Joined: Wed Aug 25, 2010 8:55 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: ASUSTeK Computer INC P5KPL-AM IN GB X.0x
processor: 3.60 gigahertz Intel Pentium 4
ram: 4GB
Video Card: ATI Radeon HD 4300 Series
sound_card: High Definition Audio Device 2x
Hard_Drive_Capacity: 1TB
Location: Warwickshire, UK

Re: Alignment of Text on a Curve

Post by JustKia »

Hi Marty,
Thanks for the reply. I found that post but it doesn't answer my question unfortunately.
I know how to put text on a curve by clicking on the curve. I know how to adjust the curve by reversing the contour to move the text from top to bottom/inside to outside.

Because I'm recording a script within psp I am not able to click on the curve because I'm not actually typing the text as it is different each time. I've tried to illustrate this.
Img1. The vector text is dropped on to the canvas - meaning it is centrally aligned to the canvas by default.
Img2+3. Both vector objects are selected (Shift:Click).
Img4. Click on Objects on the Toolbar, then on Fit Text to Path.
Img5. When both objects are centrally aligned I would expect the text to either align to the very top or very bottom of the curve (in this case a circle), but it does not it aligns to approximately "South-South-West". Simply rotating the text by X degrees around the canvas centre does not work because the alignment seems to vary depending on the length of the text.

In this particular instance I'm not concerned whether it is inside/outside, top/bottom because I can change that easily. I'm curious as to why, when both objects are centrally aligned, does psp then fit them together in an off-centre fashion, and as to what the criteria is for psp to decide where it should fit them together.
Attachments
VectorAlign.jpg
VectorAlign.jpg (99.35 KiB) Viewed 1009 times
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: Alignment of Text on a Curve

Post by LeviFiction »

Well, here's what I can tell you.

First there's centered on the canvas, and there's center alignment. Text uses Left, Center, and Right alignment by comparison to where you click on the canvas when setting the text.

So, for example, if I click on position 100,100 on my image and set the alignment to Left for the text. The text will start at point 100,100 on the canvas.

If I center align the text it will place the center point of the text at point 100,100 on the canvas.

And if i right align the text it will place the end point of the text at point 100,100 on the canvas. This is really nice for determining positioning on the canvas when writing the text.

When you connect text to a path, that starting point, for whatever reason, becomes half way between two nodes. How these nodes are determined I can't say as they always appeared to be the exact same two nodes. However, the text alignment was the only difference I found between the lengths of text and the position of the text on the path. The nodes might be the first and second nodes in the path, but I can't verify this at all.

So, sadly, with all of the testing I've done I have no real answers for you.

The only options I can give you are fit the text to path and drag the text into position yourself or don't use a script because centering them both makes absolutely no difference in how the text is placed on the path. So manually clicking on the path gives you slight bit more control.

In fact if you set your text alignment to Center aligned and click on the exact center of the top of the path it will center itself on that point in accordance to what I told you above. Might be a lot simpler on you.
https://levifiction.wordpress.com/
JustKia
Posts: 3
Joined: Wed Aug 25, 2010 8:55 pm
operating_system: Windows 7 Home Premium
System_Drive: C
32bit or 64bit: 32 Bit
motherboard: ASUSTeK Computer INC P5KPL-AM IN GB X.0x
processor: 3.60 gigahertz Intel Pentium 4
ram: 4GB
Video Card: ATI Radeon HD 4300 Series
sound_card: High Definition Audio Device 2x
Hard_Drive_Capacity: 1TB
Location: Warwickshire, UK

Re: Alignment of Text on a Curve

Post by JustKia »

Thank you for that, it does answer some questions.

My text was center aligned (not right or left) and centered on the canvas (as default by dropping it as new vector layer onto an existing canvas). Interesting idea that it may be halfway between the the first two nodes of the path that it connects between - I will play with that a bit more as it could well come in useful. I agree that clicking on the path is much simpler but not something I want to sit and do 150+ times ;) hence the script.
Post Reply