Hi guys,

FOP 'best practice' says that I should call FopFactory.newFop at the start
of each render. Internally, however, this creates a new FOTreeBuilder, which
in turn creates a FOEventHandler, which in turn creates a FontInfo, which in
turn has a font cache.

Is there no way to re-use this font cache across multiple rendering runs?

I note in my logs that FOP keeps going looking for various
uppercase/lowercase versions of filenames on the disk...

13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB3.AFM
13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB3.afm
13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB3.Afm
13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB6.AFM
13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB6.afm
13:56:51,046 http-127.0.0.1-8080-1 DEBUG [FOP] File not found:
file:/N:/var/avant-ss/fonts/TheSnB6.Afm

...doing this every time can't be good for performance?

Regards,

Richard.
-- 
View this message in context: 
http://www.nabble.com/Any-way-to-cache-fonts-across-rendering-runs--tp25606243p25606243.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to