pdf-processor enhanced

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

pdf-processor enhanced

Alexander Žaťko
I wanted to let you know that I sponsored enhancement of the
pdf-processor and the change is now done. The main enhancements are
that external fonts can be specified and multi-page documents can be
created if an XML config file is submitted that contains multiple
record elements. There are other new features as well and I intend to
document them. The new code is not "drop-in", but it should be
functionally backward compatible.

Erik, if you are interested I can send you the new source code.

Alex.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: pdf-processor enhanced

Erik Bruchez
Administrator
Alexander Zatko wrote:
> I wanted to let you know that I sponsored enhancement of the
> pdf-processor and the change is now done. The main enhancements are that
> external fonts can be specified and multi-page documents can be created
> if an XML config file is submitted that contains multiple record
> elements. There are other new features as well and I intend to document
> them. The new code is not "drop-in", but it should be functionally
> backward compatible.

Great!

> Erik, if you are interested I can send you the new source code.

Sure, that would be great. We cannot guarantee that we integrate the
code right away, but would certainly be interested in doing so in the
mid-term.

-Erik




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: pdf-processor enhanced

Edpriwer
Does the pdf-processor at version 3.5 have the ability to pick up external fonts? If so, how do you specify these external fonts?
Reply | Threaded
Open this post in threaded view
|

Re: Re: pdf-processor enhanced

Erik Bruchez
Administrator
I don't think it has this capability, at least we do not do anything  
special to load external fonts.

-Erik

On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:

>
> Does the pdf-processor at version 3.5 have the ability to pick up  
> external
> fonts? If so, how do you specify these external fonts?
> --
> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: pdf-processor enhanced

Alexander Žaťko
Erik, once upon a time I sent you an adapted version of the PDF  
processor that did have ability to load external fonts (besides other  
things, like ability to create multi-page files...). I don't think you  
used that code though and was thinking at that time that the "other"  
code you used when you released 3.5 (I think) was better than the one  
I sent you.

A.

On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:

> I don't think it has this capability, at least we do not do anything  
> special to load external fonts.
>
> -Erik
>
> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>
>>
>> Does the pdf-processor at version 3.5 have the ability to pick up  
>> external
>> fonts? If so, how do you specify these external fonts?
>> --
>> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>> Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: pdf-processor enhanced

Erik Bruchez
Administrator
Alex,

It seems that you sent this code back in 2006. Wow.

The code to oxf:pdf-template has changed since then. In fact, we  
committed some improvements yesterday.

But I think that some of the features you implemented have not made it  
yet.

Would you happen to have the time to check what's missing in your  
version vs. the latest version (to get from http://forge.objectweb.org/nightlybuilds/ops/ops/ 
  since our CVS sync is still broken)? I attach the source you sent  
back then for reference.

-Erik


On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:

> Erik, once upon a time I sent you an adapted version of the PDF  
> processor that did have ability to load external fonts (besides  
> other things, like ability to create multi-page files...). I don't  
> think you used that code though and was thinking at that time that  
> the "other" code you used when you released 3.5 (I think) was better  
> than the one I sent you.
>
> A.
>
> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>
>> I don't think it has this capability, at least we do not do  
>> anything special to load external fonts.
>>
>> -Erik
>>
>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>
>>>
>>> Does the pdf-processor at version 3.5 have the ability to pick up  
>>> external
>>> fonts? If so, how do you specify these external fonts?
>>> --
>>> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

