Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
Ok well that's at least a little bit related, you need Hyphenation
support in order to run all of the unit tests, which you can find
here:
http://offo.sourceforge.net/

It was put there for licensing reasons.

On 24 October 2011 20:47, Eric Douglas  wrote:
> Of course it doesn't say there were any errors.  The error message says "one 
> or more...errors or were skipped"
>
> I saved the build log.  While it doesn't mention any errors aside from that 
> URI, it does have this near the top:
> compile-hyphenation:
>     [echo] Hyphenation successful
>
> Then this near the bottom:
> hyphenation-present:
>     [echo] Hyphenation Support NOT Present - Layout tests which require 
> hyphenation are NOT being run!
>
> Is that related?  The only other reference to skip is this:
>    [junit] WARNING: Skipping malformed value for font-family: 'Times New 
> 'Roman in "'Times New 'Roman, serif".
>
> -Original Message-
> From: mehdi houshmand [mailto:med1...@gmail.com]
> Sent: Monday, October 24, 2011 3:38 PM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?
>
> Curious... The other user was complaining of the same issue... Anyone got any 
> ideas? I can't recreate this.
>
> On 24 October 2011 19:20, Eric Douglas  wrote:
>> I don't know.  After several failed builds and changing to make errors go 
>> away now I get this...
>> Failures: 0, Errors: 0 after every test Only error message I see is
>>    [junit] Oct 24, 2011 1:56:01 PM org.apache.fop.apps.FopFactory
>> resolveURI
>>    [junit] SEVERE: Attempt to resolve URI 
>> 'badprotocol:test/resources/fonts/glb12.ttf.xml' failed:
>>    [junit] javax.xml.transform.TransformerException: Error with URL; base 
>> 'file:/C:/Java/fop-trunk/trunk/test/config/' href 
>> 'badprotocol:test/resources/fonts/glb12.ttf.xml'
>>
>> Then it ends with
>> BUILD FAILED
>> C:\Java\fop-trunk\trunk\build.xml:875: NOTE:
>> **
>> 
>> * One or more of the Junit tests had Failures or Errors or were
>> skipped! *
>> *         Please check the output above for relevant messages.
>> *
>> *    Or use the "junit-reports" target to generate HTML test reports.
>> *
>> **
>> 
>>
>>
>> -Original Message-
>> From: mehdi houshmand [mailto:med1...@gmail.com]
>> Sent: Monday, October 24, 2011 9:28 AM
>> To: fop-dev@xmlgraphics.apache.org
>> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?
>>
>> Hi Eric,
>>
>> Could you put up which unit tests are failing. Another user is having a 
>> similar issue.
>>
>> Thanks
>>
>> Mehdi
>>
>> On 24 October 2011 14:05, Eric Douglas  wrote:
>>> Sounds like just what I was looking for!  Thanks!
>>>
>>> I used the TortoiseSVN to download the trunk but I still haven't
>>> figured out how to compile it with ant.  It keeps saying it failed at
>>> least one junit test.
>>> I did just do File > Export in Eclipse, selecting all class files and
>>> got a working jar.
>>>
>>>
>>> -Original Message-
>>> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
>>> Sent: Monday, October 24, 2011 8:46 AM
>>> To: fop-dev@xmlgraphics.apache.org
>>> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change
>>> page size?
>>>
>>> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>>>
>>> In addition to nextPage(), there is now also a nextPage(width,
>>> height) for changing the size of the following pages.
>>>
>>> On 24.10.2011 14:29:23 Eric Douglas wrote:
>>>> It appears the only place it sets the page size is in the
>>>> setupDocument method which also writes the characters to initialize
>>> the PDF.
>>>> I want to be able to put a portrait page and a landscape page in the
>>>> same document, which sort of works if I call that method but it has
>>>> those extra characters which messes up the text though the pages are
>>>> turned correctly.
>>>>
>>>
>>>
>>>
>>>
>>> Jeremias Maerki
>>>
>>>
>>
>


RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
Of course it doesn't say there were any errors.  The error message says "one or 
more...errors or were skipped"

I saved the build log.  While it doesn't mention any errors aside from that 
URI, it does have this near the top:
compile-hyphenation:
 [echo] Hyphenation successful

