font dict writing moved to new class PSFontUtils.
PSGenerator.resolveURI() does the same as FOUserAgent.resolveURI() but thus avoids the dependency on FOUserAgent. Needed for font embedding.
Treat fonts as resources now.
Wrap font keying in FOP-specific comments for reliable finding.
New class SubInputStream which reads a maximum number of bytes from an underlying InputStream and then behaves like it has reached EOF. Used for Type1 font embedding.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@278782 13f79535-47bb-0310-9956-ffa450edef68
Started to implement a resource tracking facility in the PSGenerator. It tracks resources such as EPS files, procset etc. as PSResource instances.
Resource-DSC comments are now generated.
Procsets moved into the Prolog where they belong.
Font setup is no longer a resource as it is not interchangeable between rendering runs. It's now just setup code with FOP-specific comments surrounding it.
In the future, this may also make it possible to write a size-optimized PS file from which the resources are stripped while writing the file. These resources will then be installed directly on a printer or inserted into the Prolog by a post-processor.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@239419 13f79535-47bb-0310-9956-ffa450edef68
Substantial refactoring of the PS transcoder (especially the text painting, less painting using the StrokingTextPainter, therefore more speed and smaller output files)
Establish WinAnsiEncoding in PS interpreter
Reencodes all fonts except Symbol and ZapfDingbats as WinAnsiEncoding
Financed by: CTB/McGraw-Hill
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196484 13f79535-47bb-0310-9956-ffa450edef68
Cleaned up PSRenderer a bit
Add configurable auto-rotate-landscape behaviour (default is false)
Added PageHiResBoundingBox
Fixed BoundingBox values
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196272 13f79535-47bb-0310-9956-ffa450edef68
Support for SEG_QUADTO (curves).
Some support for viewport traits (background and borders).
Submitted by: Zhong Yi <yidaomao@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196058 13f79535-47bb-0310-9956-ffa450edef68
First step at bringing back the PostScript renderer. Basic text works to a
certain degree. Well, it compiles. :-)
Started to factor out PS generation for cleaner separation of PS transcoder and PS renderer
Separation of PostScript procsets so they don't clutter the code of PSRenderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195894 13f79535-47bb-0310-9956-ffa450edef68