pdf-template.zip (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: pdf-processor enhanced

Edpriwer
I found a quick solution for this problem yesterday...

We're using Orbeon v3.5 which uses an older version of FOP to generate
PDFs (fop 0.25 vs fop 0.93 I think). I checked out the orbeon source
code and updated the XSLFOSerializer to include:

File userConfigFile = new File("userconfig.xml");
new Options(userConfigFile); // this sets up a static config class

This tells FOP the location of a configuration file where external fonts
are specified (the code will be slightly different for fop 0.93).
 
Erik Bruchez wrote:

> Alex,
>
> It seems that you sent this code back in 2006. Wow.
>
> The code to oxf:pdf-template has changed since then. In fact, we
> committed some improvements yesterday.
>
> But I think that some of the features you implemented have not made it
> yet.
>
> Would you happen to have the time to check what's missing in your
> version vs. the latest version (to get from
> http://forge.objectweb.org/nightlybuilds/ops/ops/  since our CVS sync
> is still broken)? I attach the source you sent back then for reference.
>
> -Erik
>
> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>
>> Erik, once upon a time I sent you an adapted version of the PDF
>> processor that did have ability to load external fonts (besides other
>> things, like ability to create multi-page files...). I don't think
>> you used that code though and was thinking at that time that the
>> "other" code you used when you released 3.5 (I think) was better than
>> the one I sent you.
>>
>> A.
>>
>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>
>>> I don't think it has this capability, at least we do not do anything
>>> special to load external fonts.
>>>
>>> -Erik
>>>
>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>
>>>>
>>>> Does the pdf-processor at version 3.5 have the ability to pick up
>>>> external
>>>> fonts? If so, how do you specify these external fonts


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: pdf-processor enhanced

Alexander Žaťko
In reply to this post by Erik Bruchez
I am not a java programmer - a friend of mine did the mod at that  
time. So given that there hasn't been that much interest in the  
additional functionality my version has, I do not see much sense to  
invest time into the comparison (unless Peter is monitoring this list  
and wants to take a look at it himself).

A.


On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:

> Alex,
>
> It seems that you sent this code back in 2006. Wow.
>
> The code to oxf:pdf-template has changed since then. In fact, we  
> committed some improvements yesterday.
>
> But I think that some of the features you implemented have not made  
> it yet.
>
> Would you happen to have the time to check what's missing in your  
> version vs. the latest version (to get from http://forge.objectweb.org/nightlybuilds/ops/ops/ 
>  since our CVS sync is still broken)? I attach the source you sent  
> back then for reference.
>
> -Erik
> <pdf-template.zip>
> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>
>> Erik, once upon a time I sent you an adapted version of the PDF  
>> processor that did have ability to load external fonts (besides  
>> other things, like ability to create multi-page files...). I don't  
>> think you used that code though and was thinking at that time that  
>> the "other" code you used when you released 3.5 (I think) was  
>> better than the one I sent you.
>>
>> A.
>>
>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>
>>> I don't think it has this capability, at least we do not do  
>>> anything special to load external fonts.
>>>
>>> -Erik
>>>
>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>
>>>>
>>>> Does the pdf-processor at version 3.5 have the ability to pick up  
>>>> external
>>>> fonts? If so, how do you specify these external fonts?
>>>> --
>>>> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>>> Nabble.com.
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]  
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: pdf-processor enhanced

Erik Bruchez
Administrator
In reply to this post by Edpriwer
Thanks. I have entered an RFE to track this:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=309019&group_id=168&atid=350207

-Erik

On Apr 2, 2008, at 4:52 PM, Edward Priwer wrote:

> I found a quick solution for this problem yesterday...
>
> We're using Orbeon v3.5 which uses an older version of FOP to  
> generate PDFs (fop 0.25 vs fop 0.93 I think). I checked out the  
> orbeon source code and updated the XSLFOSerializer to include:
>
> File userConfigFile = new File("userconfig.xml");
> new Options(userConfigFile); // this sets up a static config class
>
> This tells FOP the location of a configuration file where external  
> fonts are specified (the code will be slightly different for fop  
> 0.93).
> Erik Bruchez wrote:
>> Alex,
>>
>> It seems that you sent this code back in 2006. Wow.
>>
>> The code to oxf:pdf-template has changed since then. In fact, we  
>> committed some improvements yesterday.
>>
>> But I think that some of the features you implemented have not made  
>> it yet.
>>
>> Would you happen to have the time to check what's missing in your  
>> version vs. the latest version (to get from http://forge.objectweb.org/nightlybuilds/ops/ops/ 
>>   since our CVS sync is still broken)? I attach the source you sent  
>> back then for reference.
>>
>> -Erik
>>
>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>
>>> Erik, once upon a time I sent you an adapted version of the PDF  
>>> processor that did have ability to load external fonts (besides  
>>> other things, like ability to create multi-page files...). I don't  
>>> think you used that code though and was thinking at that time that  
>>> the "other" code you used when you released 3.5 (I think) was  
>>> better than the one I sent you.
>>>
>>> A.
>>>
>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>
>>>> I don't think it has this capability, at least we do not do  
>>>> anything special to load external fonts.
>>>>
>>>> -Erik
>>>>
>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>
>>>>>
>>>>> Does the pdf-processor at version 3.5 have the ability to pick  
>>>>> up external
>>>>> fonts? If so, how do you specify these external fonts
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: pdf-processor enhanced