Then this near the bottom:
hyphenation-present:
 [echo] Hyphenation Support NOT Present - Layout tests which require 
hyphenation are NOT being run!

Is that related?  The only other reference to skip is this:
[junit] WARNING: Skipping malformed value for font-family: 'Times New 
'Roman in "'Times New 'Roman, serif". 

-Original Message-
From: mehdi houshmand [mailto:med1...@gmail.com] 
Sent: Monday, October 24, 2011 3:38 PM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

Curious... The other user was complaining of the same issue... Anyone got any 
ideas? I can't recreate this.

On 24 October 2011 19:20, Eric Douglas  wrote:
> I don't know.  After several failed builds and changing to make errors go 
> away now I get this...
> Failures: 0, Errors: 0 after every test Only error message I see is
>    [junit] Oct 24, 2011 1:56:01 PM org.apache.fop.apps.FopFactory 
> resolveURI
>    [junit] SEVERE: Attempt to resolve URI 
> 'badprotocol:test/resources/fonts/glb12.ttf.xml' failed:
>    [junit] javax.xml.transform.TransformerException: Error with URL; base 
> 'file:/C:/Java/fop-trunk/trunk/test/config/' href 
> 'badprotocol:test/resources/fonts/glb12.ttf.xml'
>
> Then it ends with
> BUILD FAILED
> C:\Java\fop-trunk\trunk\build.xml:875: NOTE:
> **
> 
> * One or more of the Junit tests had Failures or Errors or were 
> skipped! *
> *         Please check the output above for relevant messages.           
> *
> *    Or use the "junit-reports" target to generate HTML test reports.    
> *
> **
> 
>
>
> -Original Message-
> From: mehdi houshmand [mailto:med1...@gmail.com]
> Sent: Monday, October 24, 2011 9:28 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?
>
> Hi Eric,
>
> Could you put up which unit tests are failing. Another user is having a 
> similar issue.
>
> Thanks
>
> Mehdi
>
> On 24 October 2011 14:05, Eric Douglas  wrote:
>> Sounds like just what I was looking for!  Thanks!
>>
>> I used the TortoiseSVN to download the trunk but I still haven't 
>> figured out how to compile it with ant.  It keeps saying it failed at 
>> least one junit test.
>> I did just do File > Export in Eclipse, selecting all class files and 
>> got a working jar.
>>
>>
>> -Original Message-
>> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
>> Sent: Monday, October 24, 2011 8:46 AM
>> To: fop-dev@xmlgraphics.apache.org
>> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change 
>> page size?
>>
>> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>>
>> In addition to nextPage(), there is now also a nextPage(width, 
>> height) for changing the size of the following pages.
>>
>> On 24.10.2011 14:29:23 Eric Douglas wrote:
>>> It appears the only place it sets the page size is in the 
>>> setupDocument method which also writes the characters to initialize
>> the PDF.
>>> I want to be able to put a portrait page and a landscape page in the 
>>> same document, which sort of works if I call that method but it has 
>>> those extra characters which messes up the text though the pages are 
>>> turned correctly.
>>>
>>
>>
>>
>>
>> Jeremias Maerki
>>
>>
>


Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
Curious... The other user was complaining of the same issue... Anyone
got any ideas? I can't recreate this.

