Dealing with IOExceptions for certain large PFM files in a more radical way: load everything into memory, since we basically need random access here. The biggest PFMs I've seen so far are around 20KB so this shouldn't be a big problem, especially as the memory is freed pretty quickly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474410 13f79535-47bb-0310-9956-ffa450edef68
Support for the rgb-icc() function and for a proprietary cmyk() function (for device CMYK colors only through the PDF renderer so far).
Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com>
Patch slightly modified to comply with our Java conventions, plus some minor editing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474225 13f79535-47bb-0310-9956-ffa450edef68
UnicodeBig does the same as UTF-16BE on read (marker is optional, defaults to big endian).
"UnicodeBig" does not seem to be available in Harmony, yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473986 13f79535-47bb-0310-9956-ffa450edef68
1. The PreviewDialog did not display correctly under certain Window managers
(this is actually a bug in Sun's JVM).
2. Keyboard shortcuts are added for PageUp/PageDown (prev/next page), Home
(first page) and End (last page).
3. PreviewPanel.setPage() scrolls to the selected page.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@473976 13f79535-47bb-0310-9956-ffa450edef68
Do not stop building the metrics file if the unicode index is not found for a kerning entry.
In my tests with OpenType fonts provided with Ubuntu, this happened quite often, probably
caused by extraneous kerning entries which do not point to valid glyphs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@463581 13f79535-47bb-0310-9956-ffa450edef68
Bugzilla 40724, kerning works now for custom CID fonts.
Kerning tables in the metrics xml file now uses unicode character indexes, instead of glyph indexes.
Note that this makes the kerning info in these files incompatible with older versions of FOP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@463175 13f79535-47bb-0310-9956-ffa450edef68
FilledArea now properly applies the variation factor, when a page
number citation is resolved. It (and each InlineArea) may have an
adjustingInfo object for that purpose. Adapted leader_toc testcase to
the new, correct, results; removed page-number-citation_forward-ref
testcase because it duplicates the leader_toc testcase.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462812 13f79535-47bb-0310-9956-ffa450edef68
Patch from bugzilla 5335 comment #17 applied, thanks to vincent.hennebert@anyware-tech.com.
Fixes "Illegal entry in bfrange block in ToUnicode CMap" error, and a potential problem when the ToUnicode table contains more than 100 ranges.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@462741 13f79535-47bb-0310-9956-ffa450edef68
Applied patch from bugzilla 5335, comment 10.
Generates a ToUnicode table for embedded CID fonts.
Patch provided by Adam Strzelecki, ono@java.pl.
The patch contains code for the FOray project, used with permission (bugzilla 5335 comment #13).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454731 13f79535-47bb-0310-9956-ffa450edef68
Generates a ToUnicode table for embedded CID fonts.
Patch provided by Adam Strzelecki, ono@java.pl.
The patch contains code for the FOray project, used with permission (bugzilla 5335 comment #13).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454725 13f79535-47bb-0310-9956-ffa450edef68
Create a dummy PercentBaseContext in FOPRtfAttributes, so that
percentage font size properties are properly evaluated. Patch by
Renaud Michel <renaud dot michel at defimedia dot be>. Unfortunately,
no regression test, because I have no RTF test framework.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@454369 13f79535-47bb-0310-9956-ffa450edef68