Erik Bruchez
Administrator
In reply to this post by Alexander Žaťko
Ok no problem. We are regularly improving on this processor, so we may  
still include some of your changes.

-Erik

On Apr 2, 2008, at 10:16 PM, Alexander Zatko wrote:

> I am not a java programmer - a friend of mine did the mod at that  
> time. So given that there hasn't been that much interest in the  
> additional functionality my version has, I do not see much sense to  
> invest time into the comparison (unless Peter is monitoring this  
> list and wants to take a look at it himself).
>
> A.
>
>
> On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:
>
>> Alex,
>>
>> It seems that you sent this code back in 2006. Wow.
>>
>> The code to oxf:pdf-template has changed since then. In fact, we  
>> committed some improvements yesterday.
>>
>> But I think that some of the features you implemented have not made  
>> it yet.
>>
>> Would you happen to have the time to check what's missing in your  
>> version vs. the latest version (to get from http://forge.objectweb.org/nightlybuilds/ops/ops/ 
>>  since our CVS sync is still broken)? I attach the source you sent  
>> back then for reference.
>>
>> -Erik
>> <pdf-template.zip>
>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>
>>> Erik, once upon a time I sent you an adapted version of the PDF  
>>> processor that did have ability to load external fonts (besides  
>>> other things, like ability to create multi-page files...). I don't  
>>> think you used that code though and was thinking at that time that  
>>> the "other" code you used when you released 3.5 (I think) was  
>>> better than the one I sent you.
>>>
>>> A.
>>>
>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>
>>>> I don't think it has this capability, at least we do not do  
>>>> anything special to load external fonts.
>>>>
>>>> -Erik
>>>>
>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>
>>>>>
>>>>> Does the pdf-processor at version 3.5 have the ability to pick  
>>>>> up external
>>>>> fonts? If so, how do you specify these external fonts?
>>>>> --
>>>>> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>>>> Nabble.com.
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the ops-
>>>>> [hidden email] mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]  
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: pdf-processor enhanced

МОНАХ
In FOP 0.95 don't need the XML font metrics files anymore: http://xmlgraphics.apache.org/fop/0.95/fonts.html#custom

Today used version 0.93. When 0.95 will be integrated in Oberon?




Erik Bruchez wrote
Ok no problem. We are regularly improving on this processor, so we may  
still include some of your changes.

-Erik

On Apr 2, 2008, at 10:16 PM, Alexander Zatko wrote:
> I am not a java programmer - a friend of mine did the mod at that  
> time. So given that there hasn't been that much interest in the  
> additional functionality my version has, I do not see much sense to  
> invest time into the comparison (unless Peter is monitoring this  
> list and wants to take a look at it himself).
>
> A.
>
>
> On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:
>
>> Alex,
>>
>> It seems that you sent this code back in 2006. Wow.
>>
>> The code to oxf:pdf-template has changed since then. In fact, we  
>> committed some improvements yesterday.
>>
>> But I think that some of the features you implemented have not made  
>> it yet.
>>
>> Would you happen to have the time to check what's missing in your  
>> version vs. the latest version (to get from http://forge.objectweb.org/nightlybuilds/ops/ops/ 
>>  since our CVS sync is still broken)? I attach the source you sent  
>> back then for reference.
>>
>> -Erik
>> <pdf-template.zip>
>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>
>>> Erik, once upon a time I sent you an adapted version of the PDF  
>>> processor that did have ability to load external fonts (besides  
>>> other things, like ability to create multi-page files...). I don't  
>>> think you used that code though and was thinking at that time that  
>>> the "other" code you used when you released 3.5 (I think) was  
>>> better than the one I sent you.
>>>
>>> A.
>>>
>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>
>>>> I don't think it has this capability, at least we do not do  
>>>> anything special to load external fonts.
>>>>
>>>> -Erik
>>>>
>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>
>>>>>
>>>>> Does the pdf-processor at version 3.5 have the ability to pick  
>>>>> up external
>>>>> fonts? If so, how do you specify these external fonts?
>>>>> --
>>>>> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>>>> Nabble.com.
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the ops-
>>>>> users@ow2.org mailing list.
>>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the ops-users@ow2.org  
>>>> mailing list.
>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org  
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: pdf-processor enhanced

