Words get broken when hyphenation is off with no hyphens
Illustrator (since a long ago) has a habit of breaking words in area type texts when it should not. Take a look at the test file and watch the attached GIF.
As you can see, the second word is a long one, and Ai for some reason breaks it — although Hyphenate is off (and the language is properly chosen).
No hyphen also is displayed at the end of the line, the word is just split.
If we toggle the Composer from Single-Line to Every-Line, Ai at first correct the tracking and fits the word... but once the container is resized, it gets broken again... and sometimes, when nothing else is done, it gets recalculated again! ...but sometimes not, and it’s even worse, because non-reliable.
InDesign does it properly, whatever composer is chosen, whatever language.
No hyphenation should mean NO hyphenation. Words should break like this only when a container width is smaller than the word — and you can see it’s not the case here.
Works the same on Mac and Windows.
It turns out the file in the original report has a singular Latin 'o' mixed into the Cyrillic text, and this makes it break without a hyphen.
The font team notifies that Unicode standart prescribes to not break between two scripts that use spaces as word breaks, so this problem can fixed sometimes later, when the team revises their reflow strategy.
As for now, be notified it’s a very narrow case, and is a good sign that your text has homoglyphs in it.
-
Luca Ventura commented
here's the script!
-
Luca, can you share the script here, please?
But rename it to .txt, so that UserVoice won't block it. -
Yep, same happens for me with this file as well
-
Luca Ventura commented
Here a sample file: it seems this issue affects expecially cyrillic, but only in certain fonts.
Indesign handles it correctly.
To avoid this, I've made a script that assign the "no break" attribute to every word in a selected paragraph.New idea from comment
This comment was upgraded into a new idea: Illustrator breaks lines of Latin area type text without hyphens at arbitrary positions -
Luca, can you share test files the team can look upon?
-
Luca Ventura commented
It is truly a disaster. Working with packaging in different languages, I experience this problem very often. I am forced to format the text in indesign, convert it to paths and paste it into Illustrator...