PT-BR hyphenation does not break the word "justifiquem" / "jus-ti-fi-quem".
Steps to Reproduce:
Tested on LibreOffice 6.4.6, 64 bits, and on LibreOffice Portable 220.127.116.11:
Version: 18.104.22.168 (x86)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: pt-BR (pt_BR); UI: en-US
1. Create a new document.
2. Change the Default Paragraph Style, Text Flow, to enable hyphenation. Change Font, Language, to Portuguese (Brazil).
3. Type the word "justifiquem" (without quotation marks) and, before it, any sequence of words until it is expected the hyphenator break it.
LibreOffice Writer breaks the line before the word "justifiquem" instead of breaking it on the following hyphen marks: jus-ti-fi-quem.
LibreOffice Writer should break the word "justifiquem" on any of the following hyphen marks: jus-ti-fi-quem.
User Profile Reset: No
The Brazilian Portuguese language is installed by default with LibreOffice Portable for a quick test without needing to install anything.
Created attachment 166679 [details]
Sample ODT showing the hyphenation error
Created attachment 166680 [details]
Sample PDF showing the hyphenation error
I think the error happens when is not used the simple SPACE U+0020, as when I tested with it the error didn't appear. I used the EM SPACE U+2003 after "justifiquem." Maybe the error will appear with other horizontal whitespace characters (https://en.wikipedia.org/wiki/Whitespace_character#Unicode).
Also the words "próxima" and "surpreendido" are not hyphenated correctly:
"atacá-lo" (word and suphix) should be hyphenated as "a-ta-cá-lo".
"como" should be "co-mo".
"desestruturá-lo" should be "de-ses-tru-tu-rá-lo".
"redação.[EM SPACE]" also is not hyphenated correctly (re-da-ção), but only because of the [EM SPACE] (Unicode U+2003) following the period.
João: just to be sure, you got no hyphenation pb when using plain space (U+0020)?
Indeed, could it be expected that hyphenation is disabled with em space?
Raimundo: noticing you're the author of pt-BR hyphenation according to README_hyph_pt_BR.txt, thought you might be interested in this one.
(In reply to Julien Nabet from comment #6)
> João: just to be sure, you got no hyphenation pb when using plain space
> Indeed, could it be expected that hyphenation is disabled with em space?
> Raimundo: noticing you're the author of pt-BR hyphenation according to
> README_hyph_pt_BR.txt, thought you might be interested in this one.
Sorry for the late reply, Julien, I've got no hyphenation in PT-BR when using plain space, but no hyphenation when using other white space as the EM SPACE U+2003.
[Automated Action] NeedInfo-To-Unconfirmed