Alessandro Vernet
Administrator
On Tue, Aug 19, 2008 at 2:32 AM, МОНАХ <[hidden email]> wrote:
>
> In FOP 0.95 don't need the XML font metrics files anymore:
> http://xmlgraphics.apache.org/fop/0.95/fonts.html#custom
>
> Today used version 0.93. When 0.95 will be integrated in Oberon?

We have no plans for doing this in the short term, but you could try
the upgrade yourself. The first step would be to replace the jars. If
there were changes to the API, maybe the code for the processor needs
to be changed as well. If you get a chance to try this, please let us
know.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: pdf-processor enhanced

Erik Bruchez
Administrator
In reply to this post by МОНАХ
We have a patch for 0.94:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=310713&group_id=168&atid=350207

Hopefully 1) we can integrate this soon and 2) 0.95 is not very  
different. But 0.94 may be ok if I read that link well.

-Erik

On Aug 19, 2008, at 2:32 AM, ????? wrote:

>
> In FOP 0.95 don't need the XML font metrics files anymore:
> http://xmlgraphics.apache.org/fop/0.95/fonts.html#custom
>
> Today used version 0.93. When 0.95 will be integrated in Oberon?
>
>
>
>
>
> Erik Bruchez wrote:
>>
>> Ok no problem. We are regularly improving on this processor, so we  
>> may
>> still include some of your changes.
>>
>> -Erik
>>
>> On Apr 2, 2008, at 10:16 PM, Alexander Zatko wrote:
>>> I am not a java programmer - a friend of mine did the mod at that
>>> time. So given that there hasn't been that much interest in the
>>> additional functionality my version has, I do not see much sense to
>>> invest time into the comparison (unless Peter is monitoring this
>>> list and wants to take a look at it himself).
>>>
>>> A.
>>>
>>>
>>> On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:
>>>
>>>> Alex,
>>>>
>>>> It seems that you sent this code back in 2006. Wow.
>>>>
>>>> The code to oxf:pdf-template has changed since then. In fact, we
>>>> committed some improvements yesterday.
>>>>
>>>> But I think that some of the features you implemented have not made
>>>> it yet.
>>>>
>>>> Would you happen to have the time to check what's missing in your
>>>> version vs. the latest version (to get from
>>>> http://forge.objectweb.org/nightlybuilds/ops/ops/
>>>> since our CVS sync is still broken)? I attach the source you sent
>>>> back then for reference.
>>>>
>>>> -Erik
>>>> <pdf-template.zip>
>>>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>>>
>>>>> Erik, once upon a time I sent you an adapted version of the PDF
>>>>> processor that did have ability to load external fonts (besides
>>>>> other things, like ability to create multi-page files...). I don't
>>>>> think you used that code though and was thinking at that time that
>>>>> the "other" code you used when you released 3.5 (I think) was
>>>>> better than the one I sent you.
>>>>>
>>>>> A.
>>>>>
>>>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>>>
>>>>>> I don't think it has this capability, at least we do not do
>>>>>> anything special to load external fonts.
>>>>>>
>>>>>> -Erik
>>>>>>
>>>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>>>
>>>>>>>
>>>>>>> Does the pdf-processor at version 3.5 have the ability to pick
>>>>>>> up external
>>>>>>> fonts? If so, how do you specify these external fonts?
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>>>> Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the ops-
>>>>>>> [hidden email] mailing list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>>> http://www.orbeon.com/
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p19047086.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: pdf-processor enhanced

