Hi,

I tried Helvetica at the beginning and also other typical fonts. Disabling scripts -nocs also is not solving this problem.

I've just made funny observation. You can put as @language whatever you want and no exception is thrown! In 1.1 it was validated somehow and @language="qq" was visible on the console as an error in 2.0 case nothing happens. Question if patterns are loaded at all.

Michał Jaworski


W dniu 2015-06-06 o 19:34, Andreas Delmelle pisze:
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




---------------------------------------------------------------------
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