"Unable to load font file" due to NullPointerException?

2012-06-14 Thread Phillip B Oldham
what the error might be this time? -- Phillip B Oldham phillip.old...@gmail.com +44 (0) 7525 01 09 01 - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

RE: Still having trouble loading fonts at runtime - suggestions?

2012-06-13 Thread Phillip B Oldham
Hi Bernard Thanks for that explanation; that makes a lot of sense now. I think I'm still having a little trouble working out which are the line(s) where you're telling FOP which fonts are available, though. Specifically what I have is a byte-array containing a font's data, and I need to make FO

RE: Still having trouble loading fonts at runtime - suggestions?

2012-06-13 Thread Phillip B Oldham
Hi Bernard Thanks for that code - that's really helpful. However, from what I can tell (java isn't one of my main languages, I'm a Python dev) it seems as though it doesn't actually tell FOP to reload any fonts, but rather gathers a list of fonts and then asks `PropertiesManager` to set the font

Still having trouble loading fonts at runtime - suggestions?

2012-06-12 Thread Phillip B Oldham
tManager to refresh it's cache/search the new directory and load the fonts? Is there a better approach to this? -- Phillip B Oldham phillip.old...@gmail.com - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.a

Re: Is it possible to load & use a font at runtime?

2012-05-22 Thread Phillip B Oldham
> [3] http://xmlgraphics.apache.org/fop/1.0/embedding.html#config-external > [4] http://xmlgraphics.apache.org/fop/1.0/embedding.html#fop-factory > > Le 22/05/2012 13:28, Phillip B Oldham a écrit : >> >> Is it possible to start an app which uses the FOP jar and, at runtime, >

Is it possible to load & use a font at runtime?

2012-05-22 Thread Phillip B Oldham
a PDF. I've got everything working except the fonts, where I've hit a bit of a wall. Is it possible? -- Phillip B Oldham - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional comm

Re: FOP is fun, even images brighten up?

2009-04-28 Thread Phillip B Oldham
tegrated Realization Services GmbH:www.irs-nbg.de Willmy PrintMedia GmbH:www.willmy.de Willmy Consult & Content GmbH: www.willmycc.de -- Phillip B Oldham The Activity People ph...@theactivitypeople.co.uk Policies This e-mail and its

Using binary image data in an embedded environment

2009-03-25 Thread Phillip B Oldham
I'm using apache fop in an embedded environment; a stand-alone application receives an object with two attributes - the first is an FO string, the second is a list of image objects which themselves contain a filename and the binary data for that file. I can generate the FO using the string, bu