aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/afp/fonts
Commit message (Collapse)AuthorAgeFilesLines
* Mistake in last commit: didn't add a classMehdi Houshmand2012-05-151-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338607 13f79535-47bb-0310-9956-ffa450edef68
* Improved handling of AFP double-byte character setsMehdi Houshmand2012-05-154-29/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
* Changed the way AFP PTOCA TransparentData control sequences are written so ↵Mehdi Houshmand2012-05-111-31/+20
| | | | | | that they end on character byte boundaries git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1337142 13f79535-47bb-0310-9956-ffa450edef68
* Bug in AFP font metrics that performed integer arithmetic when it should ↵Mehdi Houshmand2012-04-103-14/+15
| | | | | | | | | have been double arithemetic. Also added some generics to the surrounding classes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311638 13f79535-47bb-0310-9956-ffa450edef68
* Added new line at end of files and enabled corresponding rule in checkstyle-5.5Vincent Hennebert2012-03-064-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
* Removed trailing whitespace and enabled corresponding RegexpSingleline ↵Vincent Hennebert2012-03-051-1/+1
| | | | | | Checkstyle rule git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
* enable ImportOrder rule; fix violationsGlenn Adams2012-03-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
* default all RightCurly tokens, thus adding LITERAL_IF; fix violationsGlenn Adams2012-03-021-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296418 13f79535-47bb-0310-9956-ffa450edef68
* Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-301-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52416:Chris Bowditch2012-01-191-12/+14
| | | | | | | Suppress unnecessary "font not found warnings" when generating AFP with raster fonts Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233393 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51209:Chris Bowditch2012-01-181-0/+12
| | | | | | | SVG text in AFP creates miscoded GOCA text Submitted by: Luis Bernardo git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232845 13f79535-47bb-0310-9956-ffa450edef68
* Changed the error handling for AFP fonts such that errors are passed to the ↵Mehdi Houshmand2011-11-215-85/+83
| | | | | | AFPEventProducer. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #52177: Changed the AFP double-byte characterset builder to a ↵Mehdi Houshmand2011-11-181-21/+37
| | | | | | singleton, this now matches the behaviour of the single byte characterset builder git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203719 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#52089: Allow JPEG images to be embedded in an AFP document asPeter Hancock2011-11-011-3/+5
| | | | | | | | | is, without being decoded and encoded. It also allows lossy JPEG compression. Patch by Jeremias Maerki and Mehdi Houshmand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1195952 13f79535-47bb-0310-9956-ffa450edef68
* Various small fixesSimon Pepping2011-09-291-13/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1177228 13f79535-47bb-0310-9956-ffa450edef68
* Proper fix for Bugzilla #51789: no non-ascii characters permittedVincent Hennebert2011-09-122-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169780 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #51789: removed non-ascii characters in source filesVincent Hennebert2011-09-122-3/+3
| | | | | | | Patch submitted by Christopher Yeleighton git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1169758 13f79535-47bb-0310-9956-ffa450edef68
* Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.Peter Hancock2011-09-054-78/+261
| | | | | | | Submitted by: Mehdi Houshmand <med1985.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165223 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla#51205: Corrected typographical errors in AFPBase12FontCollection.Peter Hancock2011-09-051-4/+4
| | | | | | | Submitted by: Mehdi Houshmand <med1985.at.gmail.com> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165195 13f79535-47bb-0310-9956-ffa450edef68
* Another go at removing all trailing whitespaceVincent Hennebert2010-11-251-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039179 13f79535-47bb-0310-9956-ffa450edef68
* Metrics need to be added before the font properties to avoid NPEs on font ↵Jeremias Maerki2010-09-301-1/+1
| | | | | | replacement. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1002980 13f79535-47bb-0310-9956-ffa450edef68
* Removed many "// CSOK: ConstantName" instances for constants, by converting ↵Jeremias Maerki2010-08-142-7/+5
| | | | | | | | | them to uppercase as they should really be. Fixed some other non-Checkstyle issues on the way, imports mainly. Removed some "log" instances that were not used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49733:Jeremias Maerki2010-08-146-8/+15
| | | | | | | | | | | | | | Resolved compilation (safe one), Checkstyle and many Javadoc warnings. Submitted by: Glenn Adams <glenn.at.skynav.com> Changes to patch: - Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released). - Restored Renderer.startPageSequence(LineArea) pending discussion about removal. - build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs. - build.xml: restored longer taskdef names. - Restored Checkstyle 4 file for people running older IDEs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
* Missed a parameter change for an overridden method. (Additional change for ↵Jeremias Maerki2010-05-201-1/+1
| | | | | | revision 946539) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946637 13f79535-47bb-0310-9956-ffa450edef68
* Changed many variables and parameters from "int" to "char" because AFP font ↵Jeremias Maerki2010-05-208-38/+54
| | | | | | support mostly uses Unicode code points unlike Type 1 and TrueType support which use internal character code points (the result of Font.mapChar()). This should improve code readability. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946585 13f79535-47bb-0310-9956-ffa450edef68
* Bring error handling more in line with general recommendations and provide ↵Jeremias Maerki2010-05-201-17/+7
| | | | | | better error messages. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@946539 13f79535-47bb-0310-9956-ffa450edef68
* recent change to cache CharacterSet exposed multi threading issueChris Bowditch2010-04-211-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@936447 13f79535-47bb-0310-9956-ffa450edef68
* cache AFP Fonts in a similar manner to LazyFont class for TrueType fonts. ↵Chris Bowditch2010-04-141-13/+42
| | | | | | This boosts performance when rendering a large batch of AFP documents in the same JVM git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@933990 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #48567:Jeremias Maerki2010-01-216-249/+526
| | | | | | | | | | | | | | Initial support for CID-keyed double-byte fonts (Type 0) in AFP output. Submitted by: Peter Hancock <peter.hancock.at.gmail.com> Patch modified by jeremias: - as discussed: removed fallback character code - as discussed: changed "double-byte" to "CIDKeyed" for the font type. - some cosmetic changes - removed some dead code and commented code. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@901793 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem with raster font substitution when there's no smaller font ↵Jeremias Maerki2009-08-031-3/+7
| | | | | | available. This avoids an exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800229 13f79535-47bb-0310-9956-ffa450edef68
* Added support for AFP font embedding. Note: this changes the default ↵Jeremias Maerki2009-07-272-13/+29
| | | | | | | | | | behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration. Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension. Fixed a small problem with AFP-related events. DefaultFOPResourceAccessor got a fallback to the user agent's base URI if no category base URI is specified. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798207 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: fractional points sizes in AFP not working correctly together with ↵Chris Bowditch2009-07-075-49/+156
| | | | | | fo:inline git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791781 13f79535-47bb-0310-9956-ffa450edef68
* Correct wrongly encoded characterAndreas L. Delmelle2009-06-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@784924 13f79535-47bb-0310-9956-ffa450edef68
* AFP Output: Add support for fractional font-sizes, and make sure that, for ↵Andreas L. Delmelle2009-06-061-39/+55
| | | | | | non-registered sizes, the substitution will always map to the smaller size if there is also a larger one available git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@782289 13f79535-47bb-0310-9956-ffa450edef68
* Added full URI resolution support for AFP fonts.Jeremias Maerki2009-03-104-93/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@752133 13f79535-47bb-0310-9956-ffa450edef68
* Restored compatibility with Java VMs that don't support nio Charsets for ↵Jeremias Maerki2009-03-091-10/+34
| | | | | | codepages such as Cp500 (EBCDIC). The simplifications for the fallback case may look wrong but the code basically represents the state before revision 746664 which introduced this problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@751613 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 741104 - 744926.Jeremias Maerki2009-02-161-90/+58
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744946 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45342:Jeremias Maerki2009-02-091-91/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | AFP Fonts: Fixed interpretation of metric for fonts with fixed metrics and made sure all repeating groups in FNP (Font Position) are processed. Submitted by: Emil Maskovsky <styryx.at.seznam.cz> Modifications to patch by jeremias: - Style changes (tabs, variable names, javadocs) - Fixed handling of spaces in URLs (as in IF branch) - Modified the way the metrics are calculated (Emil's solution didn't produce the values required by FOP) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@742564 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix for path handling when spaces are in the path.Jeremias Maerki2009-02-051-1/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741166 13f79535-47bb-0310-9956-ffa450edef68
* | Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-051-0/+8
| | | | | | | | | | | | | | | | | | letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev). Allow to control whether kerning information is loaded from fonts. Started support for AFP font embedding (incomplete and currently disabled) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741165 13f79535-47bb-0310-9956-ffa450edef68
* | Added support for fixed-width spaces.Jeremias Maerki2009-01-135-32/+63
|/ | | | | | Better handling of unmappable characters. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@734105 13f79535-47bb-0310-9956-ffa450edef68
* FopCharacterSet doesn't follow the same contract as its superclass. The ↵Jeremias Maerki2008-12-072-10/+6
| | | | | | metrics must not be multiplied by the font size in the FopCharacterSet class. Only RasterFont or OutlineFont should do that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@724126 13f79535-47bb-0310-9956-ffa450edef68
* Avoid replacement notification if we're only checking the presence of a ↵Jeremias Maerki2008-12-051-4/+4
| | | | | | certain font. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723689 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Custom AFP fonts reported bad metrics.Jeremias Maerki2008-12-052-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@723683 13f79535-47bb-0310-9956-ffa450edef68
* * Text encoding is now handled by PresentationTextData and character set ↵Temp_AFPGOCAResourcesAdrian Cumiskey2008-11-271-1/+1
| | | | | | | | | encoding errors are now handled by AFPEventProducer. * Moved AFPEventProducer from org.apache.fop.render.afp package to org.apache.fop.afp package. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@721151 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup.Adrian Cumiskey2008-11-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@719589 13f79535-47bb-0310-9956-ffa450edef68
* Memory usage optimizations.Adrian Cumiskey2008-11-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@718262 13f79535-47bb-0310-9956-ffa450edef68
* * PDFImageHandler interface split into ImageHandler and PDFImageHandler.Adrian Cumiskey2008-11-133-13/+100
| | | | | | | | | | | | | | | | | | * Deleted AFPDataObjectInfoProvider and AFPImage*Factory implementations, and abstracted AbstractImageHandlerRegistry from PDFImageHandlerRegistry, creating AFPImageHandlerRegistry and AFPImageHandler so there is a common reuse of image handling implementation between AFP and PDF now. * RendererContext instantiation is now overridable in PrintRenderer. * Created AFPRendererContext that is able to provide AFPInfo. * toString() added to RendererContext for ease of use. * Removed GraphicsObjectPainterAFP. * Added package.html for AFP (sub)packages. * Abstracted AbstractFOPBridgeContext from PDFBridgeContext and provided AFPBridgeContext implementation. * Abstracted AbstractFOPTextElementBridge from PDFTextElementBridge and provided AFPTextElementBridge implementation. * Abstracted AbstractFOPImageElementBridge from PDFImageElementBridge and provided AFPImageElementBridge implementation. * Provided inline image support/handling in AFPGraphics2D for SVG. * Created NativeImageHandler interface. * Fix for path iterator filled line drawing in AFPGraphics2D adding coordinate drawing implementations GraphicsLineRelative and GraphicsFilletRelative (Thanks for the patch Jeremias). * Improved configuration.xml documentation for images mode/native setting in AFP renderer configuration. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@713747 13f79535-47bb-0310-9956-ffa450edef68
* All AFP library classes without Renderer dependencies moved from ↵Adrian Cumiskey2008-10-2712-0/+2324
org.apache.fop.renderer.afp.* to org.apache.fop.afp.*. AbstractNamedAFPObject now truncates names to the last x characters of the name string instead of the first x (where x is the name length of the structured field). Removed redundant package org.apache.fop.store. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@708134 13f79535-47bb-0310-9956-ffa450edef68