If you hard code the bookmarks how would you handle the id resolution,
as that is done through the area tree. Potentially you could code the
bookmarks in other renderers like AWT.
-Original Message-
From: Glen Mazza [mailto:[EMAIL PROTECTED]
Sent: Monday, 25 October 2004 12:26 PM
To: [EM
resolving and output) so rather than being
an area it is an extension at the area tree (document) level.
Not sure what other examples there would be, but of course it was
originally done to handle bookmarks and anything like that that came
along.
Hope that is clear.
Keiron
-Original Message
.
Also an older file on a newer viewer works as expected with the features
in the file.
So you can use newer features in the fo and output PDF and as long as
the default for the objects is suitable then it should display well on
both.
Keiron
-Original Message-
From: Glen Mazza [mailto:[EMAIL
Hi,
Mostly it was copied over from what I remember. There were some changes
in regards to cleaning it up a bit, adding some features and trying keep
the separation from the rest of the code clean. Some of the extra
features are fairly extensive and do change how the PDF package is used.
Keiron
Hi,
Thanks for the support.
I will go ahead and do whatever I can to help out with this and be part
of the XML graphics PMC.
I have read all the emails about this concept and think that it is a
good idea and should help things develop in useful directions.
Regards,
Keiron Liddle
-Original
;
> http://xml.apache.org/fop/resources.html
I agree with Pete here - this AFP renderer is too disjointed and has a
few
limitations which make it too unpractical.
>
> And--amazing what Google searches turn up--Keiron also
> created one for FOP apparently:
>
> http://www.aftex
Congrats, have fun should be nice down there.
-Original Message-
From: Peter B. West [mailto:[EMAIL PROTECTED]
Sent: Thursday, 17 June 2004 11:07 PM
To: fop-dev
Subject: Offline
Fopfellows,
I will be offline for the next week. I'm marrying Jenni tomorrow, and
honeymooning in the froze
> Hi,
>
> I was looking at some of the border issues and would like to ask for a
> little clarification of which of area rectangle that is described by
> Block.getHeight and Block.getWidth.
I think the intention was that it is the allocation width and height, the content is
then calculated fro
> This sounds bad, shouldn't FOP take the charge of font
> metric measurement before rendering to different
> format?
It does, the font metrics for SVG are the AWT metrics taken from java which are
from the current platform.
> Does this mean that for different fonts, SVG output
> will alway have
the different output you are
experiencing as the flow of the text depends on the size of each character in the
font.
Keiron
> Hi, everyone.
>
> I recently come across to that the SVG output and PDF
> output are slightly off each other.
>
> Take a look at the examples\ba
for us.
> Andreas added your comments to the Bugzilla report so
> they won't be lost. We'll get to these issues
> (hopefully!) soon.
>
> Glen
Keiron
> Team,
>
> While Victor and Jeremias are discussing an input
> API--I'd like to take advantage now of the relative
> freeze in the codebase to move the StructureHandler
> and LayoutHandler classes from the apps package to the
> fo and area packages respectively (similar to what
> we're doing with
> Thanks Keiron for the feedback!
>
> I found and reviewed the discussion regarding the move to Avalon (ref:
> http://marc.theaimsgroup.com/?l=fop-dev&m=10226606705&w=2 ).
>
> I also appreciate your point that some aspects of configuration have
> already been
> I'm reviewing the developer branch code and believe that although
> CommandLineOptions parses the -c option and caches a userConfigFile,
> the config file is not processed. FOP 0.20.5rc2 has an
> org.apache.fop.configuration package for handling the -c option. Hence
> it appears the -c option
keiron 2003/04/01 16:40:04
Modified:.status.xml
Log:
updated status re markers
Revision ChangesPath
1.28 +11 -11xml-fop/status.xml
Index: status.xml
===
RCS file: /home/cvs/xml-fop
Hi,
My three would be:
30, 13 and 20
Keiron
> Hello!
>
> I have added #30 as somehow modified #7 and added one new penguin logo.
> Now lets finally finish with this stuff. As Peter suggested lets vote by 3
> favorite logos first.
>
> My list:
> #30
> #2
> #21
.
So in what way is it not working for you, is the pattern not visible which may be
due to a wrong transform or is it some other problem.
Keiron.
Keiron,
during testing I found that type 1 patterns didn't work. Was that always
so? I coded a little proggie that built a PDF from scratch by
> These changes are in CVS (redesign) now.
>
> I've also introduced a dependency on Jakarta Commons IO, mainly because
> of the CountingOutputStream needed for on-the-fly stream output. It also
> contains several utility methods (such as for stream copy) that also
> exist in out codebase. I'd like
> I was curious and tried your code. Look like the drawImage method in
> question isn't implemented in PDFGraphics2D.java.
This is fixed in cvs, just moved some code.
> I modified your code and got a image in PDF when I did the following:
>
> while(!PDFGenerator1.drawImage(img, 400, 300,
keiron 2003/03/27 15:53:29
Modified:src/java/org/apache/fop/svg PDFGraphics2D.java
Log:
moved image drawing so drawing with size also works
Revision ChangesPath
1.4 +44 -45xml-fop/src/java/org/apache/fop/svg/PDFGraphics2D.java
Index: PDFGraphics2D.java
from there somehow.
Maybe you could use a dummy observer if the image is already loaded.
Keiron.
> How can I obtain an "java.awt.ImageObserver" that
> I can pass to one of the "drawImage" methods of
> PDFDocumentGraphics2D?
>
> Example:
>
>
>
> With regard to the faq, I just last night sliced out nearly all of the
> contents of the dev/faq.xml file. As far as I could tell, it was a duplicate
> of an old version of the faq.xml. Those changes are not reflected on the
> site yet (I have emailed Jeff to try to find out why not).
It wasn't
> I made some decent progress today on getting my head into the trunk code,
> and to document some of what I have learned. I am still confused by the
> "Development" and "Redesign" tabs. At first, I thought that maybe
> "Development" was for those who might be developing on the maintenance
> branch
> Jeremias Maerki wrote:
>
> > Anyway, may I ask for the reason that you want to do that?
>
> Sure. I am trying to port some code I wrote to implement text-transform for
> the maintenance branch over to the trunk. One of the key things there is to
> tie together all FOText objects that are part o
object with
all the text information.
The other is to reduce references in the fo tree.
So if possible I would suggest putting the required properties into the TextInfo
class.
Keiron.
> There is a change between the maintenance branch & the redesign (trunk) that
> I do not under
e can make a
release and then make that available to batik.
We will need to make a cvs tag. It will need to be decided within the next few
days.
Here"s my +1
So what do others think.
Keiron.
-
To unsubscribe, e-ma
> Hi,
>
> I'm new to FOP, just joined the mailing list and I'm not sure what
> exactly is going on so I'd *really* appreciate it if someone could
> explain how to build FOP from the latest src (if it is even possible).
> I've been unable to build FOP from the src archive as of 3/11. A couple
and objects. This
could make it unstable in the long term.
Keiron.
> Since several weeks there is a nullpointer exception in
InlineStackingLayoutManager.
> The appended fo file is the shortest example I can construct to reproduce the
error
> (using Java 1.3.1_04 on Linux and sna
> That's why I didn't commit the patch: I didn't want to re-add
> the PDFDocument reference to PDFXObject in order to get the
> add the encryption filter after the makeStream() without asking
> why the reference had been dropped on the way from maintenance
> to HEAD.
The PDFDocument was used in th
> Ok, runs ok with all images, except EPS (don't have a PS printer to test).
Has anyone verified that the EPS in the redesign works?
I couldn't get it to show up in xpdf (is that the one that supports it) and never
tried
on a printer.
> The other possibly untested case is th ICCProfile: does th
> Keiron, I assume it was you who wrote two of the mails and put the
> notifications on the Wiki page? With only the IP address it's difficult
> to tell (you can register your name in "Preferences". Nudge, nudge). Was
> it Togan, you contacted or one of the other two?
> I'm in major refactoring mode/mood. :-) So I would like to finally make
> the long due move from src/org/.. to src/java/org. We've discussed it
> more than once and we didn't come to an end. So I would like to propose
> the following:
>
> We remove the files normally using CVS commands and readd
> The encryption filter uses the number and generation as part of the hash to
> generate the key for a given object. In short, the encryption key is
> different for every object and is based on the number and generation of the
> object. I would have preferred something simpler but the PDFXObject is
keiron 2003/03/06 22:15:15
Modified:src/documentation sitemap.xmap
Log:
updated to latest forrest sitemap 1.71
Revision ChangesPath
1.11 +795 -531 xml-fop/src/documentation/sitemap.xmap
Index: sitemap.xmap
> Hi All,
>I am trying to use batik extensions through
> FOP. I added BatikElementMapping and BatikObj objects
> into my FOP src and then registered them in the driver
> class but I am still getting some exceptions. Can
> anybody help me out ? I am trying to embed the
> flowText.svg ( provi
Hi Peter,
For the inline-container all it does is return one or more inline viewport areas.
I think, but need to check, that it only can create more than one viewport if the IPD
of the contents is perpendicular to the parent IPD. This ensures that the areas a
properly ordered. If the IPD is the
> Peter, Keiron: how is the web site updated? I thought there was a
> cron job every few hours?
Currently it only updates the site here: http://forrestbot.cocoondev.com (seems to
be down at the moment)
>From this site you can update the main site by entering the correct
name/password,
Hi Jens,
> Hi!
>
> I've got a fo-task for which I need a working
> -object.
> This feature seems not to be implemented in the 0.20.x-version.
>
> I would like to know weather support for this element is planned for the
> coming versions (maintenance or redesigned-branch). Are any milestones
> pl
Hi Jeremias,
> You mean Batik will have pdf-transcoder.jar and ps-transcoder.jar in
> their distributions? Not the source, right?
That is correct.
> What about factoring out the code for the transcoders and supporting
> classes (like fonts) into a separate container/subproject accessible by
> bo
he PS transcoder? Could this be included.
Keiron
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
keiron 2003/03/03 19:55:54
Modified:src/org/apache/fop/fo Title.java
src/org/apache/fop/fo/flow Leader.java
Log:
fixed for changed method
Revision ChangesPath
1.14 +12 -11xml-fop/src/org/apache/fop/fo/Title.java
Index: Title.java
keiron 2003/03/03 19:50:54
Modified:src/org/apache/fop/fo/flow BasicLink.java BidiOverride.java
PageNumberCitation.java
Log:
updated for LayoutProcessor
Revision ChangesPath
1.20 +9 -3 xml-fop/src/org/apache/fop/fo/flow/BasicLink.java
keiron 2003/03/03 19:48:09
Modified:src/org/apache/fop/layoutmgr AbstractLayoutManager.java
BlockContainerLayoutManager.java
BlockLayoutManager.java
BlockStackingLayoutManager.java BreakPoss.java
king constraints.
In the diagram case 2, A is before B. So that in your example the after edge of
block A is after the after edge of block B, so m1.
Keiron
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
> Keiron Liddle wrote:
> > Hi all,
> >
> > In order to make things more modular I would like to split the layout manager
> > interface into two parts. One part that is used in the creation from the FO tree
and
> > another that is used by the implementations
have different layout implementations.
For now it shoud help make it a bit clearer and I want to have a go at trying the
ideas I have for doing the layout in a slightly different way.
I will call it LayoutProcessor unless there is a better idea.
Any objections?
Keiron
>
> stroke="#00" stroke-
> width="0.5" />
IIRC It is probably an error caused by this line being 0.5 width. In PDF lines can
only be whole numbers and it might wrongly be inserting 0.5 in the PDF causing
the error.
Try making it width 1.
If you need a 0.5 width line it can be scaled.
-
that much code anyway, it is mainly a
matter of getting the logic right.
When we know how it definitely should work then we can adjust it if necessary.
Keiron.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
keiron 2003/02/27 15:30:51
Modified:src/org/apache/fop/area PageViewport.java
src/org/apache/fop/layoutmgr AbstractLayoutManager.java
LayoutManager.java BlockLayoutManager.java
BlockContainerLayoutManager.java
work with IBM Java VM
> - blah. blah.
>
> Work planned for next week:
> - make it work with gcj
FYII just got a patched gcj 3.3 (compiling an exe) working with a cutdown of the
code. I think that gcj needs some work before it will be really useful.
Keiron.
> But the marker subtree from the previous page is tranposed into the same
> "containing page".
Where do you get that from, how is it transposed, I have not seen any information
about this?
Considering all the retrieve positions refer to areas in the "containing page" then
these markers transpo
> Keiron Liddle wrote:
> > How do you jump from the first sentance to the second one. The "containing
> > page" refers to the page where the marker is first formatted not where the
> > retrieve-marker occurs.
>
> A marker generates areas after being
> Looking at it again, I disagree. The "containing page" is the page
> containing the first area generated or returned by the children of the
> retrieved fo:marker. That is, the page on which the fo:retrieve-marker
> occurs in the static-content. This will only vary if the retrieval
> forces
> I haven't looked at markers too closely, but I would tend to think that,
> in the first case, block c is the last-starting-within-page. Blocks a,
> b and c all qualify; they all have an is-first trait of "true". So
> which one follows all others in the area tree, *in pre-order traversal
> o
> Exactly. All definitions regarding retrieve-position exclusively
> refer to the "current page". There is not a single word on what should
> happen if there is no matching marker on the current page but several
> on the previous page which are eligible. FOP picks the last, but there
> is absolutel
> Keiron,
>
> I haven't looked at markers too closely, but I would tend to think that,
> in the first case, block c is the last-starting-within-page. Blocks a,
> b and c all qualify; they all have an is-first trait of "true". So
> which one follows all other
Hi all,
Is it correct that it should look for markers on the current page and if page
boundary is current page then stop there. If boundary is page-sequence then
keep going backwards on each page until a marker is found or reaches the start
of the page-sequence and similarly for the document bo
to update the site from the web interface (I haven't tried it) if you
know the password.
Keiron.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
appears that when code is contributed to the ASF the copyright is granted to the
ASF. THe contributor does reserve remaining rights, title and interest.
I don't know if code contributed under this agreement is the same as code
contrib
keiron 2003/02/19 18:47:45
Modified:src/org/apache/fop/area AreaTree.java AreaTreeModel.java
PageViewport.java
src/org/apache/fop/layoutmgr PageLayoutManager.java
RetrieveMarkerLayoutManager.java
keiron 2003/02/18 21:55:25
Modified:src/org/apache/fop/pdf FlateFilter.java PDFColor.java
Log:
fixed some minor errors
Revision ChangesPath
1.6 +7 -7 xml-fop/src/org/apache/fop/pdf/FlateFilter.java
Index: FlateFilter.java
keiron 2003/02/18 21:54:15
Modified:src/org/apache/fop/fo/flow RetrieveMarker.java
Log:
add retrieve marker layout manager
Revision ChangesPath
1.12 +31 -10xml-fop/src/org/apache/fop/fo/flow/RetrieveMarker.java
Index: RetrieveMarker.java
keiron 2003/02/18 21:51:15
Modified:src/org/apache/fop/fo/flow ExternalGraphic.java
src/org/apache/fop/fo/pagination Region.java
Log:
use trait setter for setting traits
Revision ChangesPath
1.31 +4 -4 xml-fop/src/org/apache/fop/fo/flow
keiron 2003/02/18 21:49:29
Modified:src/org/apache/fop/layoutmgr AbstractLayoutManager.java
BlockContainerLayoutManager.java
BlockLayoutManager.java
BlockStackingLayoutManager.java
keiron 2003/02/18 21:43:25
Modified:src/org/apache/fop/area Page.java PageViewport.java
Log:
place markers on page viewport
Revision ChangesPath
1.9 +1 -6 xml-fop/src/org/apache/fop/area/Page.java
Index: Page.java
keiron 2003/02/18 21:39:20
Modified:src/org/apache/fop/fo/flow InstreamForeignObject.java
Log:
cleaned up some styling
Revision ChangesPath
1.36 +50 -43xml-fop/src/org/apache/fop/fo/flow/InstreamForeignObject.java
Index: InstreamForeignObject.java
er type is resolved
after resolving markers, for example with tables it shouldn't make any
assumptions about the type of child.
I don't understand the boundaries etc. so I might need some help there.
Keiron.
-
To unsubsc
> Hi all,
> and especially Keiron.
> What are currently the most pressing problems with HEAD, in
> order to make a dev-release?
> I looked around and found quite a few details, but I can't
> seem to get the big picture. I have somethig to do for the API
> spec but the
keiron 2003/02/13 20:15:09
Modified:src/org/apache/fop/fo FOText.java FObjMixed.java Title.java
src/org/apache/fop/fo/flow BasicLink.java BidiOverride.java
Block.java BlockContainer.java Character.java
ExternalGraphic.java
> I'd say we can't keep something like that within our codebase because it
> contradicts the Apache licence. It is entirely possible that someone
> sells a product that uses FOP. That wouldn't violate the Apache licence
> but the licence of this hyphenation file. Recent discussions on various
> Apa
keiron 2003/02/12 20:24:19
Modified:src/org/apache/fop/fo/flow Leader.java
src/org/apache/fop/layoutmgr
BlockContainerLayoutManager.java
BlockLayoutManager.java
BlockStackingLayoutManager.java
> This sounds great, but I have one question. We've posted a bug report
> (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16672) about the SVG
> rendering in 0.20.4 and 0.20.5. Our SVG's in the rendered PDF
> document(s) gets clipped. We're now using 0.20.1 and everything is fine
> there. T
> Keiron Liddle wrote:
> > Then the question seems to be: is the default setup good enough for those
who
> > don't want to use avalon for configuration. Then how else should they present
the
> > information when avalon is precisely designed for the purpose.
>
> Keiron Liddle wrote:
> > For the configuration with the FOProcessor and the Renderer how does it
work.
>
> Actually there are two approaches which at least appear to be in
> conflict.
> The Avalon approach: implement Configurable and perhaps Composable
> and use a
o the implementation in the render
method. Would it be possible to have a common method that can be used as a
source in the Render method.
For the usage examples I think there needs to be something for configuration,
renderers and image resolving.
Keiron.
> Hi all,
> I polished the FO
On Wednesday, January 29, 2003, at 09:54 PM, J.Pietschmann wrote:
Keiron Liddle wrote:
The only drawback is that it constantly needs to find the child layout
manager that applies to a given break...
Well, if there is a min < opt < max, and opt doesn't quite fit,
you have to cho
On Wednesday, January 29, 2003, at 03:20 PM, Rhett Aultman wrote:
This might be semantic nitpicking more than anything, but how can
finding a worse break prove you have the best break? Wouldn't you have
to find all possible breaks and verify that they're "worse"? Also,
just for personal enl
On Wednesday, January 29, 2003, at 03:26 PM, Peter B. West wrote:
I can't visualise the flow of control here. I presume that the break
(possibility?) is generated at, say, line-area building level.
Yes, a break is only generated where it is necessary
[Is this always based on knowledge of t
nfigurable parameters.
>
> In the initial version, we only need to provide for the most basic of
> these, as long as the mechanism is general enough to allow for refinement.
I am hoping that making the breaks simple and easy to find certain pr
> >The asap rendering is mostly done, we still need to bring back many of
> >the renderers.
>
> I suppose you mean the PDFRenderer is mostly done.
Yes.
I should probably expand on that topic a bit.
The layout creates an area tree which consists of pages. As each page is
created by the layout th
g shapes and drawing
them.
So for the PS renderer you will need to register a TextPainter in the
same way which should do the same sort of thing as for the PDFRenderer.
Keiron.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
On Thursday, January 23, 2003, at 06:37 PM, LENEVANEN Cedrick wrote:
Confronted to volumetric problems I am very interested in the re-design
branch of the FOP project, in particular the "FO SAX input" and "ASAP
rendering" tasks. I wonder if I could try helping in order to make
possible
getting
keiron 2003/01/23 10:59:08
Modified:src/org/apache/fop/area AreaTreeModel.java BodyRegion.java
CTM.java CachedRenderPagesModel.java MinOptMax.java
RegionViewport.java RenderPagesModel.java Span.java
ut it could be a while. Hopefully it will at least make
it possible to start to approach the problems you have started looking at with the
overconstained relaxing.
It would be good to have Peter's work integrated.
Keiron.
--
Jeremias Maerki wrote:
> Common guys! I'd like to have some participation on this matter from all
> the committers since this an important thing.
Sorry a bit sidetracked.
Personally I would like to see some sort of rotation (assuming that there will
always be 1 or 2). For example every 6 months.
> Batik is only necessary to generate SVG output, right? I guess, a lot of
> people are using Fop to generate PDF only, but Fop needs batik.jar in any
> case because the driver initializes an "SVG element mapping":
>
> org.apache.fop.apps.Driver.setupDefaultMappings() :
> addElementMapping(
from batik.jar. batik.jar
was compiled by us manually and Keiron (for trunk) and I (for branch)
both
haven't realized that the SAX classes slipped in, I guess. I'll check
the way we generate that jar again tomorrow. It might simply be a matter
of sending the Batik team a little patch
keiron 2003/01/15 11:30:24
Modified:.build.xml
Log:
include font classes for pdf transcoder
Revision ChangesPath
1.73 +1 -0 xml-fop/build.xml
Index: build.xml
===
RCS file: /home
> Isn't the jai.jar (which would give fop great functionality!) not
> redistributet for the same reason?
Yes.
I think the javax.imageio package is where Jimi and Jai were leading. So once
jdk1.4 can be used...
> Best Regards
>
> Markus Schäffler
--
> Did you know that the Cocoon guys have jimi.jar in their CVS? I wonder
> if that's correct and if yes, I think we should do it, too.
>From my reading of it, by downloading the jar you automatically agree to the
license. This is quite different to ASL.
It is also non-transferable, I think that m
keiron 2003/01/14 11:55:20
Modified:src/org/apache/fop/pdf PDFRoot.java PDFOutline.java
Log:
setting for page mode, fixed some errors
Revision ChangesPath
1.13 +45 -9 xml-fop/src/org/apache/fop/pdf/PDFRoot.java
Index: PDFRoot.java
> Bernd Brandstetter wrote:
>
> > feeling inspired by your's and Oleg's suggestions and also a little bit
> > bored this Sunday afternoon, I thought I'll take the chance and improve my
> > Gimping skills. Here's the result :-)
> Not bad. Something like this I meant. But (sorry for being critical
> > > properly discuss things like Session, Document, Rendering run, FOP
> > > instances etc. Where to cache what? What objects/services hold/provide
> >
> > In my mind Document and Rendering run (as defined in the glossary) are
> > probably the same thing (??). I added something called Rendering
> Jeremias,
>
> Thanks for the reply. Outside of clean up, I have working code. It is
> limited since only PDF 1.3 is supported by FOP and I am currently using a
The redesign code generates PDF 1.4 (which currently is used in a completely
backwards/forwards compatible way).
How does the compatib
> Hello!
>
> How are we going to process underline/overline etc stuff?
> It's a little bit confusing - we've got unused TextState class along with
> TextInfo that includes text-decoration info already. Lets get rid of TextState ?
> And what about rendering, does pdf support text-decoration direct
keiron 2003/01/02 05:01:12
Modified:src/documentation skinconf.xml
Log:
images don't seem to exist
Revision ChangesPath
1.3 +2 -2 xml-fop/src/documentation/skinconf.xml
Index: skincon
keiron 2003/01/02 04:59:30
Modified:src/documentation/content/xdocs/design architecture.xml
areas.xml book.xml embedding.xml extending.xml
fotree.xml
Log:
updated some information
Revision ChangesPath
1.3 +44 -11
On Thu, 2003-01-02 at 12:15, Oleg Tkachenko wrote:
> Hello!
> I'm stuck in understanding the coordinate system trying to sort out writing
> mode stuff, e.g. in this snippet from SimplePageMaster.java:
>
> /* Create the page reference area rectangle in first quadrant coordinates
> * (ie
Anyone with an
>interest in this topic...please pile the material in there.
>
> Also, Keiron, do you think that maybe we might be able to gather together your
>current pontifications regarding layout? I think it's a very relevant page to put up
>in the Wiki. I'm happy to
keiron 2002/12/27 06:00:44
Modified:src/org/apache/fop/layoutmgr/table Row.java
Log:
properly check if row finished
Revision ChangesPath
1.9 +11 -2 xml-fop/src/org/apache/fop/layoutmgr/table/Row.java
Index: Row.java
1 - 100 of 1240 matches
Mail list logo