aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Reduced visibility of some methods and constructors from public to ↵Vincent Hennebert2007-11-143-6/+6
| | | | | | package-private, as a consequence of the move of *GridUnit to the fo.flow.table package git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594829 13f79535-47bb-0310-9956-ffa450edef68
* Moved EffRow to the fo.flow.table packageVincent Hennebert2007-11-148-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594821 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up RowGroupLayoutManager and TableRowIteratorVincent Hennebert2007-11-133-473/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594592 13f79535-47bb-0310-9956-ffa450edef68
* Use a singleton for a default BorderInfo of style none, instead of every ↵Vincent Hennebert2007-11-132-3/+22
| | | | | | time a new instance git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594584 13f79535-47bb-0310-9956-ffa450edef68
* Changed back visibility of fields from public to package-private, due to the ↵Vincent Hennebert2007-11-132-2/+2
| | | | | | move of *GridUnit in the fo.flow.table package git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594579 13f79535-47bb-0310-9956-ffa450edef68
* Moved *GridUnit from layoutmgr/table to fo/flow/tableVincent Hennebert2007-11-1316-22/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594578 13f79535-47bb-0310-9956-ffa450edef68
* Moved the creation of grid units to the FO tree building stage. Brought a ↵Vincent Hennebert2007-11-1332-722/+2925
| | | | | | | | | | | | | few improvements along with the move: - bugfix: border-resolution for border-end on row-spanning cells was wrong - bugfix: in case of missing cells the border-end of the table was applied to an inner cell, instead of the cell in the last column (but missing cells aren't painted yet :-\) - bugfix: in collapsing-border model, border-before and -after specified on table-column were applied to every cell of the column, instead of only the first and the last ones - border resolution is now made progressively when possible, and no longer triggers the fetching of all the rows of the table Added testcases for the border conflict resolution (between the various elements of a table and not only the cells) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594571 13f79535-47bb-0310-9956-ffa450edef68
* Fix two javadoc warnings.Jeremias Maerki2007-11-132-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594552 13f79535-47bb-0310-9956-ffa450edef68
* More informative overflow message (sometimes the overflow is just a few ↵Jeremias Maerki2007-11-131-17/+19
| | | | | | millipoints and it's nice to know how many). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594522 13f79535-47bb-0310-9956-ffa450edef68
* Log element list length for convenience.Jeremias Maerki2007-11-131-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594517 13f79535-47bb-0310-9956-ffa450edef68
* Filter single quotes from the filenames as this will interfere with ↵Jeremias Maerki2007-11-131-4/+19
| | | | | | | | font-family parsing. Fixed bug: InputStream opened by URL.openConnection() wasn't closed which leads to "too many open files" when you have lots of fonts on Java 1.4. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594516 13f79535-47bb-0310-9956-ffa450edef68
* Better error messages in fontLookup().Jeremias Maerki2007-11-131-8/+25
| | | | | | Expose font triplets to the outside (used by a test tool I wrote). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594515 13f79535-47bb-0310-9956-ffa450edef68
* Some TTF fonts don't have a PostScript name, so just emulate it in this case ↵Jeremias Maerki2007-11-131-1/+6
| | | | | | to avoid problems with font lookup further down. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594513 13f79535-47bb-0310-9956-ffa450edef68
* Improved PFM loading: Jeremias Maerki2007-11-132-10/+28
| | | | | | | | - Fixed bug with Flags (resulted in bad PDFs for certain fonts) - Warn about possible charset problems. - Fixed bug for "last char" (probably a copy/paste mistake) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594512 13f79535-47bb-0310-9956-ffa450edef68
* Expose a method so I can easily extract the renderer configuration from ↵Jeremias Maerki2007-11-131-8/+18
| | | | | | outside the rendering domain (for a test tool). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594509 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: avoid NPE when GC has removed a weak reference in the Property CacheChris Bowditch2007-11-121-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594223 13f79535-47bb-0310-9956-ffa450edef68
* Use tableLM instead of the primary grid unit to retrieve the Table fobjVincent Hennebert2007-11-121-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594079 13f79535-47bb-0310-9956-ffa450edef68
* Avoid null values in generated Font classes so the encoding can be inspected.Jeremias Maerki2007-11-125-10/+45
| | | | | | Don't warn about missing hyphenation characters for fonts such as Symbol and ZapfDingbats which don't have the default hyphenation character. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594067 13f79535-47bb-0310-9956-ffa450edef68
* Better solution for missing hyphenation character problem.Jeremias Maerki2007-11-123-15/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594054 13f79535-47bb-0310-9956-ffa450edef68
* Issue a clear warning if the selected hyphenation character is not available ↵Jeremias Maerki2007-11-121-2/+8
| | | | | | in a font. Otherwise you'd just get a "glyph not available" error and you wonder why the hell FOP wants to use that character. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@594046 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #43835:Jeremias Maerki2007-11-112-5/+9
| | | | | | | Bugfix: Use Font.getName() (logical font name) instead of Font.getFontName() (localized) when registering fonts from AWT. Submitted by: David Churavy <churavy.at.kadel.cz> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593909 13f79535-47bb-0310-9956-ffa450edef68
* Attempt to shed light on what this method does.Jeremias Maerki2007-11-091-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593573 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: An invalid PDF was created if a grayscale JPEG image with an sRGB ↵Jeremias Maerki2007-11-091-5/+12
| | | | | | profile was embedded undecoded. I didn't find any other way than to disable the the ICC profile in this case. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593452 13f79535-47bb-0310-9956-ffa450edef68
* Another improvement for font auto-detection:Jeremias Maerki2007-11-0814-67/+101
| | | | | | | Some TrueType fonts have multiple font family names which we haven't extracted so far. All these names are now exposed as a Set of Strings. An example: Futura Book BT has two font families: Futura (Mac platform) and Futura Bk BT (Windows platform). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593245 13f79535-47bb-0310-9956-ffa450edef68
* Improved font auto-detection and handling of AWT-supplied fonts in order to ↵Jeremias Maerki2007-11-0840-228/+489
| | | | | | | | | | | | | | achieve better results when using multiple output formats. Whenever possible, the font names appearing in the operating system can also be used in XSL-FO. Better distinction between Font Family Name ("Arial"), Full Font Name ("Arial Bold") and PostScript Name ("Arial-BoldMT"). This allows a better generation of FontTriplets. The same is done for AWT fonts where I have switch from font-family detection to enumerating all java.awt.Font instances so I can extract Family Name, Full Name and PostScript Name. FontInfoFinder and AWT's FontSetup are synchronized as well as possible at this time. Register "extra-bold" (weight 800) and "light" (weight 200) in triplets when detected. Tweaked FontInfo.fontLookup() for better fallback behaviour. This approach is rapidly nearing its flexibility limits. We should rethink the FontTriplet structure. Fixed font-autodetection so fonts with uppercase extensions are detected, too. Made the way TrueType fonts are embedded in PDF compliant to the specification so viewers correctly identify subset fonts. The name prefix in MultiByteFont was incorrect. Support the detection of the special Type 1 Symbol font. Symbol used to be detected with "ExpertSubsetEncoding" instead of "SymbolEncoding". Type1FontLoader tries to construct a "full name" from the PostScript name. This is a temporary hack until we have a PFB or PFA parser. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593189 13f79535-47bb-0310-9956-ffa450edef68
* bugfix: instead of throwing an exception use default PS Level if not set in ↵Chris Bowditch2007-11-081-1/+3
| | | | | | fop.xconf file git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593172 13f79535-47bb-0310-9956-ffa450edef68
* Nitpick regarding the Nimbus font namesVincent Hennebert2007-11-081-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593116 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: filters were not applied but still produced into the dictionary even ↵Jeremias Maerki2007-11-081-1/+3
| | | | | | if the filters are disabled. Fixes a bug with PDF-in-PDF embedding. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593076 13f79535-47bb-0310-9956-ffa450edef68
* Some notes about FOP's default font and font substitution for Base 14 fonts ↵Jeremias Maerki2007-11-081-1/+26
| | | | | | in document viewers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@593051 13f79535-47bb-0310-9956-ffa450edef68
* Fixed regression: transparent-page-background was not recognized for PNG output.Jeremias Maerki2007-11-062-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592554 13f79535-47bb-0310-9956-ffa450edef68
* Removed no-longer applicable test cases, for cells spanning more rows than ↵Vincent Hennebert2007-11-062-320/+0
| | | | | | available in the table part git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592399 13f79535-47bb-0310-9956-ffa450edef68
* Now that there is a dedicated package for tables, the PendingSpan class can ↵Vincent Hennebert2007-11-063-24/+40
| | | | | | be extracted into a top-level class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592395 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add IllegalRowSpanTestCase to the test suite...Vincent Hennebert2007-11-061-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592394 13f79535-47bb-0310-9956-ffa450edef68
* Added check for table-cells which span more rows than available in their ↵Vincent Hennebert2007-11-0612-26/+393
| | | | | | parent element git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592392 13f79535-47bb-0310-9956-ffa450edef68
* Slightly reworked too-many-columns_body_3 testcase, added testcase for a ↵Vincent Hennebert2007-11-062-4/+49
| | | | | | cell that spans too many columns (too-many-columns_body_4) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592387 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add TableColumnColumnNumber testcase to the testsuiteVincent Hennebert2007-11-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592386 13f79535-47bb-0310-9956-ffa450edef68
* Finalised testcase for RowGroupBuilder and added it to the testsuiteVincent Hennebert2007-11-062-49/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592384 13f79535-47bb-0310-9956-ffa450edef68
* Mailing List Archive link updates.Jeremias Maerki2007-11-064-69/+47
| | | | | | | Added ASF Sponsorship program and thanks links as required by the PRC. Added ApacheCon EU 2008 logo and link. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592361 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: FOPFonts proc is not used/needed anymore.Jeremias Maerki2007-11-061-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592341 13f79535-47bb-0310-9956-ffa450edef68
* Renamed signalNewRow method into more accurate signalRowEndVincent Hennebert2007-11-052-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592113 13f79535-47bb-0310-9956-ffa450edef68
* Renamed TableRowIteratorTestCase into RowGroupBuilderTestCaseVincent Hennebert2007-11-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592110 13f79535-47bb-0310-9956-ffa450edef68
* Upgraded javac.source and javac.target to 1.4 (to enable asserts, among others)Vincent Hennebert2007-11-051-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592105 13f79535-47bb-0310-9956-ffa450edef68
* Moved table-related FObj into new o.a.fop.fo.flow.table packageVincent Hennebert2007-11-0549-115/+117
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592103 13f79535-47bb-0310-9956-ffa450edef68
* Updated the warning messagesVincent Hennebert2007-11-056-10/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592067 13f79535-47bb-0310-9956-ffa450edef68
* Renamed TableRowIterator* test cases into RowGroupBuilder*Vincent Hennebert2007-11-058-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592060 13f79535-47bb-0310-9956-ffa450edef68
* First step towards building row groups at the FO tree stage. The built row ↵Vincent Hennebert2007-11-0520-220/+1255
| | | | | | | | | | groups are currently not used and the TableRowIterator stuff remains unchanged; this allows for more atomic commits. - introduced RowGroupBuilder hierarchy; - moved TableRowIterator test cases into fotree, and integrated them in the test suite. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592058 13f79535-47bb-0310-9956-ffa450edef68
* Disabled debug outputsVincent Hennebert2007-11-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592016 13f79535-47bb-0310-9956-ffa450edef68
* Make Vincent happy.Jeremias Maerki2007-11-051-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591978 13f79535-47bb-0310-9956-ffa450edef68
* Added support for fo:markers on fo:inline and fo:basic-link.Andreas L. Delmelle2007-11-0413-53/+183
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591756 13f79535-47bb-0310-9956-ffa450edef68
* Completely reimplemented the PDFTextPainter. All SVG text (including flow ↵Jeremias Maerki2007-11-0315-500/+1038
| | | | | | | | text, but excluding special cases with filters) is now painted in PDF text primitives. The whole thing compiles against and runs with Batik 1.6 but was developed against Batik Trunk (1.7). The TextBridge for SVG 1.2 text is omitted because we're still on Batik 1.6 and FOP wouldn't compile with it. The full feature set is only available with Batik 1.7, of course. With Batik 1.6, font selection may not work as expected. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591587 13f79535-47bb-0310-9956-ffa450edef68