|
List Info
Thread: problem with image
|
|
| problem with image |

|
2006-01-31 16:00:28 |
Hello all,
I'm having problems inserting one parfticular image on my
document. I'm
using: forrest 0.5.1, document-v12.dtd.
The line that causes problems is (the 'figure' item):
----------------------------
previous text</p>
<figure src="images/tubos.gif"
alt=""/>
<p>next text...
--------------------------
If I comment it out it works fine.
The error messagem I get is (the fop part):
----------------------------------------------------
* [0] 0.025s 1.1Kb hello.pdf
* [0] 0.029s 2.8Kb skin/page.css
X [0] samples/sample.pdf BROKEN:
org.apache.fop.apps.FOPException: No meaningful layout in
block after
many attempts. Infinite loop is assumed. Processing
halted.
* [27] 0.175s 12.3Kb samples/ehtml-sample.html
---------------------------------------------------
I have another image in the document that works fine...
Any hints ?
thx
jmf
|
|
| problem with image |

|
2006-01-31 21:15:39 |
Joao Miguel Ferreira wrote:
> Hello all,
>
> I'm having problems inserting one parfticular image on
my document. I'm
> using: forrest 0.5.1, document-v12.dtd.
>
> The line that causes problems is (the 'figure' item):
>
> ----------------------------
> previous text</p>
> <figure src="images/tubos.gif"
alt=""/>
> <p>next text...
> --------------------------
>
> If I comment it out it works fine.
>
>
> The error messagem I get is (the fop part):
>
> ----------------------------------------------------
> * [0] 0.025s 1.1Kb hello.pdf
> * [0] 0.029s 2.8Kb skin/page.css
> X [0] samples/sample.pdf BROKEN:
> org.apache.fop.apps.FOPException: No meaningful layout
in block after
> many attempts. Infinite loop is assumed. Processing
halted.
> * [27] 0.175s 12.3Kb samples/ehtml-sample.html
> ---------------------------------------------------
>
> I have another image in the document that works fine...
>
> Any hints ?
I'm not sure if this is the same symptoms or not, search the
user
archives and the issue tracker for more info, but...
There are reported problems with large images in PDF
documents. Is this
image particularly large?
Ross
|
|
| problem with image |

|
2006-01-31 21:26:04 |
|
Is the image large? 'alt' is the only
required attribute, but I seem to recall that the fop transformation sometimes
need the height and width attributes to figure out how to scale an image...
--Bill
54047
"A 'No' uttered from deepest conviction is better and greater than
a 'Yes' merely uttered to please, or what is worse, to avoid trouble."
--M. Gandhi
"The ultimate measure of a man is not where he stands in moments of
comfort and convenience, but where he stands at times of challenge and
controversy." -- M.L. King, Jr.
|
| Joao Miguel Ferreira <jmf estg.ipvc.pt>
01/31/06 11:00 AM
Please respond to user
|
To:
user forrest.apache.org
cc:
Subject:
problem with image |
Hello all,
I'm having problems inserting one parfticular image
on my document. I'm
using: forrest 0.5.1, document-v12.dtd.
The line that causes problems is (the 'figure' item):
----------------------------
previous text</p>
<figure src="images/tubos.gif" alt=""/>
<p>next text...
--------------------------
If I comment it out it works fine.
The error messagem I get is (the fop part):
----------------------------------------------------
* [0] 0.025s 1.1Kb hello.pdf
* [0] 0.029s 2.8Kb skin/page.css
X [0]
samples/sample.pdf BROKEN:
org.apache.fop.apps.FOPException: No meaningful layout in block after
many attempts. Infinite loop is assumed. Processing halted.
* [27] 0.175s 12.3Kb samples/ehtml-sample.html
---------------------------------------------------
I have another image in the document that works fine...
Any hints ?
thx
jmf
|
| problem with image |