On 24 October 2011 19:20, Eric Douglas  wrote:
> I don't know.  After several failed builds and changing to make errors go 
> away now I get this...
> Failures: 0, Errors: 0 after every test
> Only error message I see is
>    [junit] Oct 24, 2011 1:56:01 PM org.apache.fop.apps.FopFactory resolveURI
>    [junit] SEVERE: Attempt to resolve URI 
> 'badprotocol:test/resources/fonts/glb12.ttf.xml' failed:
>    [junit] javax.xml.transform.TransformerException: Error with URL; base 
> 'file:/C:/Java/fop-trunk/trunk/test/config/' href 
> 'badprotocol:test/resources/fonts/glb12.ttf.xml'
>
> Then it ends with
> BUILD FAILED
> C:\Java\fop-trunk\trunk\build.xml:875: NOTE:
> **
> * One or more of the Junit tests had Failures or Errors or were skipped! *
> *         Please check the output above for relevant messages.           *
> *    Or use the "junit-reports" target to generate HTML test reports.    *
> **
>
>
> -Original Message-
> From: mehdi houshmand [mailto:med1...@gmail.com]
> Sent: Monday, October 24, 2011 9:28 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?
>
> Hi Eric,
>
> Could you put up which unit tests are failing. Another user is having a 
> similar issue.
>
> Thanks
>
> Mehdi
>
> On 24 October 2011 14:05, Eric Douglas  wrote:
>> Sounds like just what I was looking for!  Thanks!
>>
>> I used the TortoiseSVN to download the trunk but I still haven't
>> figured out how to compile it with ant.  It keeps saying it failed at
>> least one junit test.
>> I did just do File > Export in Eclipse, selecting all class files and
>> got a working jar.
>>
>>
>> -Original Message-
>> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
>> Sent: Monday, October 24, 2011 8:46 AM
>> To: fop-dev@xmlgraphics.apache.org
>> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change
>> page size?
>>
>> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>>
>> In addition to nextPage(), there is now also a nextPage(width, height)
>> for changing the size of the following pages.
>>
>> On 24.10.2011 14:29:23 Eric Douglas wrote:
>>> It appears the only place it sets the page size is in the
>>> setupDocument method which also writes the characters to initialize
>> the PDF.
>>> I want to be able to put a portrait page and a landscape page in the
>>> same document, which sort of works if I call that method but it has
>>> those extra characters which messes up the text though the pages are
>>> turned correctly.
>>>
>>
>>
>>
>>
>> Jeremias Maerki
>>
>>
>


RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
I'm not sure what it means.  It ends with build failed but it did create a jar.
Now I'm trying to test using this jar and it doesn't seem to like my set font 
commands so I need to figure that out.
 

-Original Message-
From: mehdi houshmand [mailto:med1...@gmail.com] 
Sent: Monday, October 24, 2011 9:28 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

Hi Eric,

Could you put up which unit tests are failing. Another user is having a similar 
issue.

Thanks

Mehdi

On 24 October 2011 14:05, Eric Douglas  wrote:
> Sounds like just what I was looking for!  Thanks!
>
> I used the TortoiseSVN to download the trunk but I still haven't 
> figured out how to compile it with ant.  It keeps saying it failed at 
> least one junit test.
> I did just do File > Export in Eclipse, selecting all class files and 
> got a working jar.
>
>
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> Sent: Monday, October 24, 2011 8:46 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change 
> page size?
>
> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>
> In addition to nextPage(), there is now also a nextPage(width, height) 
> for changing the size of the following pages.
>
> On 24.10.2011 14:29:23 Eric Douglas wrote:
>> It appears the only place it sets the page size is in the 
>> setupDocument method which also writes the characters to initialize
> the PDF.
>> I want to be able to put a portrait page and a landscape page in the 
>> same document, which sort of works if I call that method but it has 
>> those extra characters which messes up the text though the pages are 
>> turned correctly.
>>
>
>
>
>
> Jeremias Maerki
>
>


RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
I don't know.  After several failed builds and changing to make errors go away 
now I get this...
Failures: 0, Errors: 0 after every test
Only error message I see is
[junit] Oct 24, 2011 1:56:01 PM org.apache.fop.apps.FopFactory resolveURI
[junit] SEVERE: Attempt to resolve URI 
'badprotocol:test/resources/fonts/glb12.ttf.xml' failed:
[junit] javax.xml.transform.TransformerException: Error with URL; base 
'file:/C:/Java/fop-trunk/trunk/test/config/' href 
'badprotocol:test/resources/fonts/glb12.ttf.xml'

Then it ends with
BUILD FAILED
C:\Java\fop-trunk\trunk\build.xml:875: NOTE:
**
* One or more of the Junit tests had Failures or Errors or were skipped! *
* Please check the output above for relevant messages.   *
*Or use the "junit-reports" target to generate HTML test reports.*
**
 

-Original Message-
From: mehdi houshmand [mailto:med1...@gmail.com] 
Sent: Monday, October 24, 2011 9:28 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

Hi Eric,

Could you put up which unit tests are failing. Another user is having a similar 
issue.

Thanks

Mehdi

