java.lang.ArrayIndexOutOfBoundsException: -1

2007-01-13 Thread kralik
Hello! I am using latest FOP trunk. When I try to create PDF file from my FO file: http://www.fm.tul.cz/~pavel.tyl/bakule.fo bakule.fo , i get the error message bellow: C:\fop>fop bakule.fo bakule.pdf 13.1.2007 17:32:43 org.apache.fop.apps.FopFactory initUserConfig INFO: Source resolution se

Re: FOP Trunk - PFM fonts registering problem

2006-10-26 Thread kralik
Hello! Is there any progress in problem with PFM fonts? Can I find somewhwre some PFM fonts, where isn't problem with "UnknownEncoding" message from PFMReader? kralik wrote: > > Hello! > > I have a problem with registering PFM (Type 1) fonts with latest F

Re: FOP Trunk - PFM fonts registering problem

2006-10-23 Thread kralik
ed-url="&fop.home;/conf/lmr17.pfb". The PFM only contains the font > metrics. For embedding, you need the PFB. > > On 23.10.2006 16:07:58 kralik wrote: >> >> Hello! >> >> >> I have a problem with registering PFM (Type 1) fonts with latest FO

FOP Trunk - PFM fonts registering problem

2006-10-23 Thread kralik
Hello! I have a problem with registering PFM (Type 1) fonts with latest FOP Trunk. From file lmr17.pfm was succesfully created font metrics file lmr17.xml This is the snapshot: C:\fop>java -cp "build\fop.jar;lib\avalon-framework-4.2.0.jar;lib\commons-logging-1.0.4.jar;lib\commons-io-1.1.jar" or

Error while creating font metric file

2006-05-05 Thread kralik
Hi, I am trying to create font metrics file for FOP Trunk. I use the following command: java org.apache.fop.fonts.apps.TTFReader C:\myfont\times.ttf C:\FopTrunk\conf\my_new_font.xml In my CLASSPATH I have: C:\FopTrunk\build\fop.jar;C:\FopTrunk\lib\avalon-framework.jar;C:\FopTrunk\lib\xml-apis.ja

Re: problem

2006-05-02 Thread kralik
Oops, strange specification :-( It's hard for users, whose mother tongue is other than english. Hyphenation of czech language is OK, but when I need to write some english words in a longer paragraph, I can't change hyphenation pattern :-( -- View this message in context: http://www.nabble.com/%3C

problem

2006-05-02 Thread kralik
I am using FopTrunk for processing PDF. I am trying to stop hyphenation localy with ... FreeBSD, Solaris, Windows, Linux, ... But without succes. Word Fre- eBSD looks terribly. Else I am using Any ideas? Isn't it Bug? Thanks, Pavel Tyl -- View this message in context: http://www.nabble.com/%3

Re: FOP Trunk processing problem

2006-04-27 Thread kralik
Thank you. Such an easy way to get rid of error :-) Is there any rule, when it is important to do clean build. Excuse my poor knowledge, please. Pavel Tyl -- View this message in context: http://www.nabble.com/FOP-Trunk-processing-problem-t1518476.html#a4122257 Sent from the FOP - Users forum at

FOP Trunk processing problem

2006-04-27 Thread kralik
Hello! I have a problem with producing PDF file in last revision of FOP Trunk. I didn't change my source files and I am getting following lines (I thing, that first line has never been there before): "C:\Program Files\j2sdk1.4.2_06\bin\java" 27.4.2006 15:48:32 org.apache.fop.apps.FopFactory ini

FOP Trunk processing problem

2006-04-27 Thread kralik
Hello! I have a problem with producing PDF file in last revision of FOP Trunk. I didn't change my source files and I am getting following lines (I thing, that first line wasn't there before): "C:\Program Files\j2sdk1.4.2_06\bin\java" 27.4.2006 15:48:32 org.apache.fop.apps.FopFactory initUserCon

New problem with internal-destination in FOP Trunk

