Reverted rev 908543.
For some Type 1 fonts, the encoding mapped characters in the AFM file don't match the font's primary encoding. This change tries to address this fact.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@910445 13f79535-47bb-0310-9956-ffa450edef68
Added complete list of 1.1 item in compliance page.
- Udated information for page-number-citation-last, content-width, content-height, and page-position
- Updated links for bookmarks
- retrieve-table-marker now related to fox:outline
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@910239 13f79535-47bb-0310-9956-ffa450edef68
Bugfix: Don't map AdobeStandardEncoding to StandardEncoding. They are not the same. Fixes problem with invalid character widths on PostScript output and missing umlauts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@908543 13f79535-47bb-0310-9956-ffa450edef68
Bugfix for color model in IOCA IDE structure parameter for 4- and 8-bit grayscale images.
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@908394 13f79535-47bb-0310-9956-ffa450edef68
The same bug that existed for Type 1 fonts (fixed in rev 777459) also applies to TrueType fonts. The last glyph in a font was reported to have zero width. Bug exists since 2001.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@907265 13f79535-47bb-0310-9956-ffa450edef68
Made part of setupsRGBColorProfile method synchronized to avoid ConcurrentModificationException when PDF documents are being produced in multiple threads
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
Updated reference accessible PDF files. Old ones had "Apache FOP Version SVN branches/Temp_Accessibility" as Creator and Producer values. New ones have "Apache FOP Version SVN trunk". This was causing spurious differences when testing PDF accessibility.
Fixed a multi-threading bugfix, visible for example when opening examples/fo/basic/readme.fo with the AWT Preview. Words could be jumbled and the wrong fonts were sometimes used.
The class still has a performance problem concerning the use of the TextLayout class for determining some font metrics otherwise not available from the Java2D/AWT subsystem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@895012 13f79535-47bb-0310-9956-ffa450edef68
Fixed test case: 102 / 255 is 0.4, not 0.48. It is not the same as the previous check where no RGB replacement values are given but are calculated from the CMYK value.
Added support for TrueType fonts with symbol character maps (like "Wingdings" and "Symbol"). Characters for these fonts are usually found in the 0xF020 to 0xF0FF range (a Unicode private use area).
There's also experimental support to additionally map these characters into the 0x0020 to 0x00FF range if no characters are mapped in this area. That means that that, for example, Wingdings' pen symbol can be accessed using 0xF021 and 0x0021.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891181 13f79535-47bb-0310-9956-ffa450edef68
"Freestyle Script", for example, only has a single variant.
Freestyle Script,normal,100 was properly resolved to Freestyle Script,normal,400.
Freestyle Script,italic,400 was properly resolved to Freestyle Script,normal,400.
But Freestyle Script,italic,100 was resolved to the "any" font.
All combinations of weights and styles are now remaining on the same font family where possible.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891174 13f79535-47bb-0310-9956-ffa450edef68