Glen Mazza
f80b5592ce
Moved FontSetup and two helper classes from render.pdf to fonts package.
FontSetup has the PDF fonts as the default, but this class can be extended
if/when another renderer needs its own font setups. (Cannot do this, however,
for AWT's FontSetup at the moment, because its setup() has a different
signature.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197031 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
bb8f6756d0
Hyphenation improvements from Simon Pepping (Bugs #25031 and #25059) added.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197028 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
fe51dbcd86
1.) Chris Bowditch's patch on padding-start implemented. (Changes were
extended to implement part of padding-end as well.)
2.) Switched from TOP/BOTTOM/LEFT/RIGHT to BEFORE/AFTER/START/END
in CommonBorderAndPadding--this is more appropriate for BlockLayout,
also the various places calling it already were either (1) commenting
on the need to switch to the above, or (2) placing the results of the
above functions using the former constants into variables emphasizing
the latter.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197023 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
7e0877cee5
New feature for the Ant task: relativebase="true" uses the directory of each FO-file in a fileset as basedir. This is in contrast to the general basedir parameter.
Submitted by: Joe DeVivo <fop.at.joedevivo.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197021 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
d9f999a049
Style fixes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197020 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
f559e3fcbc
RTF output: Support for fo:list-block
Submitted by: Peter Herweg <pherweg.at.web.de>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197019 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
68fda9f09d
1. add method to LayoutStrategy indicating whether an FO Tree should be built for this strategy
2. add logic in Driver.render() to handle the case of a LayoutStrategy that does not want to build an FO Tree
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197018 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
143ccd4024
fix Unicode encoding problem in comments
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197017 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
3aa824b838
minor elaboration
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197016 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
a8a6187845
Peter Herweg's patch applied:
http://nagoya.apache.org/bugzilla/showattachment.cgi?attach_id=9128
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197013 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
408e0cc9d9
Partial implementation of space-after functionality--mostly working, but
some remaining problems:
1.) relying on a static variable to carry space-after value from previous
block to current. (BlockLayoutManager is be instantiated for each block
instead of being in memory for all blocks--bad design?)
2.) The space-after of a block ending at the bottom of the page is not
currently being added to the beginning of the subsequent page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197004 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
99eacd08d0
fo:block space-before property now activated only on the first Area.Block object used
in rendering the fo:block. (Previous implementation repeated space-before at the
top of every page.) Suggestion from Chris Bowditch.
(Space-after property still needs work: renders at the correct places but
results in subsequent text overrunning region borders.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197003 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
5eb038e730
Peter Herweg's latest patch applied:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24533
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197002 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
98e4496f20
A few more toString() implementations helpful for debugging spacing
issues in BLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197001 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
549cb124e2
Style fixes only
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197000 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
f564a7fbf4
RTF: Add support for number-rows-spanned, height (at table-row) and margin-left
(at table and block).
Submitted By: Peter Herweg <pherweg@web.de>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196999 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
14965c1b96
Now all setup code is moved from render() to getContentHandler() except for the FOTreeListener.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196998 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
caa333a6f6
Another fix, making Area Tree Renderers work again. Damn, when am I going to get it right?
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196996 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
b2ae23d770
Changed image loading to use Commons IO.
Properly close InputStream.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196995 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
72e5b915b2
RTF: added support for fo:external-graphic
Submitted By: Peter Herweg <pherweg@web.de>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196994 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
c7e472f981
Fix Document construction in getContentHandler() (it was done too late)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196993 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
30b1cc05f4
Not needed anymore. Everything we need is in Commons IO.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196992 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
eeb5c41112
Substantial refactoring of the PS transcoder (especially the text painting, less painting using the StrokingTextPainter, therefore more speed and smaller output files)
Addition of an EPS transcoder
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196990 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
3dd471c712
Use different base class for user agent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196989 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
f93075f9fb
Use different base class for user agent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196988 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
337c87ded4
Helper class for debugging in TextPainters
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196987 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Jeremias Maerki
4204dac63e
Tried to fix basic driver tests but didn't manage, yet.
Some initialisation code moved from render() to getContentHandler().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196986 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
b128f1e8a9
Hyphenation problem in Bug 23985 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23985)
fixed in HEAD. (maintenance still to be done.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196983 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
fa8092eb82
toString() methods implemented for these objects for help in
testing/debugging.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196982 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
46f10d88ac
RTF structural renderer moved from root to render.rtf, joining all the other renderers
RTF Library moved from root to render.rtf.rtflib, but kept separate from renderer itself.
See: http://marc.theaimsgroup.com/?l=fop-dev&m=106753338719406&w=2
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196981 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
1f16a86dd7
Tom DeWeese's changes made;
See: http://marc.theaimsgroup.com/?l=fop-dev&m=106795227230411&w=2
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196980 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
fc13cdcc5d
Clearer method names given for finding border and padding for regions.
See: http://marc.theaimsgroup.com/?l=fop-dev&m=106777246222766&w=2
and http://www.w3.org/TR/2001/REC-xsl-20011015/slice4.html#area-stackblock
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196979 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
916a7752a0
Moved mif package (including structural renderer MIFHandler.java) to
render.mif.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196978 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
850a0ba007
1. PDF block background rendering properly offset to account for region
borders and padding.
2. Helper methods added to RegionViewport for quickly determining region
margins, useful for render.* and layoutmgr.* classes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196977 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
d0e1416c03
Peter Herweg's missed files from his previous RTF patch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196976 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
5b0a352ead
Peter Herweg's RTF patches applied--note the RTFHandler update was missing,
added similar changes as was done to the MIFHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196975 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
f9a4228a69
Layout changed to account for fo:region-body borders and padding when
determining printable width and height for each page.
Various method nitpicks also fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196974 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
77322c6f80
renamed org.apache.fop.area.inline.Word to .TextArea (.Text not used to avoid
conflicts with org.w3c.dom.Text)
changed Renderer.renderWord() method to renderText().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196973 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
927ffdb3a1
1. TraitSetter modified to provide padding properties for regions.
2. PDFRenderer modified to take into account region borders and region padding
when rendering text. (Possibly temporary solution--may need to move code
to base AbstractRenderer in future.) Work incomplete--will need to also reduce
line length accordingly to account for region borders and padding.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196972 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
deaa8b9780
Explicitly calling System.exit(0) for non-AWTRenderer outputs to close any threads
that may be active as a result of AWT (svg) or other processing.
See: http://marc.theaimsgroup.com/?l=fop-dev&m=106703706423223&w=2
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196971 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
8a61be8431
minor elaboration
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196969 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
5ef3a9232e
Patch by Finn Bock applied
(bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23765 :
Words not fitting the current line were not appearing on the
subsequent line when trailing spaces were included in
the fo:block.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196966 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
591efcc19b
apply patch from Peter Herweg for RTF pagination properties (see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23464)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196960 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
91048041f9
fix signature problem in inner class for InlineStackingLayoutManager -- attempt to pass BasicLink as an argument changed the signature of the overridden createArea() method, causing the superclass method to be used in error instead
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196958 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
b11b73a25c
Applied Tom DeWeese/Batik Team's SVG patches. New Batik.jar created from latest CVS build, using Batik's "all-jar" target.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196955 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
3e19a1defd
move static methods getCharWidth and getWordWidth from util.CharUtilities to instance methods in fonts.Font
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196954 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
6c9fc6345b
open up access in misc places by either adding accessor methods or by loosening acess control
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196953 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
4ce39cb3fc
Document name switched from default "Java Printing" text to "FOP Document".
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196952 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
Glen Mazza
6d81c8e149
Removed nonfunctional setParameter() function from XSLTInputHandler. (Bug 23624, submitted by Julien Cervelle).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196949 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce
William Victor Mote
61cb657e68
remove unused variable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196948 13f79535-47bb-0310-9956-ffa450edef68
20 yıl önce