Re: [Libreoffice] [PATCH] hyphenation fixes

2011-10-17 Thread Caolán McNamara
On Mon, 2011-10-10 at 17:05 +0200, Németh László wrote:
 Hi,
 
 I have attached new patches for the Hyphen library and Hungarian
 hyphenation patterns, and the old one for English dictionaries and the
 test file from my previous letter.

there was no attachments to this mail, though i pushed the earlier ones.

 PS.: The new Hyphen 2.8.3:
 https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/

I'll bump LibOs internal version to this one in a little while.

hyphen includes a make rule to generate the en_US hyph dict from the
original source. Is the output there still the canonical en_US dict or
is that out of sync now ?

Where/which is the right/best en_GB one ? I'm thinking here more from
the perspective of distro maintainers that want to have the best
distro-wide patterns installed and share them between the handful of
different apps that re-use them.

C.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] [PATCH] hyphenation fixes

2011-10-10 Thread Németh László
Hi,

I have attached new patches for the Hyphen library and Hungarian
hyphenation patterns, and the old one for English dictionaries and the
test file from my previous letter.

I have found and fixed a new hyphenation problem at the hyphen
character. OpenOffice.org/LibreOffice can hyphenate the words with
hyphens and en-dashes without explicite hyphenation patterns. From
OpenOffice.org 3.3, the hyphenator gets the hyphens, too (related to a
spell check fix). This is useful to set bigger hyphenation distances
from the hyphens, but the implicite hyphenation of hyphens and the
hyphenation by Hyphen library have a conflict, and often LibreOffice
missed the hyphenation at hyphens, depending from the position of the
compound word in the line. The new Hyphen uses the following implicite
hyphenation settings to fix this problem for all languages:

1-1/=,1,1
NEXTLEVEL

So the hyphenation is enabled at hyphens by also the Hyphen library,
removing the original hyphen (using only the automatic hyphen added by
LibreOffice). Unfortunatelly, this method is not suitable for
en-dashes (eg. in Hungarian texts), but at least, with the new Hyphen
LibreOffice doesn't hyphenate the en-dash with a plus hyphen (–-).

PS.: The new Hyphen 2.8.3:
https://sourceforge.net/projects/hunspell/files/Hyphen/2.8/

Regards,
Laci
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice