Re: Initial soft hyphen support

2007-01-15 Thread Andreas L Delmelle
On Jan 15, 2007, at 21:25, J.Pietschmann wrote: Andreas L Delmelle wrote: BTW: I took a very quick look, and does anyone know if there is a good reason why Hyphenation.word is a String? The hyphenator interface goes through several wrapping layers, probably due to the usual "take working co

Re: Unicode issues

2007-01-15 Thread J.Pietschmann
Simon Pepping wrote: Aren't ligatures a feature of the font, Yes and no. While the font may provide a glyph, it is the responsibility of the content rendering code to decide whether a ligature should be used. Deciding whether a ligature is applicable is not necessarily trivial, for example ther

Re: Initial soft hyphen support

2007-01-15 Thread J.Pietschmann
Andreas L Delmelle wrote: BTW: I took a very quick look, and does anyone know if there is a good reason why Hyphenation.word is a String? The hyphenator interface goes through several wrapping layers, probably due to the usual "take working code and wrap it to fit the caller" method. This whic

Re: Unicode issues

2007-01-15 Thread Simon Pepping
On Mon, Jan 15, 2007 at 04:42:12PM +0100, J.Pietschmann wrote: > As for Ligatures and character shaping: an algorithm for automatically > detecting ligature points may use a pattern lookup similar to the > pattern based hyphenation. The pattern dictionary should store only > either NFD or NFC for

Re: Unicode issues

2007-01-15 Thread Simon Pepping
On Sun, Jan 14, 2007 at 11:05:33PM +0100, J.Pietschmann wrote: > There are libraries which already implement UAX#15 properly, e.g. icu4j, > but especially icu4j is a rather large blob of a jar. I think Unicode > normalization should be handled like PDF encryption: do it if the > library is availabl

Re: Initial soft hyphen support

2007-01-15 Thread Andreas L Delmelle
On Jan 14, 2007, at 23:11, J.Pietschmann wrote: Andreas L Delmelle wrote: The SHY character will be presented to the hyphenator simply as a character of the word it appears in. The hyphenator should then be smart enough to recognize this as a special character, and do something like: creat

Re: FOP Memory issues (fwd from fop-users)

2007-01-15 Thread Andreas L Delmelle
On Jan 14, 2007, at 22:51, J.Pietschmann wrote: Andreas L Delmelle wrote: Based on Jörgs statistics, I'd say that the number of children will most likely never reach the level where using direct index- based access (ArrayList) has its benefits over traversing a tree of references (LinkedLis

Re: Unicode issues

2007-01-15 Thread J.Pietschmann
Manuel Mall wrote: Font selection in combination with character substitution. Ligatures and character shaping. Joerg, can you elaborate on this for me please. Fonts may contain glyphs for precomposed Unicode characters, or they may not. If a list of fonts is searched for a glyph of a charact

Re: Kerning and hyphenation

2007-01-15 Thread Jeremias Maerki
On 13.01.2007 06:32:15 Manuel Mall wrote: > While looking into the support for the Soft Hyphen the area of > hyphenation combined with kerning is causing me trouble. > > Aside 1: our fonts page claims we don't support kerning but I believe we > do. Yes, we do. > Aside 2: Our tests are based o