I think the text should set `\XeTeXlinebreaklocale "am"` to enable line breaking at Ethiopic word space sign (why polyglossia is not setting that?), but even then I don't get any hyphenation at all, so I think there is some thing wrong in the test.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No hyphenation at all? Your language.dat contains the following, right?
ethiopic loadhyph-mul-ethi.tex
=amharic
=geez
XeTeXlinebreaklocale could help if there is support for that language built in (I actually didn't check that). But in case that you could find a way to break longer words than 64 characters, that would still be great.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
`\XeTeXlinebreaklocale` definitely improves line breaking (the locale passed to it does not seem to matter, it seems merely activating it enabled breaking at the Ethiopic space symbol).
If I replace the space symbol with regular space, I get hyphenation, so it seems even with `\XeTeXlinebreaklocale` XeTeX is still trying to hyphenate the whole paragraph at once which makes no sense IMO. Increasing the hyphenation limit just works around this, but it does not scale (unless the limit is removed altogether).
I tried a naïve attempt to increase the limit, but it is hard coded all over the place (the literal value, no macro or anything), so I’ve to hunt it down.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This was implemented in the form of a new integer parameter \XeTeXhyphenatablelength (default value is 63, for backward compatibility; maximum is 4095). This has been available since version 0.99996 (in TeX Live 2016).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Could you provide some test files?
Test for Amharic
I attached one test file for Ethiopic script and then realized that I could just as well point you to
http://tug.org/svn/texhyphen/trunk/tests/testsuite/languages/amharic/
The font comes from http://scripts.sil.org/AbyssinicaSIL.
I think the text should set `\XeTeXlinebreaklocale "am"` to enable line breaking at Ethiopic word space sign (why polyglossia is not setting that?), but even then I don't get any hyphenation at all, so I think there is some thing wrong in the test.
No hyphenation at all? Your language.dat contains the following, right?
ethiopic loadhyph-mul-ethi.tex
=amharic
=geez
XeTeXlinebreaklocale could help if there is support for that language built in (I actually didn't check that). But in case that you could find a way to break longer words than 64 characters, that would still be great.
`\XeTeXlinebreaklocale` definitely improves line breaking (the locale passed to it does not seem to matter, it seems merely activating it enabled breaking at the Ethiopic space symbol).
If I replace the space symbol with regular space, I get hyphenation, so it seems even with `\XeTeXlinebreaklocale` XeTeX is still trying to hyphenate the whole paragraph at once which makes no sense IMO. Increasing the hyphenation limit just works around this, but it does not scale (unless the limit is removed altogether).
I tried a naïve attempt to increase the limit, but it is hard coded all over the place (the literal value, no macro or anything), so I’ve to hunt it down.
This was implemented in the form of a new integer parameter \XeTeXhyphenatablelength (default value is 63, for backward compatibility; maximum is 4095). This has been available since version 0.99996 (in TeX Live 2016).