a convenience -delete-cache option to the Fop command line as
quite a few users have previously asked how to delete/clear this file (when
not knowing its location on the filesystem).
Hope this helps,
Adrian.
On 14 August 2010 20:38, Adrian Cumiskey adrian.cumis...@gmail.com wrote:
Sorry
-cache with the Java system
property –Duser.home, so one can direct it to a different place by editing
the JAVAOPTS set in fop.bat.
Best Regards,
Jonathan Levinson
*From:* Adrian Cumiskey [mailto:adrian.cumis...@gmail.com]
*Sent:* Sunday, August 15, 2010 12:28 PM
*To:* fop-users
the font cache file in the user's home directory.
I will work this weekend on reinstating this feature and integrate it into
the current font caching system.
Cheers, Adrian.
On 14 August 2010 09:09, Adrian Cumiskey adrian.cumis...@gmail.com wrote:
Hi Jonathan,
The font caching was written prior
Hi Jonathan,
The font caching was written prior to the Windows 7 release so it was never
tested at the time. There is currently no way of telling Fop where to put
its font cache but it shouldn't be too much effort to add this feature.
I'll look at adding support for this.
Adrian.
On 14 August
Hi Ismail,
FOP 0.20 is really out of date (many years!) and not supported anymore. I'd
recommend you update to the latest release (0.95) or trunk if its possible
for you project.
Adrian.
On 3 February 2010 06:37, ismail.k...@polaris.co.in wrote:
Hi All,
We are using FOP 0.20 for PDF
Hi Alessandro,
First off, FOP doesn't currently support the embedding of fonts in
resource files. You have to manually configure your printing
environment to make those fonts available and then declare their use in
your FOP configuration. I'm not familiar with that printer, infact I've
Hi all,
At the moment I am very busy working on something really important for a
client, but I plan in the next few weeks to try and automate the release
process a bit more. Thanks for the pointers Vincent. I can't make any
promises though, it all depends on how much time I find :)
All the
Hi Venkat,
Currently afp:include-page-overlay / is only supported as a child of
fo:simple-page-master master-name=simple as given in the example.
You'll need to adjust
org.apache.fop.render.afp.extensions.AFPPageSetupElement.startOfNode()
to make this extension allowable in
Hi Chris,
Details on how to subscribe to the FOP mailing list can be found at
http://xmlgraphics.apache.org/fop/maillist.html#fop-user. I'm guessing
from the missing imports, that you may have upgraded from FOP 0.20 to
0.95? Its good that you have upgraded as 0.20 is very old and is no
Hi Bharat,
Sorry for the delay in getting back to you but I'm a little swamped with
work at the moment.
As you have probably already discovered objects are placed in resource
groups using the afp:resource-level foreign attribute (see
Hi Vijay,
There is currently no BCOCA support in FOP's AFP libraries. Someone did
have a go at at implementing this feature some time ago but the patch
was not in an appliable state
https://issues.apache.org/bugzilla/show_bug.cgi?id=41995. This work
would be a good starting point for you.
Hi Bharat,
If your AFP environment supports it, you could try embedding you images
natively (instead of IOCA FS45) using the images native=true/ user
configuration option (see
http://xmlgraphics.apache.org/fop/trunk/output.html#afp-image-config).
Adrian.
attaluri1210 wrote:
Hi Everybody,
size?
Thanks,
Bharat
Adrian Cumiskey-2 wrote:
Hi Bharat,
If your AFP environment supports it, you could try embedding you images
natively (instead of IOCA FS45) using the images native=true/ user
configuration option (see
http://xmlgraphics.apache.org/fop/trunk/output.html#afp-image
format and
if possible pointers to detailed instructions/documntation/ideas will be
greatly helpful.
Thanks.
Vijay
Adrian Cumiskey-2 wrote:
Hi,
There is currently no support for this. I have no time at the moment to
implement this feature, but let me know if you would like some pointers
if there is another forum for these
specific
issues.
Thank you,
Vijay
Adrian Cumiskey-2 wrote:
Hi Vijay,
Sorry to hear you are new to the AFP format, you have a lot of reading
to do! :-). Also apologies for the delay in getting back to you but I
really have no free time at the moment
Hi,
There is currently no support for this. I have no time at the moment to
implement this feature, but let me know if you would like some pointers and
I'll try to help.
Adrian.
2009/5/23 vvijay vij...@me.com
I have seen some discussion in 2006 in this forum about Media or paper tray
Hi Tobias,
Do you use many page sequences in your FO documents? FOP processes
documents by page sequence so if you can section the document contents
into lots of small page sequence segments this can help a lot with
memory consumption.
Good luck!
Adrian.
Tobias Anstett [k15t.com] wrote:
(fopConfiguration));
FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
But it still creates version 3 PS-files (I checked the header).
Am I missing something else?
Thanks,
Frank
Adrian Cumiskey-2 wrote:
Hi Frank,
Yes, you can do this with the language-level configuration option (see
http
Hi Frank,
Yes, you can do this with the language-level configuration option (see
http://xmlgraphics.apache.org/fop/0.95/output.html#ps-configuration).
Adrian.
Frank Niedermann wrote:
Hi,
we are using Apache FOP to create PS files which should be printed on a
HP-Unix machine.
Unfortunately
I did *some* cleaning up of the font configuration recently
(http://svn.apache.org/viewvc?view=revrevision=756522). This should
make it a little easier to programmatically hook into FOP's font
configuration. PrintRendererConfigurator no longer has all the nuts and
bolts that it once did
that all I
needed was to access PrintRenderer. But that I couldn't do (unless I
set up my own from scratch?).
So I do more or less what Jeremias suggested - I use my
ListEmbedFontInfo fontList to create a userConfig, and go from
there.
thanks
Jason
On Tue, Mar 24, 2009 at 10:30 PM, Adrian Cumiskey
with
any questions that you may have.
Kind regards,
Adrian Cumiskey.
-
To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Also it may be helpful if you are able to tell us which version of JEuclid you
are using.
Adrian.
Adrian Cumiskey wrote:
Hi Paul,
The NullPointerException is coming from the ImageInputStream being
null. This looks like one for Max as I suspect it may be a problem with
the JEuclid
Paul,
I think you may have a classpath problem as the PreloaderMathML class now resides in
org.apache.fop.mathml package (as part of FOP 0.95), not net.sourceforge.jeuclid.xmlgraphics anymore
- you may need to upgrade your JEuclid too.
Adrian.
Adrian Cumiskey wrote:
Hi Paul
a look at PFMInputStream.readString(), it is evident what is going
wrong. The stream only catches zero terminations but not EOF (i.e. -1).
Wouldn't make it sense to catch EOF here as well?
Greetings, Ingo
-Ursprüngliche Nachricht-
Von: Adrian Cumiskey [mailto:[EMAIL PROTECTED]
Gesendet
Hi Ingo,
Looking at the stack trace it doesn't look to be a problem with font autodetection, more to do with
a parsing problem on one of your PFM files. I'm guessing it must be an erroneous one as I wasn't
able to reproduce the problem with the PFM font file that I tried.
Could you try
Hi Ingo,
Many thanks for reporting this problem. My guess is that the static (and unsynchronized)
createFontKey() method in org.apache.fop.fonts.FontInfo may be causing the problem...
I will commit a fix shortly and then will ask you to update your FOP trunk and
re-test.
Adrian.
Ingo Maas
Hi all,
As most of you probably already know, you are currently able to map font references to a custom font
as follows :-
!-- register a particular font --
font metrics-url=file:///C:/myfonts/FTL_.xml kerning=yes
embed-url=file:///C:/myfonts/FTL_.pfb
font-triplet
Hi Fatih,
What you are describing seems not to be available in 0.94 or 0.93. Without checking I'm guessing
they were available in 0.20 and somehow got lost, can anyone verify this?
My changes in the Temp_AFPGOCAResources code branch will include a new page group being created for
each
Many thanks for the information Tom,
I'll try out his application - although I use three for testing already! Any tips, advice that the
FOP community are able to offer would be much appreciated as AFP is not the easiest format to
test/debug/develop due to its extensive nature, mammoth
Even though FOP configuration is quite well documented
(http://xmlgraphics.apache.org/fop/0.94/configuration.html), I think there is a need for
a FOP configuration tool. It would help new users get up and running quickly and allow existing
users to easily manage their existing configurations.
Hi Fatih,
ResourceGroups are not currently supported in AFP, but I am currently working on this and support
for this feature should appear shortly in the latest FOP trunk code.
Adrian.
Fatih Piristine wrote:
I want to add form definition tags ( called BRG; Begin Resource Group )
in AFP
Hi all,
A thought occurred to me whilst implementing something and I thought I would share it with you.. I
don't have time to implement this but maybe somebody else would like to pick up this idea/suggestion...
Basically, I was wondering if anyone thought it would be a useful feature to be
Hi Peter,
I'm not quite sure why this feature would be useful, maybe it would be
helpful if you could explain your requirement for this? Currently there is
no public API for this. Anyhow, if you really need to make a programmatic
customization you might want to take a look at
Hi Steve,
I think the best way for you to achieve this is to extend the RendererConfigurator implementing
class for the renderer you wish to programmatically change the fonts for. You will then need to
update the instance reference to your new class in the getConfigurator() method in the
I'm not exactly sure how stripped back postscript level 1 is and what its limitations are. But
looking through the code the language-level setting is referenced only where postscript image
generation is taking place and the tests seem to be upwards of level 2, 3 and 4.
Adrian.
Johannes
Hi Anjuli,
Please file a bug at
http://issues.apache.org/bugzilla/enter_bug.cgi?product=Fop. Please
also remember to attach the FO input file that you used to the bug
report. This should really help someone investigate the problem.
Cheers,
Adrian.
[EMAIL PROTECTED] wrote:
Hi,
I am
/xmlgraphics-fop/ExtensionsForPostScript (by Adrian
Cumiskey and Jeremias Maerki). But when I tried to execute the given
example, I've got following error:
Error(6/46): No element mapping definition found for (Namespace URI:
http://xmlgraphics.apache.org/fop/postscript;, Local Name:
ps-setpagedevice
Hi Charles
I'd advise you to check your java classpath, it sounds like you might
have an old version of xmlgraphics-commons hanging around causing
mischief. Fop 0.94 should be using xmlgraphics-commons-1.3svn.jar which
comes in the lib folder of the distribution.
Adrian.
[EMAIL PROTECTED]
Hi Dan,
Firstly, you may want to check your font-base/ and/or base/ settings
to make sure they refer to an absolute path.
I'm trying to go easy here, but if possible I'd strongly recommend that
you try and upgrade to using 0.94. 0.20.5 is getting pretty old now and
isn't really supported.
Hi Nancy,
If you want to transform your XML documents into Open Document Format
you could write an XSLT stylesheet that is able to take your XML
documents and achieve the transformation. Depending on the complexity
of the layout you require, this would involve you spending quite a bit
of
Hi Murali,
I would recommend that you read
http://xmlgraphics.apache.org/fop/0.94/servlets.html as a starting point
for the server side component of your requirement. If you are a Java
programmer I'd then look at extending either
src/java/org/apache/fop/servlet/FopServlet.java
My initial/first thought is that the font is called 'Arial' and *not*
'Ariel'? :-S
My advice is to please carefully read and check your configuration
against http://xmlgraphics.apache.org/fop/trunk/fonts.html. If you are
still having problems its probably best if you post up your fop.xconf.
Hi Peter/Wilfred,
Please post up your fop.xconf user configuration file.
Adrian.
WilfridUtz wrote:
Hi Peter,
I am using Cocoon and experiencing the same problem - everything fine in
Windows, font not found in linux!
Did you come up with a solution in 2005?
Thanks,
Wilfrid
Peter Verhoye
Hi Jay,
What type of images are they? Also please provide the full exception
stack trace. If you could host the images somewhere along with the FO
which references them so they could be referenced in a test that would
be helpful also.
Adrian.
Jay wrote:
Hi All,
This is Digvijay.
Hi Matthias,
As far as I know, none of the base urls should be relative paths (see
http://xmlgraphics.apache.org/fop/0.94/configuration.html#general-elements).
For a guide to font registration with 0.94, see
http://xmlgraphics.apache.org/fop/0.94/fonts.html#register.
Adrian.
Matthias
Hi Martijn,
My first thought it that it looks like you may be trying to use a 0.20
configuration with a 0.93/trunk version of FOP.
If you are using 0.93 or later version of FOP (which is highly
recommended) then you should change each font definition in your
configuration file to use a
Hi Martijn,
Martijn Laarman wrote:
Adrien Cumiskey , what exactly do you mean with a trunk version of FOP
?
This just means you are using the 'latest and greatest' FOP code built
from the Apache source repository (rather than a recognised official
version).
It sounds like you might be
should I do since I've never
followed fop-dev before.
Thanks.
Adrian Cumiskey wrote:
Hi William (and all),
This did turn out to be an encoding problem after all. Unfortunately
I do not have the time at the moment to provide a fix for this problem.
but I have provided a patch which provides
Hi Andrejus,
No I don't think there anything preventing you from making this change,
although I would probably go for declaring this as a protected
variable and making it package visible (as it is only ever used in
org.apache.fop.render.ps.extensions). I would suggest you go ahead and
Hi Andrejus,
Nice patch :-). It would make it easier for one of the FOP committers
to process it if you could submit it to the FOP patch queue at
http://issues.apache.org/bugzilla/enter_bug.cgi.
Adrian.
Andrejus Chaliapinas wrote:
Hi Adrian,
I would suggest you go ahead and
submit a
Hi Javier,
The Avalon dependencies are minimal in the latest trunk build (and the
forth coming 0.94 release). FOP uses Apache Commons logging which
allows you to chose which ever logging implementation you desire. The
old configuration dependencies are now minimal, I abstracted all that
Hi Hugues,
HLeonardi wrote:
- font autodetection : I have tested this feature but the results were
wrongs. When I have a little time, I will take a look at the doc and I
test again.
It would be great if you could provide me some more information about
this please. I am pretty sure that the
Thanks Chris, just to clarify - I meant to say
http://issues.apache.org/bugzilla/show_bug.cgi?id=42576.
Adrian.
Chris Bowditch wrote:
Andreas L Delmelle wrote:
On Jul 10, 2007, at 11:24, Adrian Cumiskey wrote:
Hi Adrian
Yes I also verified this problem. This is a different bug
Hi Guillaume,
Yes I also verified this problem. This is a different bug to the other
force-page-count problem which was fixed
(http://issues.apache.org/bugzilla/show_bug.cgi?id=42779). Please open
a new bug entry.
Adrian.
Vincent Hennebert wrote:
Hi Guillaume,
guillaume levrero a écrit
Try increasing the amount of memory available to your VM by using the
java extended argument option -Xmx{???}M, where {???} is the number of
megabytes you wish to make available to the java virtual machine.
Adrian.
[EMAIL PROTECTED] wrote:
While generating a PDF from XML+XSL using FOP 0.93,
Hi Johan,
Sounds like you have an ordering problem. Each conditional-page-master
is evaluated in turn as each page is processed in the page sequence so
you should generally order them page-position=first, followed by
page-position=rest and finally page-position=last.
If I understand you
Hi Kerstin,
Sorry but could you be a little more descriptive of the problem you are
having? Providing some FO source examples would be of great help in
examining any problems you are experiencing with the RTF output.
Incidentally which RTF viewing application are you using to display/test
Hi Trevor,
For your table/column headings - if you wrap the textual content of your
fo:table-cell/ within a block it should by default wrap the text
within it since the wrap-option attribute of fo:block/ defaults to
wrap.
The blank line between your table headings and table rows can be
Hi Rigas,
Please file a bug with an attached example FO showing the problem in the
bug tracking system (http://issues.apache.org/bugzilla/enter_bug.cgi).
Cheers,
Adrian.
Rigas Parathyras wrote:
Hello everyone,
I am having a problem in FOP 0.93 in the following example
Test case: There is
Hi Franz,
Do the width and height variables in your code snippet have values?
I don't see the display.width and display.height variables being passed
to your stylesheet when you execute fop from the command line. To do
this use the -param argument.
try :-
fop.bat -c userconfig.xml -xml
Hi Deryl,
Which version of FOP are you using? It would be really helpful if you
include the FO file in full.
Cheers,
Adrian.
Deryl Seale wrote:
I am trying to render a numbered (well, lettered really) list in RTF
format, but FOP doesn't apply the styles I specify. I have tried the
I would like to suggest that users who submit patches try to remember to
provide a base subversion revision id of the code they have modified
along with their patch. In this way if over time the patch becomes a
little out of date with the current state of the trunk code, the value
of the
Hi Christian,
It might also be useful if you could provide us with your original FO
file that you generated the PDF from.
Adrian.
Stefan Heuer wrote:
Hi Christian,
Can you give us a little bit more information. What PDF viewer you
use? And if possible a sample file.
I can search in my PDF
Hi Derrill,
It would be helpful if you could tell us which version of FOP you are
using. If possible I would recommend you switch to trunk code as this now
contains much tighter configuration that should highlight any
misconfigurations (including unresolved paths) that you may have.
Adrian.
Please raise a bug in our bugzilla bug tracking system
(http://issues.apache.org/bugzilla/enter_bug.cgi) and I will look into
fixing this for you.
Adrian.
nogunner wrote:
Hi All,
I've found an issue with the force-page-count: I need to start every new
page-sequence on an odd page number,
Hi Balamurali,
I believe you are using an older 0.20 release of FOP which is no longer
actively supported. I'm not sure about the support for what you are
trying to do in that version. If it is possible to do so, I'd recommend
upgrading to 0.93 and try again.
Cheers,
Adrian.
[EMAIL
Hi Andreas,
This should fix the problem :-
font metrics-url=file:///C:/apache_fop_fonts/batang.xml kerning=yes
embed-url=file:///C:/apache_fop_fonts/BATANG.TTF
I recently worked on developing a more tightly validated FOP configuration
and some new font autodetection functionality. This should
Hi Rakesh,
Looks to me like you are missing avalon-framework-4.2.0.jar from your
Tomcat classpath. You can find this jar file in lib folder underneath
your top-level FOP project folder.
Adrian Cumiskey.
rakesh satharasi wrote:
Hi,
I am developing a web application which will read
.
Adrian Cumiskey.
[EMAIL PROTECTED] wrote:
Hi,
I need help to solve a problem with XSLTInputHadler and Driver class,
working with fop 0.20.5 version.
I need to generate a pdf from a xslt source existing in my project and a
xml source received as a parameter.
I´m using this constructor method
Hi Mildred,
See my reply below..
Mildred wrote:
Hi,
I'm trying to create a document using XSL and FOP containing tibetan
prayers. And I'm having troubles with fonts.
At first, all my tibetan characters were represented by a #. I looked
at the fop website and I managed to create a
should go
*some* way towards breaking out the dependencies.
I imagine in the longer term the basic URI resolution should maybe go in
Batik with a specialisation of this class in FOP. What does everybody
else think?
Adrian Cumiskey.
On 27.04.2007 12:50:35 Peter wrote:
Thanks Jeremias
(e.g. a
ByteArrayOutputStream) object and then wrap it in a Result object which
is passed to the transform() method of the transformer.
Adrian Cumiskey.
Marcel S wrote:
Hello,
I made an application that creates a PDF-File with the FOP-Engine.
My problem is that i can only save the PDF-File
Hi David,
Have not tried to reproduce this with 0.92 beta or 0.93. This FO
list-block seems to work fine in the trunk. Which RTF viewer are you
using to test the results?
Adrian.
davidl wrote:
Hi,
I'm using FOP 0.92 beta to convert FO to RTF. I have a numbered list in the
FO but list
. There are many improvements in FOP 0.93, and font
(auto)configuration/detection is about to become much easier when my
patch is applied to the trunk. If it is possible for you to switch over
to using FOP instead maybe via HTTP calls to the FOPServlet I would
recommend that you do so.
Best of luck,
Adrian
Hi Jonn,
You downloaded the source only. You need to build it with ant first.
cd D:\fop-0.93
ant jar-main
fop
Adrian.
jonn wrote:
I have downloaded fop-0.93-src.zip and extracted it and added fop-0.93\lib
folder to classpath.
And simply tried ‘fop’ command without args. I got this error.
Hi Jan,
I think maybe you might need to quote the value of your filename
parameter ...
Try this :-
response.setHeader(Content-Disposition, attachment; filename=\ +
fileName + \);
Adrian.
Zmitko, Jan wrote:
Hi,
I try do suggest a filename to the generated pdf´s. However the PDF should
Hi Tom,
If all your FO files reside in the same place then place a font-base
definition in your FOP configuration file. If your FO files are located
in different locations make a call to userAgent.setBaseURL(baseURL)
before processing the FO file to set the base url used for resolving.
. In the case of attachment the filename is
allways set (with and without escaping).
-Ursprüngliche Nachricht-
Von: Adrian Cumiskey [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 12. März 2007 10:26
An: fop-users@xmlgraphics.apache.org
Betreff: Re: suggest a filename to a generated pdf
Hi Yaya,
Are you using FOP 0.20 or 0.93? Please post up your input xml/XSL-FO
files and I'll take a look at it.
Adrian.
DIALLO Yaya wrote:
Hi,
I use FOP 0.93 to generate a pdf file from xml/XSL-FO. While opening,
the file I get the following error, unable to open the file , the file
Hi Johan,
This is not really an XSL-FO or FOP related question, please find
another mailing list for helping you with this solution.
Cheers,
Adrian.
Johan Johansson wrote:
Hi everyone,
Im trying to figure out if it is possible to write som variable/text to a file
and append the file if
Hi Hinrich,
You can use fo:declarations to do this.
I think this link will help you find what you are looking for :-
http://wiki.apache.org/xmlgraphics-fop/HowTo/XMP
Adrian.
Hinrich Aue wrote:
Hello,
I’m trying to add meta information to my PDF output.
I’m using docbook, but since it
This should work..
Try using the URL jar protocol :-
jar:file:///c:/folder/lib.jar!fonts/font.xml
Adrian.
David Morales wrote:
Hi all...
I need to distribute all xsl-stuff in a jar file, including fonts
(userconfig.xml, fonts.xml, and ttf files)... but can fop read fonts
from a URL?? I
Chris Bowditch wrote:
Simon Pepping wrote:
- A nonexistent metrics file URL for a font that is not used is not a
problem.
Agreed.
The problem is that you only know if the font is going to be used at
runtime - then you have to handle the error in some way. So I think its
best to catch
Hi Andreas,
I like this idea and suggest adding a new configuration variable called
'strict-config' with a default value of false. What does everyone else
think?
regards,
Adrian.
Andreas L Delmelle wrote:
On Jan 23, 2007, at 15:06, Adrian Cumiskey wrote:
Hi Adrian,
I am investigating
this???
I'va tried to set sun.java2d.fontpath system property... and also
copying mt fonts to $jdk/jre/lib/fonts...
What about org.apache.fop.render.java2d.FontSetup class can i extend
this funcionality or anyother to add fonts??
Thanks.
Adrian Cumiskey escribió:
Hi David,
This looks
Hi Joerg,
I have just ran the same test and looked at the code and I believe that
it might be a problem with your ttf file.
It looks like the ttf file could be clipped - the last instruction in
the ttf reader skips 4 * 4 bytes memory usage values which takes this
ttf file to the end of the
Hi Xavier,
The exception is thrown on this line because of the method call on a
null rootFObj object reference.
416: BookmarkTree bookmarkTree = rootFObj.getBookmarkTree();
Although not sure why the rootFObj reference is null...
I am new to the fop project and still finding my way but will
88 matches
Mail list logo