Vincent Hennebert
ac5c61bd29
Bugzilla #50483: Improved support for TrueType fonts in PostScript
Refactored code and added unit tests
Patch by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1307574 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
06b6c0ef40
Merged changes from Trunk up to revision 1040962
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1040969 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
f03082d35d
Second part of patch 50245 by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039502 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
090bb818c4
Partial application of patch 50245 by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039350 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
5d7dbbb96b
Bugzilla 38264: hyphenation in combination with preserved linefeeds and/or white-space
no longer causes duplication of content and missing hyphens
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039188 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
de1edeadef
Merged changes from Trunk up to rev. 1039179
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_TrueTypeInPostScript@1039187 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
2bd5b90ac2
Minor fixups, cleanups; removal of some dead code and a misleading TODO
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039186 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
b84254b83c
Another go at removing all trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039179 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
e42c647745
Set svn:keywords and svn:eol-style properties
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039175 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
ba5eacf25c
Bugzilla #49695: Replaced magic numbers with constants from UnitConv and GraphicsConstants
Patch submitted by Joshua Marquart (joshua dot marquart _at. firstdata .dot_ com), applied with some modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1038291 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
a27f21f046
Exclude all existing findbugs warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036879 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
7fd93418aa
Reverting renaming of public methods of rev. 1036179
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
87ba699766
Forgot to rename in one client
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036467 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
cebc3c349b
Retroweaver is no longer necessary
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036466 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
c12f21a43c
findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
0590bb1bab
Update XGC library to pull in the fix for headless junit tests, bug 50253
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036000 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
7a413b42ba
Removed outdated fop.bat script
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035612 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
e76a2cb223
Re-ordered class members
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035611 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
ccd95eb2ba
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 anni fa
Vincent Hennebert
4fc68cae8a
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 anni fa
Jeremias Maerki
f6072cd1f3
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 anni fa
Jeremias Maerki
d6dcc3fbf6
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 anni fa
Jeremias Maerki
b91445fc99
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 anni fa
Jeremias Maerki
997490abbf
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035276 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
6393d648b6
Removed tab characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035275 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
0b83bd4d3e
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 anni fa
Simon Pepping
e99cbbd79f
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 anni fa
Vincent Hennebert
9233b561fe
Added entry about bug 45971
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1032549 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
21a723c6d0
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 anni fa
Jeremias Maerki
deb56a2892
Small improvement for XMP generation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1028021 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
0c192d0a1c
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 anni fa
Jeremias Maerki
3f3603c150
Bugzilla #42600:
Wrong constant used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1026114 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
c4e7e5994e
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 anni fa
Jeremias Maerki
c2a57f2aa8
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 anni fa
Jeremias Maerki
a8a77b3429
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 anni fa
Jeremias Maerki
95e4006005
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 anni fa
Jeremias Maerki
d4022e00e1
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 anni fa
Jeremias Maerki
d598501f1c
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 anni fa
Jeremias Maerki
955dcd2984
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 anni fa
Simon Pepping
a7dc4681de
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 anni fa
Simon Pepping
de1c5a77a0
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 anni fa
Simon Pepping
73b50fd48f
Fixing a few checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1003850 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Simon Pepping
c1ada8bb7f
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 anni fa
Simon Pepping
b3d907e39e
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 anni fa
Simon Pepping
61857be687
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 anni fa
Jeremias Maerki
a6e34202c6
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 anni fa
Vincent Hennebert
86527b4220
Removed custom asf.todo tag
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002788 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
f85e99dc40
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 anni fa
Jeremias Maerki
17370d11f9
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 anni fa
Simon Pepping
414384fc62
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 anni fa