>>>>> "DM" == David Mundie <[EMAIL PROTECTED]> writes:
DM> Last night I had another go at it. I downloaded Fop 0.20.2 and
DM> Batik 1.1. I used Adobe Illustrator 9.0 to produce some rectangles
DM> and ovals [which the stupid, <expletive-deleted/> Illustrator
DM> downconverts to low-level, generic paths - but that's another
DM> story] and some text. I wrote a script to massage the exported
DM> graphics [scripts to massage graphics - ain't SVG fine!] by
DM> substituting an SVG font for the system font. Then I Fopped an FO
DM> file that referenced that SVG file as an external graphic.
If you use current CVS you may find that even platform fonts now
work fine on Mac OS X.
DM> To my amazement, it worked fine! My only goal in all this is to be
DM> able to embed SVG in Fop-processed FO files, so I was
DM> delighted. In the past I had assumed that if the Batik
DM> "applications" didn't work, nothing in Batik would work, but
DM> that's not the case!
DM> And the applications *don't* work. 1.1 is a little better than
DM> 1.0, but not much. When I open my rectangle, oval, and text (ROT)
DM> document in the 1.1 browser, it only displays about the rightmost
DM> quarter of the drawing; when I mouse around and zoom in and out I
DM> get other pieces of it, so it's clear that it's all there
DM> underneath, but the display is hosed. The converter generated a
DM> PNG that had only a fragment of the ROT, also.When I opened ROT in
DM> the slideshow viewer, it was amazing - individual rectangles of it
DM> about 2 cm on a side would appear on the black background with
DM> excruciating slowness (about 15 s per rectangle).
For the stuff you are doing now you are just doing paths which FOP
transcodes directly to PDF. It's when you get into the rasterization
stuff that things really start having problems on Mac OS X. Most of
the Batik Applications make heavy use of the rasterizer, since they
are going to raster formats PNG, the Screen (where it caches
previously draw stuff so panning is quicker), The slideshow creates
rasters offscreen then copies the raster square by square to the
screen.
DM> Perhaps I should mention that I did run ttf2svg successfully.
DM> I'm beginning to think that all the problems lie in the UI code.
All the problems lie in the raster code.
DM> My intent is to continue embedding SVG within FOP, to see how I
DM> make out with more complex graphics. In particular, I want to
DM> check out Schemasoft's MathML-to-SVG converter - I got mail from
DM> them yesterday saying it now works under OS X. Embedding MathML in
DM> FOP - that would be sweet.
That should work fine since I doubt they are using filters or the
like (have they considered using tspans for the output since currently
you can't select anything more than a single char in the SVG it
generates).
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]