Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread mehdi houshmand
Hi Craig, Excellent!!! I think we're making some progress here! > Ugh. A well-designed RIP should be able to load XObject forms on demand > and free them under memory pressure. After all, an image is also a > global resource that can be referenced multiple times across different > pages (an indi

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread Craig Ringer
On 07/03/12 16:35, mehdi houshmand wrote: >> * Insert the concatenated content streams from the source PDF into the >> output content stream. They must be surrounded by appropriate graphics >> state save and restore operators and any necessary scale/position >> operations to place the content where

DO NOT REPLY [Bug 52849] New: SVG font being painted as shapes when font present in the system

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52849 Bug #: 52849 Summary: SVG font being painted as shapes when font present in the system Product: Fop Version: all Platform: PC OS/Version: Linux S

DO NOT REPLY [Bug 52849] SVG font being painted as shapes when font present in the system

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52849 --- Comment #1 from Luis Bernardo 2012-03-07 14:55:40 UTC --- Created attachment 28432 --> https://issues.apache.org/bugzilla/attachment.cgi?id=28432 patch the attached patch addresses the issue: fonts known to FOP as stroked as text ev

DO NOT REPLY [Bug 52849] [PATCH] SVG font being painted as shapes when font present in the system

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52849 Luis Bernardo changed: What|Removed |Added Summary|SVG font being painted as |[PATCH] SVG font being

DO NOT REPLY [Bug 52849] [PATCH] SVG font being painted as shapes when font present in the system

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52849 --- Comment #3 from Mehdi Houshmand 2012-03-07 15:07:51 UTC --- Hi Luis, Just thinking about this, I think maybe the FontInfo class shouldn't really be responsible for remembering that which notifications it has sent. It just just notify

DO NOT REPLY [Bug 51977] a created long pdf document is not readable

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #3 from Luis Bernardo 2012-03-07 16:07:49 UTC --- what viewer are you using? I can open the file with evince and see the contents without problem (it does take a bit to load though). -- Configure bugmail: https://issues.apach

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread Vincent Hennebert
Just my 2 cents on a particular detail... On 07/03/12 07:51, Craig Ringer wrote: > On 06/03/12 18:49, mehdi houshmand wrote: >> So with that in mind, what exactly are you trying to do? Why are you >> using FOP to merge PDFs? > I'm using FOP to produce documents containing a mixture of automatical

DO NOT REPLY [Bug 52849] [PATCH] SVG font being painted as shapes when font present in the system

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52849 --- Comment #4 from Luis Bernardo 2012-03-07 23:14:22 UTC --- I confess I did not put a lot of thought into that and instead used the same pattern that was already present in the that class in the notifyFontReplacement() method. But the re

DO NOT REPLY [Bug 51977] a created long pdf document is not readable

2012-03-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=51977 --- Comment #4 from Luis Bernardo 2012-03-07 23:24:59 UTC --- this is odd... the PDF appears as a white sheet in Adobe Reader (Mac 10.1.2), but the content is visible in Preview (Mac OS X viewer) and in Evince (Linux) -- Configure bugmai

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread Craig Ringer
On 08/03/12 04:12, Vincent Hennebert wrote: > Just my 2 cents on a particular detail... > > On 07/03/12 07:51, Craig Ringer wrote: >> On 06/03/12 18:49, mehdi houshmand wrote: > >>> So with that in mind, what exactly are you trying to do? Why are you >>> using FOP to merge PDFs? >> I'm using FOP

Re: Fwd: fop-pdf-image and fonts; as requested

2012-03-07 Thread mehdi houshmand
Haha, well the shortest answer I can give is "kinda". SVG uses Batik, which in turn uses the AWT font classes. Long story short, you have to install the font on the system as well as having it in the fop.xconf. There are plenty of discussions on this on the mailing lists for you to peruse at your