On 24 October 2011 14:05, Eric Douglas  wrote:
> Sounds like just what I was looking for!  Thanks!
>
> I used the TortoiseSVN to download the trunk but I still haven't 
> figured out how to compile it with ant.  It keeps saying it failed at 
> least one junit test.
> I did just do File > Export in Eclipse, selecting all class files and 
> got a working jar.
>
>
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> Sent: Monday, October 24, 2011 8:46 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change 
> page size?
>
> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>
> In addition to nextPage(), there is now also a nextPage(width, height) 
> for changing the size of the following pages.
>
> On 24.10.2011 14:29:23 Eric Douglas wrote:
>> It appears the only place it sets the page size is in the 
>> setupDocument method which also writes the characters to initialize
> the PDF.
>> I want to be able to put a portrait page and a landscape page in the 
>> same document, which sort of works if I call that method but it has 
>> those extra characters which messes up the text though the pages are 
>> turned correctly.
>>
>
>
>
>
> Jeremias Maerki
>
>


Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread mehdi houshmand
Hi Eric,

Could you put up which unit tests are failing. Another user is having
a similar issue.

Thanks

Mehdi

On 24 October 2011 14:05, Eric Douglas  wrote:
> Sounds like just what I was looking for!  Thanks!
>
> I used the TortoiseSVN to download the trunk but I still haven't figured
> out how to compile it with ant.  It keeps saying it failed at least one
> junit test.
> I did just do File > Export in Eclipse, selecting all class files and
> got a working jar.
>
>
> -Original Message-
> From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch]
> Sent: Monday, October 24, 2011 8:46 AM
> To: fop-dev@xmlgraphics.apache.org
> Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page
> size?
>
> Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev
>
> In addition to nextPage(), there is now also a nextPage(width, height)
> for changing the size of the following pages.
>
> On 24.10.2011 14:29:23 Eric Douglas wrote:
>> It appears the only place it sets the page size is in the
>> setupDocument method which also writes the characters to initialize
> the PDF.
>> I want to be able to put a portrait page and a landscape page in the
>> same document, which sort of works if I call that method but it has
>> those extra characters which messes up the text though the pages are
>> turned correctly.
>>
>
>
>
>
> Jeremias Maerki
>
>


RE: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
Sounds like just what I was looking for!  Thanks!

I used the TortoiseSVN to download the trunk but I still haven't figured
out how to compile it with ant.  It keeps saying it failed at least one
junit test.
I did just do File > Export in Eclipse, selecting all class files and
got a working jar.


-Original Message-
From: Jeremias Maerki [mailto:d...@jeremias-maerki.ch] 
Sent: Monday, October 24, 2011 8:46 AM
To: fop-dev@xmlgraphics.apache.org
Subject: Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page
size?

Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev

In addition to nextPage(), there is now also a nextPage(width, height)
for changing the size of the following pages.

On 24.10.2011 14:29:23 Eric Douglas wrote:
> It appears the only place it sets the page size is in the 
> setupDocument method which also writes the characters to initialize
the PDF.
> I want to be able to put a portrait page and a landscape page in the 
> same document, which sort of works if I call that method but it has 
> those extra characters which messes up the text though the pages are 
> turned correctly.
> 




Jeremias Maerki



Re: org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Jeremias Maerki
Here you go: http://svn.apache.org/viewvc?rev=1188123&view=rev

In addition to nextPage(), there is now also a nextPage(width, height)
for changing the size of the following pages.

On 24.10.2011 14:29:23 Eric Douglas wrote:
> It appears the only place it sets the page size is in the setupDocument
> method which also writes the characters to initialize the PDF.
> I want to be able to put a portrait page and a landscape page in the
> same document, which sort of works if I call that method but it has
> those extra characters which messes up the text though the pages are
> turned correctly.
> 




Jeremias Maerki



org.apache.fop.svg.PDFDocumentGraphics2D can't change page size?

2011-10-24 Thread Eric Douglas
It appears the only place it sets the page size is in the setupDocument
method which also writes the characters to initialize the PDF.
I want to be able to put a portrait page and a landscape page in the
same document, which sort of works if I call that method but it has
those extra characters which messes up the text though the pages are
turned correctly.