Re: Re how to embed a font programatically

2006-04-19 Thread Jeremias Maerki
Karl, thanks for the heads-up. One comment on your Java class: To improve performance you should reuse the FopFactory and the TransformerFactory instead of constructing them each time. See also: http://xmlgraphics.apache.org/fop/trunk/embedding.html#basics On 19.04.2006 02:09:24 Karl Roberts wrot

RE: Re how to embed a font programatically

2006-04-18 Thread Karl Roberts
h. -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Monday, 27 March 2006 5:24 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Re how to embed a font programatically Hi Karl On 27.03.2006 05:39:01 Karl Roberts wrote: > Hi Jeremias, > Don't worry

RE: Re how to embed a font programatically

2006-03-27 Thread Karl Roberts
: Monday, 27 March 2006 5:24 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Re how to embed a font programatically Hi Karl On 27.03.2006 05:39:01 Karl Roberts wrote: > Hi Jeremias, > Don't worry next time I'll create a patch for bugzilla! :-) Where are > the ch

Re: Re how to embed a font programatically

2006-03-26 Thread Jeremias Maerki
Hi Karl On 27.03.2006 05:39:01 Karl Roberts wrote: > Hi Jeremias, > Don't worry next time I'll create a patch for bugzilla! :-) > Where are the changes so I can test them? In our Subversion repository in "Trunk", of course. See: http://xmlgraphics.apache.org/fop/download.html#source You should d

RE: Re how to embed a font programatically

2006-03-26 Thread Karl Roberts
String path)" I'd have used it. Cheers Karl -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Sunday, 26 March 2006 1:45 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Re how to embed a font programatically Karl, sorry for the huge delay. When

Re: Re how to embed a font programatically

2006-03-25 Thread Jeremias Maerki
synchronized (tlAgent) { > if (tlAgent.get() == null) { > tlAgent.set(foUserAgent); > ret = true; > } > } > return ret; > } > } >

RE: Re how to embed a font programatically

2006-02-26 Thread Karl Roberts
Subject: RE: Re how to embed a font programatically Hi Jeremias, Thanks for the update to Trunk, Your code was a bit tidier than mine, but did the same thing, However I still got the NullPointerException. The crux of the problem was that The URIReader was only being used to resolve URI'

RE: Re how to embed a font programatically

2006-02-26 Thread Karl Roberts
return ret; } } Any thoughts on how this could be improoved and added to the Trunk so that I don't have to maintain a separate branch of FOP? Cheers Karl Roberts -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Thursday, 23 February 2

Re: Re how to embed a font programatically

2006-02-23 Thread Jeremias Maerki
Have you seen my other post? I've implemented exactly what I proposed to you and put it in FOP Trunk: http://svn.apache.org/viewcvs?rev=379810&view=rev More comments inline... On 23.02.2006 07:02:33 Karl Roberts wrote: > Hi I built a URIResolver that reads URL's like: > > servlet-context:/WEB-I

RE: Re how to embed a font programatically

2006-02-22 Thread Karl Roberts
lto:[EMAIL PROTECTED] Sent: Tuesday, 21 February 2006 8:17 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Re how to embed a font programatically I haven't done this from outside FOP, yet, but I can give you a suggestion that I'd prefer in your case: Write a URIResolver implementa

Re: Re how to embed a font programatically

2006-02-22 Thread Jeremias Maerki
PROTECTED] > Sent: Tuesday, 21 February 2006 8:17 PM > To: fop-users@xmlgraphics.apache.org > Subject: Re: Re how to embed a font programatically > > I haven't done this from outside FOP, yet, but I can give you a > suggestion that I'd prefer in your case: Write a URIResolver &g

RE: Re how to embed a font programatically

2006-02-21 Thread Karl Roberts
embed a font programatically I haven't done this from outside FOP, yet, but I can give you a suggestion that I'd prefer in your case: Write a URIResolver implementation that returns StreamSource instances for specific URIs. You can take FOURIResolver as an example for how to do that. You ca

Re: Re how to embed a font programatically

2006-02-21 Thread Jeremias Maerki
I haven't done this from outside FOP, yet, but I can give you a suggestion that I'd prefer in your case: Write a URIResolver implementation that returns StreamSource instances for specific URIs. You can take FOURIResolver as an example for how to do that. You can then set the URIResolver instance o