|
2006-01-31 21:24:45 |
Ross Gardler wrote:
> Joao Miguel Ferreira wrote:
>> Hello all,
>>
>> I'm having problems inserting one parfticular image
on my document. I'm
>> using: forrest 0.5.1, document-v12.dtd.
>>
>> The line that causes problems is (the 'figure'
item):
>>
>> ----------------------------
>> previous text</p>
>> <figure src="images/tubos.gif"
alt=""/>
>> <p>next text...
>> --------------------------
>>
>> If I comment it out it works fine.
>>
>>
>> The error messagem I get is (the fop part):
>>
>>
----------------------------------------------------
>> * [0] 0.025s 1.1Kb hello.pdf
>> * [0] 0.029s 2.8Kb skin/page.css
>> X [0] samples/sample.pdf
BROKEN:
>> org.apache.fop.apps.FOPException: No meaningful
layout in block after
>> many attempts. Infinite loop is assumed.
Processing halted.
>> * [27] 0.175s 12.3Kb samples/ehtml-sample.html
>> ---------------------------------------------------
>>
>> I have another image in the document that works
fine...
>>
>> Any hints ?
>
> I'm not sure if this is the same symptoms or not,
search the user
> archives and the issue tracker for more info, but...
>
> There are reported problems with large images in PDF
documents. Is this
> image particularly large?
>
> Ross
I can confirm this suspicion, seen this before. What is
basically going
on here is that FOP is unable to place this image in a
sensible
position. Try rescaling the picture or limit the
width/height manually.
HTH,
Torsten
|
|
| problem with image |

|
2006-02-01 01:30:07 |
Sorry I didn't originally reply on-list:
I've been struggling with this exact same problem, please
see
http://
issues.apache.org/jira/browse/FOR-413. Briefly, I found
that I
received that ugly error when I had tall, thin image.
Through trial-n-error
I found if your height is greater than 540px and your image
is thinner than
451px, you get the error. The easy work-around is to make
it either shorter
or fatter, but the minimum ratio seems to be 540:451. As to
why this works,
I don't really know.
Incidentally, I'm using Forrest Head.
-- Greg
-----Original Message-----
From: Joao Miguel Ferreira [mailto:jmf estg.ipvc.pt]
Sent: Tuesday, January 31, 2006 11:00 AM
To: user forrest.apache.org
Subject: problem with image
Hello all,
I'm having problems inserting one parfticular image on my
document. I'm
using: forrest 0.5.1, document-v12.dtd.
The line that causes problems is (the 'figure' item):
----------------------------
previous text</p>
<figure src="images/tubos.gif"
alt=""/>
<p>next text...
--------------------------
If I comment it out it works fine.
The error messagem I get is (the fop part):
----------------------------------------------------
* [0] 0.025s 1.1Kb hello.pdf
* [0] 0.029s 2.8Kb skin/page.css
X [0] samples/sample.pdf BROKEN:
org.apache.fop.apps.FOPException: No meaningful layout in
block after
many attempts. Infinite loop is assumed. Processing
halted.
* [27] 0.175s 12.3Kb samples/ehtml-sample.html
---------------------------------------------------
I have another image in the document that works fine...
Any hints ?
thx
jmf
|
|
| problem with image |

|
2006-02-02 12:34:34 |
Greg,
can you tell me what is 'Forrest Head' ???
and thanks again for the height-width tip...
jmf
> Incidentally, I'm using Forrest Head.
>
> -- Greg
|
|
| problem with image |

|
2006-02-02 13:18:45 |
Joao Miguel Ferreira wrote:
> can you tell me what is 'Forrest Head' ???
"head" refers to the "head" of the
source code version control system.
So when someone says "PROJECT_NAME head" they mean
the current
development version from version control as opposed to a
released version.
Ross
|
|
| problem with image |

|
2006-02-02 13:33:37 |
ok.
got that !
thx
Joao Miguel
jmf
On Thu, 2006-02-02 at 13:18, Ross Gardler wrote:
> Joao Miguel Ferreira wrote:
> > can you tell me what is 'Forrest Head' ???
>
> "head" refers to the "head" of the
source code version control system.
> So when someone says "PROJECT_NAME head" they
mean the current
> development version from version control as opposed to
a released version.
>
> Ross
|
|
[1-8]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|