Calculation of default line spacing

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
User avatar
Ravelli
Posts: 39
Joined: Thu Jan 07, 2016 10:53 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: GigaByte GA-970A-UD3P Rev. 2.x
processor: AMD Phenom II X6 1090T
ram: 16 GB
Video Card: MSI GeForce GTX 1050 Ti GAMING X 4G
sound_card: ESI Maya44 eX
Hard_Drive_Capacity: 11 TB
Monitor/Display Make & Model: BenQ G2222HDL
Corel programs: PSP since 1993
Location: Altenbeken
Contact:

Calculation of default line spacing

Post by Ravelli »

Ahoy everybody,
does anyone happen to know how PSP calculates the default line spacing? Is it using winAscent, winDescent or something else? And is there a way to overwrite it, or even a fixed state?
Background of this is, I have two font files installed, old and new version of the same font face, Junicode and JuniusX. The new one seems to have a more modern technology. Both should show same line spacing, but PSP makes the line spacing of the new font higher. The developer of the font wrote me, that this would be an error on application side. And it seems he is right: I compared both fonts in some other applications, and they all do it correct. With the exception of PSP.
I'm still in PSP 2019, not convinced upgrading to 2021 yet. But will test the test version.
Friendly greetings,
Ravelli
migf1
Posts: 510
Joined: Fri Apr 03, 2020 3:09 pm
operating_system: Windows 8.1
System_Drive: C
32bit or 64bit: 64 Bit

Re: Calculation of default line spacing

Post by migf1 »

I have no idea what calculations PSP does under the hood, but you can try adjusting the line spacing manually, via the Leading setting:
https://gyazo.com/1f4a4880334390b203f6a74ca4e7cf6a
(you can use decimal values, and you can limit the effect to selected lines only).
Good Unofficial PaintShop Pro Tutorials: Creation CasselMake Shop ProHEC Image EditingLeviFiction PSP Basics
(plus my own Gimp & Stuff)
User avatar
Ravelli
Posts: 39
Joined: Thu Jan 07, 2016 10:53 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: GigaByte GA-970A-UD3P Rev. 2.x
processor: AMD Phenom II X6 1090T
ram: 16 GB
Video Card: MSI GeForce GTX 1050 Ti GAMING X 4G
sound_card: ESI Maya44 eX
Hard_Drive_Capacity: 11 TB
Monitor/Display Make & Model: BenQ G2222HDL
Corel programs: PSP since 1993
Location: Altenbeken
Contact:

Re: Calculation of default line spacing

Post by Ravelli »

Hello migf1,
and many thanks for your reply and the effort taking the screen capture.
Yes, this manual setting would be an alternative, but causing maybe a month of work to adjust all my current project files. It would also cause additional work each time I create a new work. I want PSP and the font working properly on default, without manual adjusting. So I try investigating the background of it.
Friendly greetings,
Ravelli
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: Calculation of default line spacing

Post by Jean-Luc »

Ravelli wrote:does anyone happen to know how PSP calculates the default line spacing? Is it using winAscent, winDescent or something else? And is there a way to overwrite it, or even a fixed state?
I think it is hardcoded and no way to change it.
Did you test with previous PSP versions?
I have PSP 8 (Jasc) and X7 (and followings). I have observed that In PSP 8, the way PSP manipulates fonts is different from the way Corel does it in the X versions. But 8 (Jasc) is an old program.
It would be interesting to submit the problem to Corel.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Post Reply