Vincent Hennebert
c04a030afc
Re-ordered class members
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035611 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
338ae70df4
Made the result of toString more readable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035610 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
e126edb6ed
Do not re-create an AlignmentContext instance if one already exists.
Fixes a bug when the changing IPD hack is triggered and the getNextKnuthElements method is called a second time
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035609 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
a420843599
Added semicolon for enum to avoid problems with qdox and Maven.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1035313 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
f133bab5a8
Added full support for single-byte encodings when TTF fonts are embedded in PostScript.
Deprecated MultiByteFont.setBFEntries() in favor of CustomFont.setCMap().
Added some TODO related to BFEntry and TTFCmapEntry essentially being the same class. Maybe we should rename BFEntry.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1035307 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
a46140eafd
Merged from Trunk revisions 990171 to 1035276.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1035278 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
3dc848243b
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035276 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e6245e4939
Removed tab characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035275 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
327caf5863
PostScript Output: Bugfix for the occasional badly rendered glyph on HP Laserjets.
Reason: the /sfnts entry should split strings at glyph boundaries which currently doesn't happen.
Solution: Switch to the /GlyphDirectory approach described in the section "Incremental Definition of Type 42 Fonts" in the PS language reference. This way all glyphs are separated into single strings which seems to solve the problem. It is also much closer to the approach taken by the various PostScript printer drivers on Windows.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1034094 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1939c00e19
Applied patch 50240 by Mehdi Houshmand with changes: Java source and
target changed to 1.5. EncodingMode changed from class -> enum.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1033859 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
353cb3efa6
Added entry about bug 45971
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1032549 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e725976e00
TrueType subsetting for CID TTF fonts is now working.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1030518 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
5d507935e6
Small improvement for XMP generation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1028021 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
a2f1dbe772
Added two more character to be escaped in a PDF name (now in sync with PDFBox).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1027520 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
351d9426da
Bugzilla #42600:
Wrong constant used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026114 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
0a3aa3b66c
Bugzilla #42600:
Added some support for break-before/-after for RTF output.
Submitted by: Maximilian Aster <maximilian.aster.at.boc-eu.com>
Changes to patch:
- Code style fixes
- Removed dependency from rtflib to FO Constants.
- Tried to implement even/odd/column breaks
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026110 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
2089591b3d
Copy attributes since some XML parsers might reuse the Attributes instance.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026006 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e7e2907920
Allow to pass through document-level extensions from the first document passed to the IFConcatenator.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026003 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
c7f63f3f3a
Wrap the whole page stream in a q..Q pair to avoid problems when the page streams are combined later with additional content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1025850 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
96d303859b
Bugfix for unescaped name characters which can cause trouble with PDF parsers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1021325 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
eff5b9fd40
Bugzilla #49379:
Added ability to embed an external AFP page segment resource file (AFP output only).
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
Changes to patch:
- Replaced AFP parsing code with a more universal MO:DCA parser (as discussed).
- AFPDocumentHandler: addressed a TODO (clearing of the page segment map was not necessary for each page)
- AFPDocumentHandler: merged pageSegmentMap and pageSegmentUriMap by creating a combined object: PageSegmentDescriptor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1005350 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
8ca38ab9b6
Handled optional CR and LF chars between structured fields.
Extended the field class so it can write itself back to an OutputStream.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004991 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
18b6055d59
More cleanup of unused methods in Hyphenator
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004917 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
04701709af
Making fallback from (lang,country) to (lang) consistent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004907 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
a6e8eea815
Fixing a few checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003850 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
9e823a1055
Remove unused methods from Hyphenator; this leaves a utility class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003845 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
3f407e611f
Make handling of configuration errors consistent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003775 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
6d4f489084
Enable configuration of hyphenation pattern file names
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003774 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
9f74aeeef6
Metrics need to be added before the font properties to avoid NPEs on font replacement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002980 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
da7bda6577
Removed custom asf.todo tag
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002788 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
8a2c2476e3
Added support for font substitutions on PDF/PSTranscoder by configuring the FontManager.
Restored configuration support for the (E)PSTranscoder.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002550 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
4b3802b450
Some fine-tuning for the font selection in SVG to better match AWT/GVT fonts to FOP's fonts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@999488 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
5f6c218eac
Add the availability of nightly snapshots
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@999324 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
ae8287810b
Update the location of the maven XML schema
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@999321 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
fbb42eee69
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@997602 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
6784fe6d14
Bugzilla #46360:
Fixed a multi-threading issue when rendering SVG.
Submitted by: Alexis Giotis <alex.giotis.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@997599 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
07c8abc503
Created target nightly-build
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@996451 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
964dd91787
Moving the AFP parser from XGC to FOP for now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@995762 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
f62155abf5
Fixed formatting of help message
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@995181 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
144138a647
Bugzilla #49885:
Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993357 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Simon Pepping
df2ce762e0
Add parent block, update XGC version in pom template
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993328 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
41b4797e3a
Fixed typos and source code indentation issues.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@992386 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
6faeb0d394
Implemented reset method for changing IPD
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@992029 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
1080c61fb2
Do not issue a warning if renderer configured to output PostScript level 3. Throw an error instead when it is not the case.
Pass the event producer around.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@991203 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
519ac01c92
Added possibility to use glyphs outside WinAnsiEncoding for TrueType fonts that are not embedded in the PostScript file, and that don't have a list of glyph names ('post' table version 3).
This is done by creating glyph names using Adobe's convention (/u1234) and adding a CharStrings table that maps those glyph names to the actual glyph index.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990225 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
001ddbb84a
Fixed list of supplied resources for DSC when <optimize-resources> option set to true
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990220 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
bb6dd55147
Added support for multi-byte fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990219 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
77e6a23870
Merged changes from Trunk up to revision 990155
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@990174 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
7200fc21fe
Fixed indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990155 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
b0061f14d5
Removed unused methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@990154 13f79535-47bb-0310-9956-ffa450edef68
14 years ago