Problem with texts: font size vs vector size

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
dejudicibus
Posts: 44
Joined: Thu Mar 03, 2011 7:07 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Contact:

Problem with texts: font size vs vector size

Post by dejudicibus »

Let's suppose that I create a text by using a font, for example Arial, and a size, for example 12px.
Now, let us duplicate that text, that is, Ctrl-C, Ctrl-G
I have another text with the same characteristics
Now I resize the second text making it twice the original width and height
If I edit the first text, it looks like it is Arial 12. That's ok.
But if I edit the second text, I get the same result. So both of them are Arial 12, whereas I expected that the second would be Arial 24.
It makes no sense to keep the same pointsize after vector scaling, shouldn't it?
Which is the parameter that tells me what is different between the two texts?
Is there a way to set it by using a SCRIPT to avoid the problem?

I ask that because I have an image that was created by resizing it to double size, but all texts have still the same font & size.
If I duplicate that image by Ctrl-D, all texts get back to original size, that is, they get smaller.
Here is an example
Image
Dario de Judicibus
Site- Blog- Book
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: Problem with texts: font size vs vector size

Post by Jean-Luc »

Hi Dario,
I observed that DPI/PPI settings in a file/image (when created) give different font sizes when sized as Point and not Pixels:
X8 300 1000 dpi.jpg
In this screen capture, both images have exact same pixels size (but 300 and 1000 PPI) and the same text in 10 points.
Jean-Luc
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
DougP
Posts: 5
Joined: Tue Aug 09, 2016 6:15 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit

Re: Problem with texts: font size vs vector size

Post by DougP »

I had noticed this years ago.
Never saw it as a issue. It's been the same sins jasc PSP8.
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: Problem with texts: font size vs vector size

Post by Jean-Luc »

DougP wrote:I had noticed this years ago.
Never saw it as a issue. It's been the same sins jasc PSP8.
It is not an issue. It is a "feature".
Somme users could be surprised by the different font size displayed on screen although their point values are the same.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
JoeB
Posts: 2778
Joined: Fri Mar 28, 2008 10:04 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: LENOVO 4524PE4 ThinkCentre M91p
processor: 3.10 gigahertz Intel Quad Core i5-2400
ram: 8 GB
Hard_Drive_Capacity: 4.6 TB
Corel programs: PSP 9, X7 to 2019, 32 & 64-bit
Location: Canada

Re: Problem with texts: font size vs vector size

Post by JoeB »

The reason for the different sizes is because setting the text tool to pixels will produce text with certain pixel dimensions. This will result in the text looking exactly the same size on your computer screen if laid down on images of the same size in pixel dimensions but with different image print resolutions (PPI or Pixels Per Inch).

However, if you then drag the text vector layers of each of those images that have different PPI settings as separate images on the workspace and check the Image Information of each you will see that, while the Dimensions of each shows identical pixel size, the print size of the text that was laid down on the image with the higher PPI resolution is smaller than that of the text laid down on the image with lower resolution.

Point Size does not refer to pixels but to actual measurements of size (as in inches or fractions thereof). It comes from the old days of measuring the size of the lead letters used to set type in printing. 72 points is roughly equal to one inch ("roughly" because there are variables - see link below). If you again take two images of different PPI resolutions but set the text tool to points and then lay down text, the text on the computer screen will look larger on the image with the higher resolution and smaller on the image with the smaller PPI resolution.

BUT if you again drag those vector text images into the workspace as separate images and check the image information of each, you will see that the pixel size of both texts is different (and agrees with what you see on the monitor because you are looking at pixels) but the print size is roughly the same for each (there will be a slight variation). Basically the opposite of the the first example. That's because Points is setting down the size you want the text to print at, not the size you want it to look like in pixels in relation to the other pixels on the image.

