Jump to content
You must now use your email address to sign in [click for more info] ×

Relative Font Size in Text Styles


Recommended Posts

Please, allow entering relative values in "Font Size" like 80%, 140%, +2, -2...

This will make changing text sizes for different page sizes much easier.

To make this working there must be one style from where the others will take the absolute font size for calculation from.

One scenario for A4 paper size:

Body text -- font size 12 pt

Footnote -- font size 80% (or -2) and must be based on "Body Text"

Title -- font size 140% (or +6) and must be based on "Body Text"

So, if you have to change the paper size to A5, you just change the Body Text font size to 10 pt and other styles will follow.

All the latest releases of Designer, Photo and Publisher (retail and beta) on MacOS and Windows.
15” Dell Inspiron 7559 i7 Windows 10 x64 Pro Intel Core i7-6700HQ (3.50 GHz, 6M) 16 GB Dual Channel DDR3L 1600 MHz (8GBx2) NVIDIA GeForce GTX 960M 4 GB GDDR5 500 GB SSD + 1 TB HDD UHD (3840 x 2160) Truelife LED - Backlit Touch Display
32” LG 32UN650-W display 3840 x 2160 UHD, IPS, HDR10 Color Gamut: DCI-P3 95%, Color Calibrated 2 x HDMI, 1 x DisplayPort
13.3” MacBook Pro (2017) Ventura 13.6 Intel Core i7 (3.50 GHz Dual Core) 16 GB 2133 MHz LPDDR3 Intel Iris Plus Graphics 650 1536 MB 500 GB SSD Retina Display (3360 x 2100)

Link to comment
Share on other sites

10 minutes ago, A_B_C said:

Nice idea, Petar, particularly for adaptive layouts, once these can be exported. But then we must also have a way to adjust the other type-related parameters (leading, justification, …) using relative values. :)

I agree, but it would be too complicated for explanation in only one post. I'm trying to keep the posts as simple as possible. :)

All the latest releases of Designer, Photo and Publisher (retail and beta) on MacOS and Windows.
15” Dell Inspiron 7559 i7 Windows 10 x64 Pro Intel Core i7-6700HQ (3.50 GHz, 6M) 16 GB Dual Channel DDR3L 1600 MHz (8GBx2) NVIDIA GeForce GTX 960M 4 GB GDDR5 500 GB SSD + 1 TB HDD UHD (3840 x 2160) Truelife LED - Backlit Touch Display
32” LG 32UN650-W display 3840 x 2160 UHD, IPS, HDR10 Color Gamut: DCI-P3 95%, Color Calibrated 2 x HDMI, 1 x DisplayPort
13.3” MacBook Pro (2017) Ventura 13.6 Intel Core i7 (3.50 GHz Dual Core) 16 GB 2133 MHz LPDDR3 Intel Iris Plus Graphics 650 1536 MB 500 GB SSD Retina Display (3360 x 2100)

Link to comment
Share on other sites

3 hours ago, A_B_C said:

But then we must also have a way to adjust the other type-related parameters (leading, justification, …) using relative values. 

Unless you're overriding paragraph leading, it's already based on the font definitions and is related to the font size. I'm not completely sure what you mean about adjusting justification using relative values, but that's off-topic for this request, I think, and perhaps best left for a separate topic :)

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

3 hours ago, Petar Petrenko said:

To make this working there must be one style from where the others will take the absolute font size for calculation from.

There already is such a style: Base.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

7 hours ago, walt.farrell said:

There already is such a style: Base.

I know. I just explain my idea.

All the latest releases of Designer, Photo and Publisher (retail and beta) on MacOS and Windows.
15” Dell Inspiron 7559 i7 Windows 10 x64 Pro Intel Core i7-6700HQ (3.50 GHz, 6M) 16 GB Dual Channel DDR3L 1600 MHz (8GBx2) NVIDIA GeForce GTX 960M 4 GB GDDR5 500 GB SSD + 1 TB HDD UHD (3840 x 2160) Truelife LED - Backlit Touch Display
32” LG 32UN650-W display 3840 x 2160 UHD, IPS, HDR10 Color Gamut: DCI-P3 95%, Color Calibrated 2 x HDMI, 1 x DisplayPort
13.3” MacBook Pro (2017) Ventura 13.6 Intel Core i7 (3.50 GHz Dual Core) 16 GB 2133 MHz LPDDR3 Intel Iris Plus Graphics 650 1536 MB 500 GB SSD Retina Display (3360 x 2100)

Link to comment
Share on other sites

8 hours ago, walt.farrell said:

Unless you're overriding paragraph leading, it's already based on the font definitions and is related to the font size.

Of course, you are right, Walt. 9_9

Regarding the justification question, I had the following in mind. If we create a truly flexible or adaptive layout, it might be the case that the width of our text frames or text columns changes, depending on the size and the aspect ratio of the layout canvas. But then, in order to keep justified text looking fine, it would probably be necessary to adapt the justification settings, though I am not entirely sure if that could be done dynamically to a satisfying degree. :)

Link to comment
Share on other sites

I think this is an interesting idea. I would have to do some experiments with it if it were possible, but my first thought is that I would make very frequent use of it in my style definitions. I do think the idea is worth considering.

The developers would have to give some thought about how to handle cases where a style is defined with a relative size and no absolute size is defined in a parent style. Maybe something basic like 12 pt assumed if an absolute value is undefined.

Link to comment
Share on other sites

27 minutes ago, garrettm30 said:

I think this is an interesting idea. I would have to do some experiments with it if it were possible, but my first thought is that I would make very frequent use of it in my style definitions. I do think the idea is worth considering.

The developers would have to give some thought about how to handle cases where a style is defined with a relative size and no absolute size is defined in a parent style. Maybe something basic like 12 pt assumed if an absolute value is undefined.

Absolute value must be in the parent style and to be easily distinguished from relative values it must not have additional symbols.

All the latest releases of Designer, Photo and Publisher (retail and beta) on MacOS and Windows.
15” Dell Inspiron 7559 i7 Windows 10 x64 Pro Intel Core i7-6700HQ (3.50 GHz, 6M) 16 GB Dual Channel DDR3L 1600 MHz (8GBx2) NVIDIA GeForce GTX 960M 4 GB GDDR5 500 GB SSD + 1 TB HDD UHD (3840 x 2160) Truelife LED - Backlit Touch Display
32” LG 32UN650-W display 3840 x 2160 UHD, IPS, HDR10 Color Gamut: DCI-P3 95%, Color Calibrated 2 x HDMI, 1 x DisplayPort
13.3” MacBook Pro (2017) Ventura 13.6 Intel Core i7 (3.50 GHz Dual Core) 16 GB 2133 MHz LPDDR3 Intel Iris Plus Graphics 650 1536 MB 500 GB SSD Retina Display (3360 x 2100)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.