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

force wordbreak (split for visibility)


Recommended Posts

Hmmm, apologies on reviving this thread (link added by moderator) I am trying to break words in the middle so force them to be aligned with the text frame. 

 

When I choose the No Break option (bottom of Character panel as described above) it seems to move all my text on to the top in a single line. 

Screenshots attached. 

The effect I am trying to achieve is the third screenshot yellow album cover (which can also be found here) https://slack-wise.tumblr.com/post/744138651865382912/section-25-always-now

Any help greatly appreciated. 

serif-1.png

serif-2.png

section-25.jpg

Link to comment
Share on other sites

No Break and Justification cannot be used together - it will do exactly what you're seeing. You're asking Affinity not to break the text and keep it all on one line. Do not use No Break.

You want to tell Affinity to break between any pair of characters and not add a hyphen which is something word processors and page layout apps don't normally do. There is a way to do this but it takes a bit of work.

There are two ways to do this. First the hard way: add a Zero-Width Space (U+200B) between every character which will treat every character as its own word so Publisher will break anywhere. But adding that ZWS is tedious. I'm sure I could use grep find and replace to make this easy but that would require thinking harder, and I haven't had my second cup of tea.

The easy way is to change the Justification settings. First, replace all the spaces between words with a Third Space (Text > Insert > Spaces and Tabs > Third Space). You could also use a quarter space or an en (half) space if you want less or more space. You can insert one of these spaces, copy it to the clipboard, and then use Find and Replace to search for regular spaces. If you paste the clipboard into the Replace field then you can replace the regular spaces with third spaces. Then go to Paragraph > Justification and change the first row of options from 80/100/133 to 0/0/0.

Cheers

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

27 minutes ago, MikeTO said:

I'm sure I could use grep find and replace to make this easy but that would require thinking harder, and I haven't had my second cup of tea.

It should be something like:

  Find: (.)(.)
  Replace: $1<zws>$2 where <zws> is a Zero Width Space you've copied from somewhere and pasted into the Replace field

-- 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

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.