aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding Quick Start Guide.Clay Leeds2008-03-021-0/+57
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632716 13f79535-47bb-0310-9956-ffa450edef68
* Preparing for FOP 0.95 release.Clay Leeds2008-03-0126-5130/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632558 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Disabled setting widths from AFM since we're using WinAnsiEncoding ↵Jeremias Maerki2008-02-291-2/+10
| | | | | | internally but the AFM delivers the character widths using the font's native encoding which causes problems with some characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632321 13f79535-47bb-0310-9956-ffa450edef68
* Minor tweak: switch from toString() to getLocalizedMessage() for Exceptions ↵Andreas L. Delmelle2008-02-281-1/+1
| | | | | | passed into warning() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632122 13f79535-47bb-0310-9956-ffa450edef68
* Minor tweaks/updates:Andreas L. Delmelle2008-02-281-64/+35
| | | | | | | | | | - change toString() to getLocalizedMessage() for exceptions passed to warning() - removed deprecated method isLocatorDisabled() - removed superfluous try-catch block - some javadoc changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@632121 13f79535-47bb-0310-9956-ffa450edef68
* Slight improvement for thin lines in Java2D/AWT output.Jeremias Maerki2008-02-282-0/+5
| | | | | | Submitted by: Gordon Cooke <cookeg.at.btinternet.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631984 13f79535-47bb-0310-9956-ffa450edef68
* bpBeforeNormal and bpAfterNormal already include border-separation, no need ↵Vincent Hennebert2008-02-271-1/+0
| | | | | | to re-substract it from the box height git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631609 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44497: Jeremias Maerki2008-02-271-5/+1
| | | | | | AFP Renderer: Bugfix for broken reference orientation on absolutely positioned block-containers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631575 13f79535-47bb-0310-9956-ffa450edef68
* Moved the getBody method into PrimaryGridUnit, since it's only needed there ↵Vincent Hennebert2008-02-264-17/+15
| | | | | | and that allows to simplify EmptyGridUnit git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631276 13f79535-47bb-0310-9956-ffa450edef68
* GOCA support temporarily removed.Jeremias Maerki2008-02-261-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631226 13f79535-47bb-0310-9956-ffa450edef68
* Reverted revision 603590 which broke the AFP renderer. The other changes ↵Jeremias Maerki2008-02-2658-5221/+1165
| | | | | | | | | after revision 603590 should be preserved as well as possible, including the switch to the new image library. Adjustments for change in behaviour of the block viewport CTM. Bugfix: SVG painting is now always done on a color canvas (like for PCL) because Batik cannot handle gradients on a grayscale canvas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@631178 13f79535-47bb-0310-9956-ffa450edef68
* - added full support for keep-with-previous on table-row and in table-cellVincent Hennebert2008-02-2529-311/+2040
| | | | | | | | | - added more testcases for keeps in tables - assign the right table-row element to grid units that are not on the first row spanned - slightly re-worked the RowGroupBuilder interface to make it more SAX-like git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630814 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: When scale-up/down-to-fit was used, the image scaling rule was not ↵Jeremias Maerki2008-02-252-7/+128
| | | | | | always respected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630772 13f79535-47bb-0310-9956-ffa450edef68
* Fixed backward compatiblity with 1.4Maximilian Berger2008-02-221-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@630215 13f79535-47bb-0310-9956-ffa450edef68
* Turned on XInclude processing for the main source given on the command line.Maximilian Berger2008-02-212-3/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629902 13f79535-47bb-0310-9956-ffa450edef68
* Moved me to commiters :)Maximilian Berger2008-02-211-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629769 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug leading to the content of row-spanning cells being duplicated at ↵Vincent Hennebert2008-02-192-5/+79
| | | | | | page breaks, when it's small enough to fit on the previous row git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629169 13f79535-47bb-0310-9956-ffa450edef68
* Added support for reading the OS/2 table's usWeightClass value which ↵Jeremias Maerki2008-02-194-2/+38
| | | | | | | | supports the same font weight values as we use in XSL-FO. However, in my tests these values proved to be unreliable (like ExtraBlack fonts returning 400). I just hooked the whole thing in so this work isn't lost if anyone has an idea to make it work. The FontInfoFinder will continue to only use guessed font weights for now. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629131 13f79535-47bb-0310-9956-ffa450edef68
* Fixed NPE when no AFM is available and the PFM didn't provide a xHeight.Jeremias Maerki2008-02-191-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629129 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: a specified font-weight of 100 could result into a resolved ↵Jeremias Maerki2008-02-191-1/+7
| | | | | | font-weight of 400 even when a font with weight 200 is registered. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629103 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44451:Jeremias Maerki2008-02-197-16/+104
| | | | | | | | | | | | | The patch fixes two problems: - If distinct fonts declare the same font family name, the resulting font mapping is currently arbitrary; now, a name-similarity heuristic is used to prioritize the font mappings. - "Medium" and "demi" fonts are now recognized as "bold", solving several real-world problems (although this solution may be an oversimplification). Submitted by: Justus Piater <justus-bulk.at.piater.name> Patch modified by jeremias: - Style fixes (tab chars) - Refined font weight identification: medium -> 500, semi/demi -> 600 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629093 13f79535-47bb-0310-9956-ffa450edef68
* Style only: removed spurious ^M characters at the end of linesVincent Hennebert2008-02-193-211/+211
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@629048 13f79535-47bb-0310-9956-ffa450edef68
* Makes sense to mention the removal of deprecated methods.Jeremias Maerki2008-02-181-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628829 13f79535-47bb-0310-9956-ffa450edef68
* Made the necessary changes to remove the long-standing deprecations in the ↵Jeremias Maerki2008-02-183-116/+22
| | | | | | apps package as discussed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628826 13f79535-47bb-0310-9956-ffa450edef68
* It currently doesn't work properly without a layout-master-set.Jeremias Maerki2008-02-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628816 13f79535-47bb-0310-9956-ffa450edef68
* Reducing noise. Better messages.Jeremias Maerki2008-02-182-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628804 13f79535-47bb-0310-9956-ffa450edef68
* fop-rgb-icc() function did not make the round-trip which caused an error in ↵Jeremias Maerki2008-02-187-98/+233
| | | | | | | | the color_1.xml test case (intermediate format tests). Added a unit test to test the parsing and round-trip. Documented the cmyk() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628775 13f79535-47bb-0310-9956-ffa450edef68
* Extract original exception in BasePDFTestCase.java. They are normally ↵Jeremias Maerki2008-02-182-7/+36
| | | | | | | | embedded in a TransformerException and sometimes additionally in a SAXException (depending on the JAXP implementation). Restore validation for Base14 font check when PDF/A is active. Got lost when I refactored to generic structures in the PDF library. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628668 13f79535-47bb-0310-9956-ffa450edef68
* No stack traces with missing images.Jeremias Maerki2008-02-183-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628652 13f79535-47bb-0310-9956-ffa450edef68
* Extracted most of the code in CodePointMapping (generated by XSLT) into a ↵Jeremias Maerki2008-02-1611-133/+397
| | | | | | | | | | | | | base class for easier maintenance and proper Javadocs. Deprecated FOP's copy of Glyphs.java. Took a different approach at handling mapping alternatives for single-byte fonts. The AFM now only lists the main character. Substitution is done through Glyphs.java later in CodePointMapping. Fixed a problem in Type1FontLoader where the PFM overrides asc/desc/cap/x even though the AFM provides the values. It showed itself because the URW Symbol font has wrong values in the PFM. Added a note to myself in Type1FontLoader to implement the "Flags" value. The whole thing still seems to work without that part. Added a glyph name list to the CodePointMapping so we can work with the original list from the AFM. Otherwise, various mapping operations to and from resulted in unwanted mappings (because the mappings are not necessarily 1:1) and in the end the PDF received an incorrect Encoding map. Now there's no such problem anymore. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628280 13f79535-47bb-0310-9956-ffa450edef68
* rowStarted doesn't need to be set in the signalNewRow method. If it is, it ↵Vincent Hennebert2008-02-152-6/+5
| | | | | | will prevent the startTablePart event from being triggered on RowGroupBuilder, in addChildNode. This will lead to a NPE being thrown in CollapsingBorderResolver because it would be improperly set up. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628140 13f79535-47bb-0310-9956-ffa450edef68
* break-after set on the last child of a row-spanning cell must apply to the ↵Vincent Hennebert2008-02-142-1/+92
| | | | | | last row spanned by the cell git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627721 13f79535-47bb-0310-9956-ffa450edef68
* Created Constants for unit descriptionsMaximilian Berger2008-02-146-22/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627719 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the detection of double as integerVincent Hennebert2008-02-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627712 13f79535-47bb-0310-9956-ffa450edef68
* Fix problem with alternate Unicode code point overriding existing better ↵Jeremias Maerki2008-02-146-61/+247
| | | | | | | | ones in CodePointMapping (ex. a char code for NBSP was used in place of SPACE for non-standard encodings). Made PFM completely optional if an AFM is available. Widths and Kerning are now also read from the AFM. Fallbacks for missing values are in place. If both AFM and PFM are available, both are used to get the best possible result for certain metrics. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627702 13f79535-47bb-0310-9956-ffa450edef68
* When I first saw this it surprised me, it seems to have been here for quite ↵Adrian Cumiskey2008-02-141-28/+9
| | | | | | | | | some time. The code block directly following this if/else condition was identical so I removed the copy/paste duplication and refactored it. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627698 13f79535-47bb-0310-9956-ffa450edef68
* Added support for Type 1 fonts which don't use the AdobeStandardEncoding for ↵Jeremias Maerki2008-02-1437-934/+2272
| | | | | | | | | | | | | | | | PDF and PS output. Details: Added an Type 1 AFM parser (only basic ltr script fonts are properly supported). Font loading changed slightly to allow loading an AFM in addition to a PFM. Added some mapping functionality to CodePointMapping. Now we also build custom CodePointMapping instances from AFM files and use it in SingleByteFonts. Changed more PDF object classes to make use of the generic PDFDictionary and PDFArray base classes. Type 1 Fonts with a special encoding now register their encoding in the Encoding value of the font dictionary so the mapping is correct. For PS this isn't necessary as the interpreter just uses the font's default encoding. Refactored CMap building code to it can also be used outside the PDF context. A CMap can now also be built from a single byte encoding. Update of XML Graphics Commons snapshot. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627679 13f79535-47bb-0310-9956-ffa450edef68
* Moved to the FO tree stage the check for break-before/after on table-row ↵Vincent Hennebert2008-02-137-26/+54
| | | | | | while spanning in progress, and fixed bug #44321 as well git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627576 13f79535-47bb-0310-9956-ffa450edef68
* Added support for breaks before and after table cellsVincent Hennebert2008-02-1317-63/+3824
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627553 13f79535-47bb-0310-9956-ffa450edef68
* Easy way to force the discarding of the user's font cache file (especially ↵Jeremias Maerki2008-02-131-2/+6
| | | | | | after the recent changes). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627497 13f79535-47bb-0310-9956-ffa450edef68
* Replace useless javadoc comment.Jeremias Maerki2008-02-131-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627495 13f79535-47bb-0310-9956-ffa450edef68
* Ensured all SVN properties are set equallyMaximilian Berger2008-02-13112-4098/+4101
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627367 13f79535-47bb-0310-9956-ffa450edef68
* Ensured all SVN properties are set equallyMaximilian Berger2008-02-13120-12046/+12050
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627324 13f79535-47bb-0310-9956-ffa450edef68
* Added *.xml to svn:ignoreMaximilian Berger2008-02-130-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627318 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong numbering of cellsVincent Hennebert2008-02-122-8/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620761 13f79535-47bb-0310-9956-ffa450edef68
* Simplification.Jeremias Maerki2008-02-121-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620750 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #44393:Jeremias Maerki2008-02-123-9/+5
| | | | | | Recognize the newly used EN_AUTO constant for break values. Other LMs generate a -1 value for this case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620723 13f79535-47bb-0310-9956-ffa450edef68
* Missing file from r620283Andreas L. Delmelle2008-02-111-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620570 13f79535-47bb-0310-9956-ffa450edef68
* Disabled region-body_column-count_bug#37468 testcase because of bug 44393Vincent Hennebert2008-02-111-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620567 13f79535-47bb-0310-9956-ffa450edef68
* Better javadoc for break classVincent Hennebert2008-02-112-5/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620565 13f79535-47bb-0310-9956-ffa450edef68