aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fixed illegal character in the fileVincent Hennebert2008-02-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620559 13f79535-47bb-0310-9956-ffa450edef68
* Added full support for breaks inside table-cell elementsVincent Hennebert2008-02-116-14/+2542
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620558 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 41631: Percentage resolution for arguments to ↵Andreas L. Delmelle2008-02-103-0/+63
| | | | | | proportional-column-width() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620285 13f79535-47bb-0310-9956-ffa450edef68
* Correction/Rectification of changes made in r617989:Andreas L. Delmelle2008-02-102-154/+135
| | | | | | | | | * adjustment in ColorUtil to cater for the change * added check to the color_1.xml testcase, checking for bug 43705 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620283 13f79535-47bb-0310-9956-ffa450edef68
* Missing file from r620272Andreas L. Delmelle2008-02-101-13/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620278 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: wrap numeric values internally in Integers or Longs if possible, ↵Andreas L. Delmelle2008-02-101-15/+29
| | | | | | Doubles only if necessary. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620277 13f79535-47bb-0310-9956-ffa450edef68
* Revisit background-position shorthand implementation: always convert to ↵Andreas L. Delmelle2008-02-104-76/+171
| | | | | | percentages (more possibilities/precision). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620276 13f79535-47bb-0310-9956-ffa450edef68
* Some minor tweaks:Andreas L. Delmelle2008-02-103-9/+22
| | | | | | | | | * added convenience shortcut to PropertyInfo to get to the user agent. * replaced occurrences to use the shortcut in PropertyParser and RGBColorFunction. * PropertyParser -> 0% of a length always yields FixedLength.ZERO_FIXED_LENGTH git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@620272 13f79535-47bb-0310-9956-ffa450edef68
* In addKnuthElementsForBorderPaddingXXX, if the returnlist is aSimon Pepping2008-02-081-0/+16
| | | | | | | | | BlockKnuthSequence, the border and padding should be added to the first or last paragraph inside it, but it is too late to do that now. At least, avoid adding it to the bpd sequence. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619979 13f79535-47bb-0310-9956-ffa450edef68
* Testcase for bug #43676, which is now fixedVincent Hennebert2008-02-081-0/+75
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619923 13f79535-47bb-0310-9956-ffa450edef68
* Added missing width for Euro glyph.Jeremias Maerki2008-02-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619870 13f79535-47bb-0310-9956-ffa450edef68
* Also display the column index in the toString methodVincent Hennebert2008-02-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619856 13f79535-47bb-0310-9956-ffa450edef68
* Removed the 900 penalty mechanism which anyway almost always produced ↵Vincent Hennebert2008-02-0818-344/+1675
| | | | | | | | | visually bad results. Now the first step for a row is computed so that each cell starting on it can contribute some content. Used a similar mechanism to replace backtracking: the current row is now allowed to grow as long as there is not enough space on the current page to make the next row fit. The next row is "delayed", so this mechanism is called "row-delaying" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619854 13f79535-47bb-0310-9956-ffa450edef68
* Added a clarification that this bug affected PDF/A compliance.Jeremias Maerki2008-02-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619790 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: modify PercentLength.toString() to return a value that facilitates ↵Andreas L. Delmelle2008-02-072-12/+20
| | | | | | | | | debugging. Moved the original code to a getString() implementation, which is now used by the fotree test suite. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619674 13f79535-47bb-0310-9956-ffa450edef68
* Tweak: early percentage resolution by the parser (if the base is known and ↵Andreas L. Delmelle2008-02-074-7/+42
| | | | | | absolute). Reduces the number of PercentLength instances in favor of cached FixedLengths. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619670 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for date formatting with negative time zones in the PDF's Info object.Jeremias Maerki2008-02-075-23/+98
| | | | | | Update of xmlgraphics-commons-1.3.jar because of a similar bug with formatting dates in XMP. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619461 13f79535-47bb-0310-9956-ffa450edef68
* Added an option to disable the default sRGB profile in PDF output for those ↵Jeremias Maerki2008-02-077-11/+121
| | | | | | who don't care about color fidelity, but care about PDF file size. Note that this option is not possible if PDF/A, PDF/X or an output profile is used. Makes simple PDFs about 4KB smaller. Ha! git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@619417 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36391:Jeremias Maerki2008-02-069-52/+266
| | | | | | | | Fixed problem with positioning of content when reference-orientation="180" is used. CTM is now correct. It is updated after the height of the content is known. Instead of somehow inverting the element list, I've simply declared this case non-breakable, i.e. I generate one box. Fixed a few other problems mostly occurring when rotating block-container content by 90 or 270 degrees plus a few remaining auto-height handling problems. This involved switching off some sometimes unwanted side-effects from auto-updating the BPD in some area classes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618992 13f79535-47bb-0310-9956-ffa450edef68
* FOX_TRANSFORM constant should be static.Jeremias Maerki2008-02-051-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618627 13f79535-47bb-0310-9956-ffa450edef68
* Change PDFPage to use PDFDictionary in order to make it possible to better ↵Jeremias Maerki2008-02-054-133/+73
| | | | | | set MediaBox/TrimBox/BleedBox. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618626 13f79535-47bb-0310-9956-ffa450edef68
* Added testcase for Bugzilla 44343Andreas L. Delmelle2008-02-041-0/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618470 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor typo I stumbled upon while doing something completely unrelatedVincent Hennebert2008-02-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@618239 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 43705:Andreas L. Delmelle2008-02-032-6/+29
| | | | | | | | | Fixed a bug when the rgb-icc() function was used before the fo:declarations, or in documents without fo:declarations. Function now correctly (?) reverts to the sRGB fallback in those cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617989 13f79535-47bb-0310-9956-ffa450edef68
* Added very basic parsing for the xml:lang shorthand.Andreas L. Delmelle2008-02-036-7/+112
| | | | | | | | | No validation of the specified value, but the language and country properties now do take the shorthand into account to determine their value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617976 13f79535-47bb-0310-9956-ffa450edef68
* Slight correction for pixel-values: pass the ratio of pixels-per-point into ↵Andreas L. Delmelle2008-02-022-28/+27
| | | | | | FixedLength.getInstance() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617909 13f79535-47bb-0310-9956-ffa450edef68
* Further improvement in FixedLength:Andreas L. Delmelle2008-02-024-7/+14
| | | | | | | | * added a special ZERO_FIXED_LENGTH instance * store only non-zero values in the PropertyCache git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617907 13f79535-47bb-0310-9956-ffa450edef68
* Further cleanup/refinement of FixedLength:Andreas L. Delmelle2008-02-026-86/+91
| | | | | | | | | | * improve consistency in use of the PropertyCache remove public constructor -> replaced by getInstance() in a handful of classes * added a sourceResolution parameter to getInstance() and the private constructor to allow better handling of device-dependent units (px) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617812 13f79535-47bb-0310-9956-ffa450edef68
* Fixed transcoder test after yesterday's changes.Jeremias Maerki2008-02-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617765 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup/improvement:Andreas L. Delmelle2008-02-022-25/+18
| | | | | | | | - FontSizePropertyMaker: remove redundant casts (FixedLength already casts the doubles internally) - FixedLength: reduce visibility of 'fishy' convert() method (not used anywhere else) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617716 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 44343:Andreas L. Delmelle2008-02-012-3/+20
| | | | | | | | | Fixed a bug when using relative (smaller/larger) font-sizes in combination with percentages. Percentages now resolved as per the spec (XSL-FO 1.1 7.9.4): "A percentage value specifies an absolute font size relative to the parent element's font-size." git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617708 13f79535-47bb-0310-9956-ffa450edef68
* Add a note about color space overrides which currently aren't supported for ↵Jeremias Maerki2008-02-011-0/+2
| | | | | | natively handled images, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617550 13f79535-47bb-0310-9956-ffa450edef68
* Move sRGB installation into the PDF library. That way it can be used in ↵Jeremias Maerki2008-02-013-46/+95
| | | | | | | | PDFDocumentGraphics2D, too (via AbstractImageAdapter). Ensures correct handling of sRGB images in PDFTranscoder. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617531 13f79535-47bb-0310-9956-ffa450edef68
* AlphaRasterImage now knows how to deal with TYPE_INT Rasters.Jeremias Maerki2008-02-014-187/+133
| | | | | | | | Streamlined image handling in Graphics2D. Support natively handling CCITT images in SVG images. Add fallback to device RGB if sRGB isn't set up as the default color space in PDF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617512 13f79535-47bb-0310-9956-ffa450edef68
* Implemented drawRenderedImage() which fixes painting of PNG images embedded ↵Jeremias Maerki2008-02-011-52/+38
| | | | | | inside SVG images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617473 13f79535-47bb-0310-9956-ffa450edef68
* Update lib README based on recent findings.Jeremias Maerki2008-01-311-42/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@617126 13f79535-47bb-0310-9956-ffa450edef68
* Removed the Dijkstra stuff as it was moved to Commons.Jeremias Maerki2008-01-309-762/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616798 13f79535-47bb-0310-9956-ffa450edef68
* Removing the previous entry because the new one basically covers the other, too.Jeremias Maerki2008-01-301-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616694 13f79535-47bb-0310-9956-ffa450edef68
* "cvt ", "fpgm" and "prep" are all optional tables in TrueType. Some PDF ↵Jeremias Maerki2008-01-302-48/+69
| | | | | | viewers fail because FOP didn't handle those correctly. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616691 13f79535-47bb-0310-9956-ffa450edef68
* Replaced testcases for forced break on table-row with more complete ones. ↵Vincent Hennebert2008-01-297-222/+3412
| | | | | | Tests failing because of bug #44320 have been commented out and will need to be re-enabled once the bug is fixed git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616485 13f79535-47bb-0310-9956-ffa450edef68
* Renamed testcase for clarityVincent Hennebert2008-01-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616334 13f79535-47bb-0310-9956-ffa450edef68
* Added more tests to ensure no weird things occurs when ↵Vincent Hennebert2008-01-292-0/+50
| | | | | | keep-with-previous/next is set on table. Runs ok git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616260 13f79535-47bb-0310-9956-ffa450edef68
* A more detailed comment on RTF output explaining that RTF has limitations ↵Jeremias Maerki2008-01-291-2/+8
| | | | | | besides the incomplete implementation on the FOP side. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616191 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for invalid numTables entry in subset TrueType fonts if there was no ↵Jeremias Maerki2008-01-282-2/+8
| | | | | | "fpgm" table (Example: FreeSerif). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@616080 13f79535-47bb-0310-9956-ffa450edef68
* A note on country/language.Jeremias Maerki2008-01-281-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@615917 13f79535-47bb-0310-9956-ffa450edef68
* Added support for the natural language indentifier ("Lang" in the document ↵Jeremias Maerki2008-01-2818-66/+258
| | | | | | catalog) for PDF documents based on the language/country values on fo:page-sequence. This required a few changes in the AreaTreeModel and the Renderer interface because it didn't support passing through the PageSequence object, only its title. Now, we can put other values on the PageSequence and transport them to the renderers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@615906 13f79535-47bb-0310-9956-ffa450edef68