Hi Peter,

You say that it can happen anywhere from the 30th document to the
150th? Does that suppose each document is different, or does the
number vary if you print the same document over and over? I.e. is the
number at which it fails the same over several attempts when printing
a single document?

Mehdi

On 15 March 2011 02:12, Peter Yandell <peter.yand...@truenorth3dview.com> wrote:
> Hi All,
> Background:    I've recently inherited an enterprise level web application
> that uses FOP for generating PDF and PNG documents. These documents are
> printed using custom fonts. The output size is A0 (or ~ 4770 x 3370 pixels).
>
> Problem:    After a variable amount of time some of the fonts 'stop
> working'. By this I mean that the glyph appearing is a letter 'A' in a box,
> with the same glyph used for all characters. Please see the two attached
> images; 'PrintJob-200a-47.png' rendered correctly while
> 'PrintJob-200a-48.png' stop working.
>
> The problem goes away after Tomcat has been restarted. Sometimes the error
> starts happening after 30 documents have been printed, other times it can be
> upwards of 150. Once it starts happening then it keeps happening until
> Tomcat is restarted.
>
> Resolutions Attempted:    As I couldn't see any errors in our application
> logs I turned the FOP logging all the way up to 'ALL'. At no time were there
> any entries, for a 'failed' print job, that differed from a successful one.
> There are no WARN, ERROR or FATAL messages appearing in any log file.
>
> Searching for font issues seems to only turn up misconfigurations of fonts.
> All our fonts are configured correctly as the documents do print. It is
> simply that they are forgotten, lost, etc after some period of time with no
> errors or warnings recording in the logs
>
> Version numbers:
>    JDK:    1.6.0_20 & 1.6.0_24
>    OS:    Mac OSX 10.6.4 & 10.6.6
>    FOP:    0.95 & 1.0
>    Tomcat: 6.0.24
>
> I can extract out the relevant FOP log entries for both a successful and
> failed run if requested. I haven't attached them as they are quite large.
>
> My request for help comes in several parts:
> 1.    Has anyone else experienced this, and if so what did you do to resolve
> it?
> 2.    Does anyone have any thoughts where else to look? I don't know where
> else to look right now.
>
> The web application is a commercial so I may be limited in what I can share.
> If anything else is required please ask and I will do my best to comply.
>
> Many thanks in advance,
>    Pete
>
>
> ---------------------------------------------------------------------
> 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