2006-04-24 Thread kralik
During transformation from xml and xsl to PDF, I found strange behavior of FOP Trunk. FO file seems to be OK, but in result - first two links in PDF Bookmarks (Uvod and Uvod do XML) and first two links in Content (Obsah in Czech) at the end of the document show another place, I expected.Maybe it's

Re: PDF Bookmarks detail

2006-04-20 Thread kralik
Oh, thanks a lot :-) Pavel Tyl Btw. some people have problems with this server. But some have never. -- View this message in context: http://www.nabble.com/PDF-Bookmarks-detail-t1477057.html#a4016642 Sent from the FOP - Users forum at Nabble.com. --

Re: PDF Bookmarks detail

2006-04-20 Thread kralik
Here is link to the file with collapsed bookmarks: http://o4c.wz.cz/diplomka/Karel.pdf View this message in context: Re: PDF Bookmarks detail Sent from the FOP - Users forum at Nabble.com.

Re: PDF Bookmarks detail

2006-04-20 Thread kralik
Yes, it's not such serious problem, of course :-) But LaTEX PDF bokmarks are collapsed. Nevermind. Pavel Tyl -- View this message in context: http://www.nabble.com/PDF-Bookmarks-detail-t1477057.html#a4009269 Sent from the FOP - Users forum at Nabble.com. ---

PDF Bookmarks detail

2006-04-19 Thread kralik
Hello! I have a question related to FOP Trunk and PDF bookmarks. All bookmarks, I wanted to do, are OK, but all the chapters, subchapters etc. are "unpacked". Mark "minus" (-) is everywhere. Is there any resolution, how to get a document with packed levels of chapters etc. or is it a proble

PDF Bookmarks detail

2006-04-19 Thread kralik
Hello! I have a question related to FOP Trunk and PDF bookmarks. All bookmarks, I wanted to do, are OK, but all the chapters, subchapters etc. are "unpacked". Mark "minus" (-) is everywhere. Is there any resolution, how to get a document with packed levels of chapters etc. or is it a proble

Re: problem

2006-04-11 Thread kralik
So it is annoying problem. And I suppose, that there is no trick for it :-( -- View this message in context: http://www.nabble.com/%3Cfo%3Apage-number-citation%3E-problem-t1434118.html#a3872636 Sent from the FOP - Users forum at Nabble.com. --

Re: TOC problem with text-align-last

2006-04-11 Thread kralik
I described this problem in new forum. There is whole example there. It will be probably BUG, because in XEP is everything OK. (FOP FOREVER!!! :-)) -- View this message in context: http://www.nabble.com/TOC-problem-with-text-align-last-t1432522.html#a3869550 Sent from the FOP - Users forum at Nab

problem

2006-04-11 Thread kralik
Problem is with FOP Trunk. It appears in table of contents. I prepared an example (XML file, XSL file), because it is quite hard to describe the problem. Explanation is in the result PDF document. If anyone knows, ... Thanks, Pavel Tyl XML DOCUMENT Why is not number "1" at the end of red blo

Re: TOC problem with text-align-last

2006-04-11 Thread kralik
This exactly I do. Sorry, I forgot to write it. My xsl: Table of Contents       

TOC problem with text-align-last

2006-04-11 Thread kralik
I have problem in FOP Trunk. I am trying to make Table Of Contents to look like this (but not with using "pre"): TOC 1 chapter1name . . . . . . . . . . . . . . . . . . . . . . . . 1    1.1 subchapter1name . . . . . . . . . . . . . . . . . . . . 1 1.2 subchapter2name . . . . . . . . . . . . .

basic-link external-destination - url(...) problem

2006-04-09 Thread kralik
Hello! I have a problem with external-destination in FOP Trunk. I have the following syntax in my output FO document: Lorem Ipsum Is this link correct? FOP shows no error, but final link in PDF takes everything between quotes as link and browser shows: Page cannot be found. And I think, that synta

Re: basic-link internal-destination - problem

2006-04-06 Thread kralik
Sorry, it was my fault, that I looked over the last known issue. -- View this message in context: http://www.nabble.com/basic-link-internal-destination---problem-t1405340.html#a3782906 Sent from the FOP - Users forum at Nabble.com. ---

