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

Affinity breaks lines before tabs instead of after


Recommended Posts

I'm not sure if this is by design or a bug but it feels like an oversight if not a bug. Affinity breaks lines before a tab instead of after like most apps.

Below is Publisher (left) and Microsoft Word (right) - Publisher wraps after [corrected] the tab between the TOC entry and page number while Word breaks before the tab which creates a correct dot leader.

Screenshot2024-04-17at10_13_34PM.png.2a35589562fabba016b92ff93c612665.pngScreenshot2024-04-17at10_22_38PM.png.f38527f33b94353815cb2dcd66c752c0.png

This came up in this thread:

 

Edited by MikeTO
corrections in red

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

1 hour ago, MikeTO said:

Below is Publisher (left) and Microsoft Word (right) - Publisher wraps before the tab between the TOC entry and page number while Word breaks after the tab which creates a correct dot leader.

This is probably a bug.

However, in general, it's considered bad typography to leave text so close to the numbers.

InDesign and Publisher have a way to define a standoff between the text and the numbers.

Publisher accomplishes this by setting the Right Indent and Last Line Outdent Paragraph Options.

A possible bug I discovered quite a some time ago is that if the line just fits in with the page number Publisher will try to leave it alone, irrespective of the stand off defined in the paragraph style.

I've included a small sample file and a short video demonstrating it.

TOC Length of Entries.afpub

 

 

2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4.

iPad Pro (10.5-inch) • 256GB • Version 16.4

Link to comment
Share on other sites

1 hour ago, Seneca said:

However, in general, it's considered bad typography to leave text so close to the numbers.

I agree, it doesn't look very nice whether the text or "Tab stop leader character" almost touches the page numbers.

Link to comment
Share on other sites

8 hours ago, Seneca said:

However, in general, it's considered bad typography to leave text so close to the numbers.

I agree, I was just demonstrating the issue with Affinity breaking before a tab instead of after which shouldn't happen.

I don't think I provided a tip in my manual on using last line outdent in a TOC so I'll add one. For those unsure what we mean, it's easier to see with really long and justified TOC headings. The left column below is how a TOC would look with Right Indent and Last Line Indent set to 0. But if you set Right Indent to where you want the TOC headings to end and Last Line Outdent to 0 then the page numbers will hang outside of the paragraph as shown in the right column.

Screenshot2024-04-18at8_38_40AM.png.f45a1f1ff89b3080c4186237b8a9529d.png

8 hours ago, Seneca said:

A possible bug I discovered quite a some time ago is that if the line just fits in with the page number Publisher will try to leave it alone, irrespective of the stand off defined in the paragraph style.

I'm not sure that it's a bug but I agree that it looks bad and there should be a way to do this. I found this interesting so I'm glad you raised it. The second heading in the right column below is another example, although even the first heading slightly exceeds the Right Indent setting. Publisher doesn't distinguish between the heading text, tab, and page number, it's all just paragraph text, and the screen recording below shows that it's working as advertised.

But there aren't very many uses for Last Line Outdent - it's mainly used for TOCs and things like price lists - and they usually end with a tab and then a number, so even if this is correct it's not what the user would want. I don't know how ID handles it, other than its Last Line Outdent equivalent (Last Line Right Indent) requires a negative value of the Right Indent value. Do you know what it does? I think FrameMaker handled it the same way that Publisher does now.

Perhaps one solution would be that if there's a tab in the last line, the text preceding the tab should not exceed the Right Indent value even if the rest of the paragraph would fit on the line. That would fix the issue for TOCs and menus without breaking the current behaviour for the handful of people who use Last Line Outdent for some other purpose without tabs and numbers at the end of the paragraph.

Screenshot2024-04-18at8_41_32AM.png.3e91c106ff72d84dcd5188f5e0340de5.png

 

 

 

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

Link to comment
Share on other sites

  • Staff
11 hours ago, MikeTO said:

I'm not sure if this is by design or a bug but it feels like an oversight if not a bug. Affinity breaks lines before a tab instead of after like most apps.

Below is Publisher (left) and Microsoft Word (right) - Publisher wraps before the tab between the TOC entry and page number while Word breaks after the tab which creates a correct dot leader.

Screenshot2024-04-17at10_13_34PM.png.2a35589562fabba016b92ff93c612665.pngScreenshot2024-04-17at10_22_38PM.png.f38527f33b94353815cb2dcd66c752c0.png

This came up in this thread:

I've logged this to be confirmed if by design or a bug.

Link to comment
Share on other sites

17 hours ago, MikeTO said:

Affinity breaks lines before a tab instead of after like most apps.

Below is Publisher (left) and Microsoft Word (right) - Publisher wraps before the tab between the TOC entry and page number while Word breaks after the tab which creates a correct dot leader.

Screenshot2024-04-17at10_13_34PM.png.2a35589562fabba016b92ff93c612665.pngScreenshot2024-04-17at10_22_38PM.png.f38527f33b94353815cb2dcd66c752c0.png

I don't want to be unpleasant, and perhaps is it me that doesn't understand well, but I would have said that Affinity Publisher breaks after the tab when other apps break before it. 

At least this is what I see when I reproduce it manually:

1) Tab + Line break: like Affinity

2) Line break + tab: with dot leader and page number well aligned on right side (what I would expect)

image.png.290f5f152c8d96747506447cef44a4a8.png

Affinity Suite 2.4 – Monterey 12.7.4 – MacBookPro 14" 2021 M1 Pro 16Go/1To

I apologise for any approximations in my English. It is not my mother tongue.

Link to comment
Share on other sites

10 minutes ago, Oufti said:

I don't want to be unpleasant, and perhaps is it me that doesn't understand well, but I would have said that Affinity Publisher breaks after the tab when other apps break before it. 

Thank you for the correction, I worded it backwards. Publisher breaks after the tab while other apps such as MS Word break before the tab. @Lee D Please note my mistake.

Download a free manual for Publisher 2.4 from this forum - expanded 300-page PDF

My system: Affinity 2.4.2 for macOS Sonoma 14.4.1, MacBook Pro 14" (M1 Pro)

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.