Unfortunately, it seems to be a fact that people are even more confused about the difference between Pixels and Points than they are between PPI (pixels per inch) and DPI (dots per inch), both of the latter of which are also completely different concepts from each other but you wouldn't know it by the way people keep using both terms to refer to the same thing. Pixels Per Inch sets print size and resolution of the printed output. Dots per inch describes a printer's specs as to its ability to lay down the dots of ink it sprays out and is set in the printer (Draft, Normal/Standard,High, etc).

For those interested, I found a discussion about point size that might help, and it also explains why point size is only "roughly" 1/72 of an inch and the different variables that can be involved depending on chosen font, etc.

http://graphicdesign.stackexchange.com/ ... to-exactly
Regards,

JoeB
Using PSP 2019 64bit
dejudicibus
Posts: 44
Joined: Thu Mar 03, 2011 7:07 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Contact:

Re: Problem with texts: font size vs vector size

Post by dejudicibus »

OK, so how can I fix that situation? When I load the image I get what you see on the left side in my original post, but if I modify even a single text, all texts get smaller. I want to avoid that. Any way to do it and fix those images?
Dario de Judicibus
Site- Blog- Book
dejudicibus
Posts: 44
Joined: Thu Mar 03, 2011 7:07 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Contact:

Re: Problem with texts: font size vs vector size

Post by dejudicibus »

OK, here are the properties of the original image:
Image
and here those ones of the duplicated image (by Ctrl-D)
Image
They looks EXACTLY the same. Same Pixels per cm, same size.
So, how can I fix the ORIGINAL image so that text does not get smaller?
Even by a SCRIPT, of course.
For example, is it possible to write a script to select all texts, get thje current size in pixel or points, and change it accordingly to avoid that effect?
Dario de Judicibus
Site- Blog- Book
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUS Computer N751J
processor: Intel i7_4710 HQ 2_50GHz
ram: 16GB
Video Card: NVIDIA GeForce GTX 850M
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2 Tb
Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
Corel programs: PSP X7, X9, 2018 to 2023
Location: Belgium (French speaking)
Contact:

Re: Problem with texts: font size vs vector size

Post by Jean-Luc »

Hi Dario,
it is perhaps a PSP bug.
How do you do the copy ?

Try to group the text layers and drag them from Layers Palette inside the target image.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
dejudicibus
Posts: 44
Joined: Thu Mar 03, 2011 7:07 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Contact:

Re: Problem with texts: font size vs vector size

Post by dejudicibus »

Jean-Luc wrote:Hi Dario, it is perhaps a PSP bug. How do you do the copy ?
I simply use Shift-D.
Jean-Luc wrote:Try to group the text layers and drag them from Layers Palette inside the target image.
This is not the point. Duplicating the file is just one of the actions that trigger the change. The texts get smaller even if I modify the original image.
Any operation I do on the original image, trigger the change in font size of texts. Even if I duplicate a single text in the original file by Ctrl-G, Ctrl-V.

If it is a bug, is there a way to tell Corel to fix it?
Dario de Judicibus
Site- Blog- Book
dejudicibus
Posts: 44
Joined: Thu Mar 03, 2011 7:07 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
Contact:

Re: Problem with texts: font size vs vector size

Post by dejudicibus »

Jean-Luc wrote:
DougP wrote:I had noticed this years ago. Never saw it as a issue. It's been the same sins jasc PSP8.
It is not an issue. It is a "feature". Somme users could be surprised by the different font size displayed on screen although their point values are the same.
I think it is a bug, not a feature, and it is NOT related to the difference between pixels and points. Just do the following:

1. create a new document by File->New...
2. create a text (for example: Lato, 10pt)
3. duplicate text by Ctrl-C, Ctrl-G
4. resize the second text to half size

You will obtain something like this:
Image

Now, check the font size of each text: they are EXACTLY the same.
So, you may have many texts with same font size but... different size.
Size is not changed according to "vector size".
Dario de Judicibus
Site- Blog- Book
Post Reply