[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-06-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

⁨خالد حسني⁩  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 Status|UNCONFIRMED |RESOLVED
 CC||kha...@libreoffice.org

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #7 from Mike Kaganski  ---
(In reply to Ron from comment #6)
> When you turn off auto hyphenation, it still auto-hyphenates dictionary
> words containing hyphens.

No. Auto-hyphenation is a process of *inserting* hyphens where they weren't
normally shown, and *then* using this as a break opportunity. Pre-existing
hyphens are not *inserted* so no, these words are *not* "auto-hyphenated"; and
these existing hyphens in compounds are treated as normal breaking
opportunities (just like spaces, which are also sometimes part of "dictionary
words"). This is called orthography.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #6 from Ron  ---
When you turn off auto hyphenation, it still auto-hyphenates dictionary words
containing hyphens.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #5 from خالد حسني  ---
I’m inclined to close this as NOTABUG, like Mike explained, the requested
behavior is nonstandard and deviates from the established norms of Unicode and
digital typography in general.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

TBeholder  changed:

   What|Removed |Added

 CC||turbobehol...@mail.ru

--- Comment #4 from TBeholder  ---
Unicode 0x2011 NON-BREAKING HYPHEN (“‑”) is what the example requires, yes.
A better way to use different hyphen symbols (and minus) than “ASCII 0x2D and
guessing” would definitely be useful, however.
Perhaps for documents saved in a format that supports Unicode any explicitly
entered hyphen should be interpreted as non-breaking. When using an engine that
supports automatic hyphenation, that should be something distinct and easy to
remove (maybe 0x00AD SOFT HYPHEN).
The simplest solution is to use  for minus and upper row  for
(non-breaking) hyphen. The only problem is that some keyboards (laptops and
screen) don’t have numpads.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #3 from Mike Kaganski  ---
(In reply to Ron from comment #2)

Hyphenation - as splitting words by syllables to fill lines when justifying the
text on both boundaries - is orthogonal to the HYPHEN-MINUS (and HYPHEN), as
discussed in the document. These are used in places where the glyph shall be
shown irrespective to the line breaks, as in your "editor-in-chief", so where
these are discussed in the document, those sections apply to the issue
discussed here.

SHY ("soft hyphen") is similar to the auto-hyphenation, but that is not what
you are discussing here.

Also, there is an explicit NO-BREAK HYPHEN, created explicitly to express
author's intention to *suppress* the line breaking opportunity.

So - again: there is an existing rule set defined in the document I mentioned;
there are existing means and established rules how to avoid breaks; and there
are *also* hyphenation rules, implemented separately. Up to now, you didn't
provide any reference to a rule set that would justify a change.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #2 from Ron  ---
Note that there is an automatic hyphenation switch. It makes perfect sense to
break a dictionary word when this feature, automatic hyphenation, is on. And to
treat a dictionary word with a hyphen as a word when it is off. 

This opportunistic line break when automatic hyphenation is off for dictionary
words with hyphens is inconsistent.

And it leaves the stub of the hyphen. From this artifact it is clearly known
what the correct behavior should be. There is no valid appeal to documentation
on this point.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 155310] hyphenation line break function needs to be deprecated

2023-05-15 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=155310

--- Comment #1 from Mike Kaganski  ---
Line breaking is discussed in detail in the Unicode's Annex #14 [1]; and the
HYPHEN-MINUS is explicitly treated as a line breaking opportunity, except in
numeric context.

It is completely unclear why should this standardized behavior be changed; is
there some set of rules requiring this change?

[1] https://www.unicode.org/reports/tr14/

-- 
You are receiving this mail because:
You are the assignee for the bug.