basic-link internal-destination - problem

2006-04-06 Thread kralik
I hit strange behavior in FOP Trunk (0.91beta does the same). Target of all my basic-links (in PDF) is always at the top of the page, where the target is. It is not just above the target like in FOP 0.20.5. Is it OK? Thank you for yor help. Pavel Tyl -- View this message in context: http://www.n

FOP Trunk new problems

2006-04-06 Thread kralik
When I compile completly new FOP Trunk (head revision) by Apache ANT, I get following: BUILD SUCCESSFUL Total time: 52 seconds And then I have following problems: C:\FopTrunk>fop Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlgraphics/util/Service at org.apache.f

Re: Couldn't find hyphenation pattern

2006-04-05 Thread kralik
With "OFFO" is now hyphenation OK. But in FOP 0.91beta I had no file fo-hyph.jar in my lib folder or in classpath and hyphenation was OK too. I don't understand it. Pavel Tyl -- View this message in context: http://www.nabble.com/Couldn%27t-find-hyphenation-pattern-t1398418.html#a3762935 Sent f

Couldn't find hyphenation pattern

2006-04-05 Thread kralik
Hello! I have a problem with FOP Trunk. If I run FOP, it transform my document, but without hyphenation. Statement of FOP always ends with following message: Couldn't find hyphenation pattern cs In previous version (0.91beta) was hyphenation OK. I assumed, that hyphenation of Czech and Slovak wor

Re: Unknown Error

2006-04-05 Thread kralik
Thanks for your advice. It was my mistake, that I tried to run UNCOMPILED FOP Trunk. I found something about it (ANT, ...) and now it's OK. I am looser :-) -- View this message in context: http://www.nabble.com/Unknown-Error-t1395660.html#a3760740 Sent from the FOP - Users forum at Nabble.com.

Unknown Error

2006-04-04 Thread kralik
Please HELP! I tried to use FOP Trunk version, but I always get following message: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/cli/Main It appears also, when I write only word "fop" or "fop.bat" in FOP directory in command line. In older versions it always prints hel

Re: "Source code" or "PRE" printed to PDF by FOP 0.91-beta

2006-03-30 Thread kralik
Thank you very much. But is there any trick to preserve white spaces on the beggining of each line? (it was OK in old FOP) My thesis is full of examples (codes) and I need some automatic method. I think, that it could help now, when shothand white-space="pre" is not implemented correctly in new F

"Source code" or "PRE" printed to PDF by FOP 0.91-beta

2006-03-30 Thread kralik
Hello! I have a problem in new FOP 0.91-beta version. I want to make PDF file from my input XML and XSL (XSLT+FO) file. In my output document I want to have an example of some source code. In XML i use element for it. In FOP 0.20.5 I do this: XML FILE: XSL FILE:

Re: FOP 0.91-beta: Kerning support is disabled ...

2006-03-29 Thread kralik
Thanks a lot. I already found it and this problem is solved. -- View this message in context: http://www.nabble.com/FOP-0.91-beta%3A-Kerning-support-is-disabled-...-t1363354.html#a3657398 Sent from the FOP - Users forum at Nabble.com.

Re: FOP 0.91-beta: Kerning support is disabled ...

2006-03-29 Thread kralik
Thank you very much. But I don't know, where to write kerning="no"? Excuse me, I'm begginer. -- View this message in context: http://www.nabble.com/FOP-0.91-beta%3A-Kerning-support-is-disabled-...-t1363354.html#a3657121 Sent from the FOP - Users forum at Nabble.com. --

FOP 0.91-beta: Kerning support is disabled ...

2006-03-29 Thread kralik
Hello! I have a problem with new version of FOP 0.91-beta. I am trying to make PDF file from source XML file and XSL file (XSLT + FO). When I execute the command to make PDF, I get following: Base URL set to: file://C:/fop-0.91beta/ Source resolution set to: 72.0dpi (px2mm=0.3528) Target re