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

Words merged with nbsp - hyphenation bug?


Recommended Posts

Dear developers,

I have a problem with hyphenation. I set Minimum prefix and Minimum suffix to 3, and minimum length is 6. When before word is there non-breaking space, then APUB calculated with this, and hyphenation is wrong.

I attached sample screenshot from my project.

hyphens-nbsp.jpg

Link to comment
Share on other sites

Yes, this is my problem. If have a non-breaking space, two words will be one, and hyphenation no exclude these versions, but nbsp; is not a lock, just a space, what cannot hyphenate. (Two words is be treated, but hyphenation need start from second word only)

Link to comment
Share on other sites

The nbsp is a kind of lock, though, because it says the two words must be kept together. Or, at least, the last letter of the first word and the first letter of the second word must be kept together.

If it doesn't act that way, then your text "A fekete" would have to move down to the next line as a unit, and you would have wider justification gaps between the other words on that line.

I'm not sure that would be desirable, either.

-- Walt

Desktop:  Windows 11 Pro, version 22H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 
Laptop:  Windows 11 Pro, version 22H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
        Affinity Photo 1.10.6 (.1665) and 2.2.0 and 2.2.0. beta/ Affinity Designer 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta / Affinity Publisher 1.10.6 (.1665)  and 2.2.0  and 2.2.0 beta
iPad Pro M1, 12.9", iPadOS 16.6.1, Apple Pencil 2, Magic Keyboard

      Affinity Photo 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Designer 1.10.7 and 2.2.0 and 2.2.0 beta/ Affinity Publisher 2.2.0 and 2.2.0 beta

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.