Hi

> On 06 Jun 2015, at 09:46, Michał Jaworski <mich...@beck.pl> wrote:
> 
> Hi,
> 
> hyphenation jar (taken from offo page) was simply drop into lib dir. Fop is 
> called from the command line. Seems that works for en, doesn't work for pl. 
> My current example is very simple and attached at the end. The same example 
> processed under ver 1.1 works fine. As I've mentioned tried other fonts and 
> also built my own hyphenation jar using 2.0 sources.

I think I see a clue about the potential cause. I tried rendering your example, 
and hyphenation seemed to work properly, but then I noticed...

>          <fo:block font-family="Franklin Gothic Book" font-size="20pt" 
> line-height="1.0"

I tried without using font auto-detection, so it was rendered in plain 
Helvetica, which obviously lacked a few glyphs, but did allow hyphenation to 
kick in and do its work.

Can you try this on your end? Just to see if it's related to the use of that 
custom font, as I suspect. 
There has been quite some work in the area of complex scripts, which may be 
playing a part here, but I am not entirely certain. If that is indeed the case, 
then a possible temporary workaround would be to disable those complex script 
features, see: http://xmlgraphics.apache.org/fop/2.0/complexscripts.html


Hope this helps!

KR

Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to