mykee Posted July 29, 2019 Posted July 29, 2019 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. Quote
Staff Pauls Posted July 29, 2019 Staff Posted July 29, 2019 It looks like the non-breaking space is causing the two words to be treated as one for the minimum word length. mykee 1 Quote
mykee Posted July 29, 2019 Author Posted July 29, 2019 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) Quote
walt.farrell Posted July 29, 2019 Posted July 29, 2019 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. mykee 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.2.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Staff Pauls Posted July 29, 2019 Staff Posted July 29, 2019 I've logged an issue it may be by design but it's certainly different to what some other applications do walt.farrell and mykee 1 1 Quote
Recommended Posts
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.