МОНАХ
In reply to this post by Alessandro Vernet
I am not the java-pro coder. Simple substitution of the fop.jar raise the "NoDefCclassFound" error.

Alessandro Vernet wrote
On Tue, Aug 19, 2008 at 2:32 AM, МОНАХ <monik2007lg@mail.ru> wrote:
>
> In FOP 0.95 don't need the XML font metrics files anymore:
> http://xmlgraphics.apache.org/fop/0.95/fonts.html#custom
>
> Today used version 0.93. When 0.95 will be integrated in Oberon?

We have no plans for doing this in the short term, but you could try
the upgrade yourself. The first step would be to replace the jars. If
there were changes to the API, maybe the code for the processor needs
to be changed as well. If you get a chance to try this, please let us
know.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: pdf-processor enhanced

МОНАХ
In reply to this post by Erik Bruchez
Yes, 0.94 may be ok.

I try use fop-0.95 standalone, but the new feature of "auto-registration of fonts " dont help me (fop cant found fonts, which i need). :(

So we return to problem supporting config file of FOP by Orbeon (about this roblem spoke Edpriwer):

----------<CUT START>---------------------------------
I found a quick solution for this problem yesterday...

We're using Orbeon v3.5 which uses an older version of FOP to generate
PDFs (fop 0.25 vs fop 0.93 I think). I checked out the orbeon source
code and updated the XSLFOSerializer to include:

File userConfigFile = new File("userconfig.xml");
new Options(userConfigFile); // this sets up a static config class

This tells FOP the location of a configuration file where external fonts
are specified (the code will be slightly different for fop 0.93).
----------<CUT END>---------------------------------




Erik Bruchez wrote
We have a patch for 0.94:

http://forge.objectweb.org/tracker/index.php?func=detail&aid=310713&group_id=168&atid=350207

Hopefully 1) we can integrate this soon and 2) 0.95 is not very  
different. But 0.94 may be ok if I read that link well.

-Erik

On Aug 19, 2008, at 2:32 AM, ????? wrote:

>
> In FOP 0.95 don't need the XML font metrics files anymore:
> http://xmlgraphics.apache.org/fop/0.95/fonts.html#custom
>
> Today used version 0.93. When 0.95 will be integrated in Oberon?
>
>
>
>
>
> Erik Bruchez wrote:
>>
>> Ok no problem. We are regularly improving on this processor, so we  
>> may
>> still include some of your changes.
>>
>> -Erik
>>
>> On Apr 2, 2008, at 10:16 PM, Alexander Zatko wrote:
>>> I am not a java programmer - a friend of mine did the mod at that
>>> time. So given that there hasn't been that much interest in the
>>> additional functionality my version has, I do not see much sense to
>>> invest time into the comparison (unless Peter is monitoring this
>>> list and wants to take a look at it himself).
>>>
>>> A.
>>>
>>>
>>> On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:
>>>
>>>> Alex,
>>>>
>>>> It seems that you sent this code back in 2006. Wow.
>>>>
>>>> The code to oxf:pdf-template has changed since then. In fact, we
>>>> committed some improvements yesterday.
>>>>
>>>> But I think that some of the features you implemented have not made
>>>> it yet.
>>>>
>>>> Would you happen to have the time to check what's missing in your
>>>> version vs. the latest version (to get from
>>>> http://forge.objectweb.org/nightlybuilds/ops/ops/
>>>> since our CVS sync is still broken)? I attach the source you sent
>>>> back then for reference.
>>>>
>>>> -Erik
>>>> <pdf-template.zip>
>>>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>>>
>>>>> Erik, once upon a time I sent you an adapted version of the PDF
>>>>> processor that did have ability to load external fonts (besides
>>>>> other things, like ability to create multi-page files...). I don't
>>>>> think you used that code though and was thinking at that time that
>>>>> the "other" code you used when you released 3.5 (I think) was
>>>>> better than the one I sent you.
>>>>>
>>>>> A.
>>>>>
>>>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>>>
>>>>>> I don't think it has this capability, at least we do not do
>>>>>> anything special to load external fonts.
>>>>>>
>>>>>> -Erik
>>>>>>
>>>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>>>
>>>>>>>
>>>>>>> Does the pdf-processor at version 3.5 have the ability to pick
>>>>>>> up external
>>>>>>> fonts? If so, how do you specify these external fonts?
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>>>> Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the ops-
>>>>>>> users@ow2.org mailing list.
>>>>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>>> http://www.orbeon.com/
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the ops-users@ow2.org
>>>>>> mailing list.
>>>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the ops-users@ow2.org
>>>>> mailing list.
>>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the ops-users@ow2.org
>>>> mailing list.
>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>> For general help: mailto:sympa@ow2.org?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org  
>> mailing
>> list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/pdf-processor-enhanced-tp2611635p19047086.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: pdf-processor enhanced

