To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100273





------- Additional comments from [email protected] Sun Apr  5 13:49:10 
+0000 2009 -------
> So is there actually a reproducible problem with the hnj_hyphenate3 related 
> call ?

OOo 3.1 beta has already used hnj_hyphenate3 call under automatic hyphenation
(btw. it was also able to fix some enormous hyphenation problems related with
apostrophes using the improved algorithm and English hyphenation patterns).

The problem of the manual hyphenation is relatively new for me, because I added
the alternative hyphenation patch to OOo in 2002 (missed to modify the method
for the manual hyphenation), but I got a bug report (about the Unicode Hungarian
hyphenation patterns) only in the last autumn. I'd like to fix it, but I haven't
had enough (spare) time for it, yet.

I have no experience with other variable-length encodings, but I preferred UTF-8
character positions instead of byte positions because of the comfortable 
encoding of the hyphenation positions in the alternative pattern syntax
"pattern/alter=native,begin,end". There is a potential bug in alternative
hyphenation patterns with combined UTF-8 characters, because the preprocessor
"substrings.pl" doesn't recognize combined characters. A very quick fix for the
problem to add a comment to the Hyphen manual (ie. the substrings.pl
preprocessor doesn't recognize combined UTF-8 characters, so the cutting
positions of the alternative hyphenation have to be "single" Unicode character
positions (you have to add the combining characters to the positions)). A better
method to modify substrings.pl to recognize combined Unicode characters. (In
fact, future combined character support is need for the right *LEFTHYPHENMIN and
*RIGHTHYPHENMIN handling.)

You are right, byte positions are more comfortable in the return values,
especially because they are not depend from the different combined character
support of the Hyphen library and the caller.



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to