eeds to be a command-line
syntax for negating options. Common ways programs do that are:
'n' prefix, eg:
-nr
'+' for negation (ick!):
fop +r
pre-fix negation argument that negates the next argument:
fop -n -r
fop '!' -r
case:
fop -R
--
Craig Ringer
On 04/04/12 18:02, Vincent Hennebert wrote:
> Hi Craig,
>
> Thanks for your extensive study!
>
> On 03/04/12 10:31, Craig Ringer wrote:
>> On 03/04/12 01:16, Vincent Hennebert wrote:
>>
>>>> From a quick look that sounds about right. Are you developing with
COSArray
PDFStream COSStream
PDFNull COSNull
If I get time (big if, at the moment) I'll see if I can have a play and
determine what kind of work is involved in doing this.
--
Craig Ringer
y and take a look in the next few days and give it a
> think, see if there's anything we can do to help.
>
> Apologies once again,
>
> Mehdi
>
> On 28 March 2012 07:39, Craig Ringer wrote:
>
>> Hi
>>
>> I've nearly finished work on getting
On 03/30/2012 05:09 AM, J.Pietschmann wrote:
Am 29.03.2012 01:24, schrieb Craig Ringer:
I'd also like to have getEncodedName() return a byte[] not a
String, since an encoded PDF name isn't actually text data.
Sounds like a reasonable idea.
BTW, is there any reason Fop's P
haracter* in a String
to hex and write that out. This is incorrect, because PDF names should
be UTF-8, so it should be encoding to a UTF-8 byte sequence then escaping.
--
Craig Ringer
POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088 Fax: 08 9388 2258
ABN: 50 008 917 717
http://www.postnewspapers.com.au/
ely unaffected, as would
clients that use the area tree / IR code, image loader code, or pretty
much anything except the guts of pdf handling.
I'll post a proposed patch soon, along with patches for some other
changes that enable what I'm doing but may be useful for others. A patch
with the fop-pdf-images "merge" feature support will follow once I've
finished it enough that I can do test-runs.
--
Craig Ringer
On 03/22/2012 03:54 PM, Pascal Sancho wrote:
Hi,
+0
I see no objection if PDF-image plugin is updated in a short delay
(I mean: before next release).
This might be a good opportunity to merge fop-pdf-image .
--
Craig Ringer
ate fonts (and thus won't help with file
size) but it might help with the RIP crashes. Here's hoping.
See the PDFBox-dev mailing list for the Overlay.java patch.
--
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
a document during the preload run and make
an appropriate decision about how to embed it. I'm not sure it's even
necessary to have an image plugin api change for this; plugins should be
able to store enough information in a WeakHashMap to
figure it out, so I should be able to make fop-image-plugin use form
XObjects only for pdf images referenced multiple times.
--
Craig Ringer
be insane - why implement text justification and flow
algorithms, etc, when it's already well established in fop?
> Have you
> tried merging PDFs with PDFBox and seeing how that affects the RIP?
I haven't, and it's worth a try. It'd produce a document containing many
hundreds of small irregular shaped pages, as each input PDF is quite
small. It'd certainly help confirm whether the issue was XObject form
use, or whether it was font duplication.
--
Craig Ringer
nd has entirely different considerations because of the
possibility of visible changes caused by non-matching metrics etc.
--
Craig Ringer
scope creep. I see the
pdf-image-plugin as a plugin that treats PDFs as images, nothing more.
If you want to stitch together PDFs, PDFBox is designed just for that.
The trouble is that fop-pdf-image exists because PDFs aren't just
images. If they were, it'd be much easier to just rasterise
;d like to
note another possible motivation for extracting the font library: to
then potentially permit it to be merged with or replaced by pdfbox's
fontbox, reducing duplicate work.
--
Craig Ringer
;
- Anything in the proposed XSL-FO 2.0 feature list (though most of it
won't be realistic for GSoC projects);
- Merge fop-pdf-image and implement smart merging of font, profile, and
image resources. I'm working on this one at the moment, but slowly and
only amid other projects.
--
Craig Ringer
able to successfully combine subsets together, but I have more
of a chance of that than I do making new subsets when I can't match
fonts reliably enough.
Ideas?
--
Craig Ringer
makes fop-pdf-image much
more complex and makes working with fonts a lot harder. I'm sure it's
not the only area where a pdfbox-based backend might be good.
--
Craig Ringer
le to use Java
5 in a patch? It'd make this one much cleaner, particularly being able to
use enums .
On Dec 20, 2011 11:34 PM, "Vincent Hennebert" wrote:
>
> Hi Craig,
>
> On 16/12/11 13:29, Craig Ringer wrote:
> > Hi all
> >
> > While reading over the pdf-image
irst font with a
given (FontName,SubType,Encoding) tuple is registered for that key, and
if subsequent fonts with the same key but incompatible metrics are
encountered they're copied over verbatim exactly as is currently the
case. Expanding the key to cover the font bbox, ascent and descent etc
will help solve that and won't be hard, I'm just leaving it until I have
a proof of concept font re-embed working.
--
Craig Ringer
ce the same one. Fop
will use the same font since it knows about it and has stored it in the
used fonts map, so the only problem is that the whole font is embedded
rather than a subset.
Anyone working on the same thing, please feel free to drop me a note.
--
Craig Ringer
the other implements ImageHandler and takes a
RenderingContext. They seem to do much the same thing.
Is this a case of old-backwards-compat-code meets new-code? If so, which
should I target for future work?
*headscratch*
--
Craig Ringer
POST Newspapers
276 Onslow Rd, Shenton Park
Ph: 08 9381 3088 F
closing pdf structure are
written, so I can write out some indirect objects I've only written
indirect references to so far?
Sorry if these are somewhat stupid questions. I'm very new to fop's
codebase and I'm still getting my head around it.
--
Craig Ringer
POST Newspa
closing pdf structure are
written, so I can write out some indirect objects I've only written
indirect references to so far?
Sorry if these are somewhat stupid questions. I'm very new to fop's
codebase and I'm still getting my head around it.
--
Craig Ringer
the other implements ImageHandler and takes a
RenderingContext. They seem to do much the same thing.
Is this a case of old-backwards-compat-code meets new-code? If so, which
should I target for future work?
*headscratch*
--
Craig Ringer
On 19/01/11 19:13, Jeremias Maerki wrote:
> Craig, you might want to try out the color branches for which I've just
> started to vote to merge it into trunk. The color branch adds Named
> Color (separation, spot color) support and CIE Lab support.
>
> However, ICC and device CMYK colors should alr
On 19/01/11 18:38, Chris Bowditch wrote:
> On 18/01/2011 23:11, Glenn Adams wrote:
>
> Hi Glenn/Ivan,
>
> Most of the Open type Fonts I come across seem to have CFF glyph data
> which FOP cannot currently support. We find this limitation very
> annoying and have looked into developing this featur
On 19/01/11 16:35, Simon Pepping wrote:
> I take this discussion to express my worries that FOP needs to create
> its own support for fonts, among which Open Type Fonts. FOP's core
> task is the layout and printing of FO files. If FOP could rely on good
> font libraries, that would make our code ba
On 9/09/2010 3:00 PM, Simon Pepping wrote:
I found offo in maven central:
http://repo1.maven.org/maven2/net/sf/offo/fop-hyph/1.2/. I did not put
it there.
Hmm. That makes me officially blind.
Thanks :-)
Ah well, it served as a useful example of the methods.
--
Craig Ringer
Tech-related
wrangling a lib/ dir full of mixed direct and
transitive dependencies from several different 3rd party libraries again.
--
Craig Ringer
Tech-related writing at http://soapyfrogs.blogspot.com/
hing I can claim any say in.
Maybe I should bash together an ant task to spit out Maven artifacts
after a build, though, to make it easier to use fop's existing build
tools to integrate with maven.
--
Craig Ringer
Tech-related writing at http://soapyfrogs.blogspot.com/
aven artifact can be created with the
"cp" command and a text editor, or with an Ant task to spit out a
suitable generated pom.xml . No biggie.
You can use Maven builds with jars not created or managed with Maven,
you can use Ant to produce Maven artifacts, and you can use Ant to
consume Maven-produced artifacts. It doesn't really force anything on
you at all.
--
Craig Ringer
Tech-related writing at http://soapyfrogs.blogspot.com/
the required dependencies to put on the classpath somehow; same
deal. Whether I populate my ~/.m2 from Internet repositories, or check
out a private pre-populated maven repo from version control, I still
have to obtain it somehow.
That said, I do find that the way it doesn't tend to include m
ot repo availible for it, so I don't have to track svn and
manually update the built jars periodically.
If you're interested in running a snapshot repo, Sonatype Nexus may be
worth looking into.
--
Craig Ringer
s, they could be ideal.
The BitStream Vera family might also be useful, though they don't have
the same metrics and appearance as common "base" fonts.
--
Craig Ringer
XML nesting - each column is a
within a for the page's content.
So... consider using the area tree output instead. It might be a better
fit for your needs.
--
Craig Ringer
of satisfactory completion, since I *really* don't want to be
in the job of maintaining an external patch against complex core bits of
fop!
Anyone interested?
--
Craig Ringer
System and Network Administrator
POST Newspapers
37 matches
Mail list logo