Marcus-2
In reply to this post by Erik Bruchez
Hi again,
found that old post and would be interessted, if there have been news on
this?
In the docs it says that Orbeon 3.7. is still using fop 0.20.5 but in
the libs there is fop 0.93 i think, right?

OK, what i have to do is, confert xml data out of the exist-db into a
pdf-file.
I guess i have to use xsl:fo stylesheets and the XSLFOserializer, right?
Is there any simple example how to do this?

And the next point is, that i also need to use external fonts, cause
we're using special characters out of utf-8 and for that some special
fonts, that can display those character. So, if there is any doc, how i
can do this, any help is appreciated.

Thanks a lot in advance,
regards, Marcus




Erik Bruchez schrieb:

> Ok no problem. We are regularly improving on this processor, so we may
> still include some of your changes.
>
> -Erik
>
> On Apr 2, 2008, at 10:16 PM, Alexander Zatko wrote:
>> I am not a java programmer - a friend of mine did the mod at that
>> time. So given that there hasn't been that much interest in the
>> additional functionality my version has, I do not see much sense to
>> invest time into the comparison (unless Peter is monitoring this list
>> and wants to take a look at it himself).
>>
>> A.
>>
>>
>> On Apr 2, 2008, at 11:13 PM, Erik Bruchez wrote:
>>
>>> Alex,
>>>
>>> It seems that you sent this code back in 2006. Wow.
>>>
>>> The code to oxf:pdf-template has changed since then. In fact, we
>>> committed some improvements yesterday.
>>>
>>> But I think that some of the features you implemented have not made
>>> it yet.
>>>
>>> Would you happen to have the time to check what's missing in your
>>> version vs. the latest version (to get from
>>> http://forge.objectweb.org/nightlybuilds/ops/ops/ since our CVS sync
>>> is still broken)? I attach the source you sent back then for reference.
>>>
>>> -Erik
>>> <pdf-template.zip>
>>> On Apr 2, 2008, at 12:32 PM, Alexander Zatko wrote:
>>>
>>>> Erik, once upon a time I sent you an adapted version of the PDF
>>>> processor that did have ability to load external fonts (besides
>>>> other things, like ability to create multi-page files...). I don't
>>>> think you used that code though and was thinking at that time that
>>>> the "other" code you used when you released 3.5 (I think) was
>>>> better than the one I sent you.
>>>>
>>>> A.
>>>>
>>>> On Apr 2, 2008, at 9:16 PM, Erik Bruchez wrote:
>>>>
>>>>> I don't think it has this capability, at least we do not do
>>>>> anything special to load external fonts.
>>>>>
>>>>> -Erik
>>>>>
>>>>> On Mar 31, 2008, at 8:05 PM, Edpriwer wrote:
>>>>>
>>>>>>
>>>>>> Does the pdf-processor at version 3.5 have the ability to pick up
>>>>>> external
>>>>>> fonts? If so, how do you specify these external fonts?
>>>>>> --
>>>>>> View this message in context:
>>>>>> http://www.nabble.com/pdf-processor-enhanced-tp2611635p16409347.html
>>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>>> Nabble.com.
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>> http://www.orbeon.com/
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.5/1356 - Release Date: 02.04.2008 16:14


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws