Hi,
Thanks for the support.
I will go ahead and do whatever I can to help out with this and be part
of the XML graphics PMC.
I have read all the emails about this concept and think that it is a
good idea and should help things develop in useful directions.
Regards,
Keiron Liddle
-Original
> Hi !
>
> I try to use the PDFTranscoder shipped with the latest version of Batik (1.5 beta
5), but I always obtain a valid but blank PDF document (the dimension of the
document is allright).
I am sure the PDFTranscoder is working.
Have you tried using another transcoder. To check that the sha
A quick patch so that it is possible to build batik on cygwin
Keiron.
Index: build.sh
===
RCS file: /home/cvs/xml-batik/build.sh,v
retrieving revision 1.11
diff -u -r1.11 build.sh
--- build.sh23 Oct 2001 13:42:29 - 1.
On Mon, 2002-12-09 at 17:43, Vincent Hardy wrote:
> Hello Keiron,
>
> I just commited the change you requested.
Thanks alot.
> Regards,
> Vincent.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
Hi Developers,
Would it be possible to replace the xml api code with the xml-apis.jar.
All that needs to be done is remove org/xml/* all subdirs,
org/w3c/dom/*.java, org/w3c/dom/css/*.java,
org/w3c/dom/stylesheets/*.java, org/w3c/dom/events/*.java,
org/w3c/dom/traversal/*.java, org/w3c/dom/views/
Hi,
I discovered a problem when exporting png using squiggle.
It gets an illegal argument exception with the png indexed key.
The patch fixes the problem. This is only a quick fix.
Keiron.
Index: sources/org/apache/batik/apps/svgbrowser/JSVGViewerFrame.java
==
On Thu, 2002-09-12 at 19:32, Javier Iglesias wrote:
> Hi all,
>
> I wrote some time ago a java.awt.Graphics implementation
> that outputs (Encapsulated) PostScript code to a stream.
> I saw a sf.net project 2 years ago trying to do the same,
> submitted my code there, but the project seems pre
On Wed, 2002-09-04 at 14:53, Thomas E Deweese wrote:
> KL> On Wed, 2002-07-24 at 11:29, Keiron Liddle wrote:
> >> I was wondering if it might be a good idea to either have a
> >> separate pdf transcoder release with docs packaging etc. or to have
> >> it with t
Has anyone thought about this?
On Wed, 2002-07-24 at 11:29, Keiron Liddle wrote:
> Hi All,
>
> I was wondering if it might be a good idea to either have a separate pdf
> transcoder release with docs packaging etc. or to have it with the batik
> release. The jar size is about 240
On Mon, 2002-08-19 at 17:22, Thierry Kormann wrote:
> stroke-dasharray is a list of number separated by comma (and optional
> whitespaces).
>
> stroke-dasharray:5,5; should fix your problem
Thanks, I thinking it was working before with those values but I'm not
sure.
Anyway problem solved, thanks
Hi,
There seems to be some error in current cvs batik.
I'm guessing that the ComputedValue class is a proxy so that instead of
casting the value it should be calling getComputedValue.
With the following simple svg file:
http://www.w3.org/2000/svg"; version="1.0">
I get this exception with
On Mon, 2002-08-12 at 22:50, Thomas E Deweese wrote:
> >>>>> "KL" == Keiron Liddle <[EMAIL PROTECTED]> writes:
>
> KL> I just noticed what appears to be a bug with svg fonts. I have
> KL> attached a small test.
>
> Hi Keiron,
>
>
Hi All,
I was wondering if it might be a good idea to either have a separate pdf
transcoder release with docs packaging etc. or to have it with the batik
release. The jar size is about 240kb.
There are also some pdf specific tests that go with the transcoder.
There is one problem. The current pd
On Sun, 2002-07-21 at 02:16, t h wrote:
> Hello Batik Team,
>
> I have been going over the xdoc again ;-) as I learn more about Java2D
> ...I understand Batik more :-).so I have a question that I would like to
> solve once and for all.
>
> Question 2:
>
> I have notice on SVG Develope
On Tue, 2002-07-02 at 13:36, Thomas E Deweese wrote:
> KL> - started implementation of patterns and gradients Patterns
> KL> generally work. The gradient coordinates are currently wrong, I'm
> KL> not sure how to get this right.
>
> Anything we can do to help? Pointers to the suspected probl
e how to get this right.
- text bridge
If the text can be inserted directly into pdf then it does not draw the
text as shapes.
It will be a while before it is ready for a release but it is improved
quite a bit.
Regards,
Keiro
On Tue, 2002-06-18 at 13:40, Thomas E Deweese wrote:
> What is the current state of FOP + Batik?
The issue with FOP is really about the releases, not so much cvs.
Currently releases are coming from a branch. There is a release
happening soon that will work with 1.5b2 and current Batik cvs.
>
On Tue, 2002-06-18 at 08:28, Vincent Hardy wrote:
> > No, it's not a trivial change (I've played with removing methods
> > enough to be fairly sure I know what the dependencies are). My
> > preference is actually to rationalize the TextPainter interface but
> > FOP probably wouldn't like that
Hi,
Thanks for the great work you have been doing. It's looking really good.
I thought I should bring a problem to your attention. I cannot use the
the transcoder from the command line with the batik-all.jar library due
a security enforcer problem. I guess the comment in the code says it all
"So
On 2002.02.21 21:49 Vincent Hardy wrote:
> Keiron,
>
> I fixed the static modifier issue in BridgeContext.
> V.
Thanks.
It makes more sense now.
Keep up the good work (without the cut&paste errors :)
-
To unsubscribe, e-mail: [
text used by SVGFontUtilities
> is used by another thread which must set the context's Document
> in the middle of the getFontFamilyMap execution which then returns
> null.
>
> Vincent.
>
> Keiron Liddle wrote:
> >
> > It seems a bit rarer tha
It seems a bit rarer than I thought.
Stack trace with line numbers:
svg graphic could not be built: null
java.lang.NullPointerException
at
org.apache.batik.bridge.SVGFontUtilities.getFontFamily(SVGFontUtilities.java:60)
at
org.apache.batik.bridge.SVGTextElementBridge.getAttrib
laration.
Thanks,
Keiron.
On 2002.02.20 22:49 Vincent Hardy wrote:
> Keiron,
>
> There is a fix in the CVS repository.
> Cheers,
> V.
>
> Keiron Liddle wrote:
> >
> > Hi,
> >
> > I have
Hi,
I have a couple of problems with the SVGFontUtilities class.
It holds a static reference to the "current" document.
This means that it will hold onto the last document to have text in it. I
ran into a problem where the document was holding onto a whole lot of
other stuff through the Defaul
Thanks, keeping cool.
On 2001.12.17 17:38 Thierry Kormann wrote:
> On Monday 17 December 2001 17:31, Keiron Liddle wrote:
> > Hi,
> >
> > I have run into a threading problem when multiple SVG Documents are
> having
> > the GVT built at the same time.
> >
>
Hi,
I have run into a threading problem when multiple SVG Documents are having
the GVT built at the same time.
The attached jar contains a testing class and the svg files it uses. If
this is run then I get a number of exceptions (about 2 out of 75 times).
The documents are valid and can be co
Hi,
I there any particular reason that the mime type for pdf was changed from
"application/pdf" to "image/pdf".
I know that "image/pdf" might make more sense but as far as I know that
official mime type is still "application/pdf".
Keiron.
---
On 2001.10.31 13:34 Stephane Hillion wrote:
> > From what you said it sounds like it is not possible and batik won't
> let me
> > do it.
> > I could not repeat the npe, it must be a combination of a number of
> > factors.
I found out that the npe occurs when I serialize the document to an object
Thanks, that helps, it appears to import the document elements properly,
but I am still not getting the attributes on the child elements
For example I just get the following svg node when imported
http://www.w3.org/2000/svg";
version="">
The g and both rect's shold have attri
On 2001.10.30 16:41 Stephane Hillion wrote:
>
> It is difficult to help you without some examples or pieces of code.
> But what you must have in mind is that the xmlns attribute and prefix is
> used
> by XML parsers to bind elements to namespaces, and once you are in the
> DOM
> world it is not
Hi,
I have some svg content embedded inside an xml document. I am reading
through the dom and when I find the svg I am trying to convert it into an
svg document.
The svg xml is identified with an xmlns="...".
If I create a new generic document then import the svg node and add it as
the root doc
Is there any particular reason that text inside CDATA sections is not
handled or ignored.
I removed the createCDATASection from the SAXDocumentFactory (so it just
creates a TextNode) and the text appeared. This probably is not the
solution, just a test to see what happens.
It seems that the bri
Hi again...
There still seems to be a problem.
If I add the following line to bridge/URIResolver.java, line 103
System.out.println("d:" + documentURI + " :" + uri + " :" +
purl.toString());
when I am running java in the same directory it prints out:
d:file:multi.svg :file:ref.svg#FOP :file:/ref
On Wed, 26 Sep 2001 14:47:33 Thomas E Deweese wrote:
> I implemented this, but I was unable to track down the definitive
> reference on relative URI's, does anyone know where that is?
>
> I am particularly interested in what should be done if protocols
> differ between parent and child U
Hi again,
As you might guess this problem is related to the previous broken link
problems.
It appears in line 469 in ParsedURL that if the specified url on the
element
eg:
has a protocol then it ignores the base url and attempts to just use the
url. From the spec it appears that the xlink:
On Tue, 25 Sep 2001 22:40:32 Thomas E Deweese wrote:
> Thanks for working with me on this...
>
> I think I have tracked it down to a bug in the way BufferedImage
> handles properties (see attached Java file for demonstration).
>
> So I guess I'll bend an put in the 'instanceof' check
On Tue, 25 Sep 2001 15:22:36 Thomas E Deweese wrote:
> What about printing the 'img'? Is it a GraphicsNodeRable8Bit?
it is
org.apache.batik.ext.awt.image.renderable.RedRable@aeb74
> Since I still can't reproduce the problem (is it possible there is
> some sort of build issue?). Can you
On Mon, 24 Sep 2001 13:20:42 Thomas E Deweese wrote:
> >>>>> "KL" == Keiron Liddle <[EMAIL PROTECTED]> writes:
>
> KL> Using the current cvs I get this class cast exception. This
> KL> happens if an image cannot be found.
>
> Hmm, I
On Mon, 24 Sep 2001 09:32:55 Thierry Kormann wrote:
> On Friday 21 September 2001 14:08, Keiron Liddle wrote:
> > On Wed, 19 Sep 2001 14:13:25 Thierry Kormann wrote:
> > > In order to properly implement getWidth (which was not the case in
> the
> > > method
> &
Using the current cvs I get this class cast exception. This happens if an
image cannot be found.
Also how can I set the base directory for resolving external images.
java.lang.ClassCastException: java.lang.Object
at
org.apache.batik.bridge.SVGImageElementBridge.createRasterImageNode(SVG
On Wed, 19 Sep 2001 14:13:25 Thierry Kormann wrote:
> In order to properly implement getWidth (which was not the case in the
> method
> I were using) - you can have a look at the ImageTranscoder.
>
> The ImageTranscoder handles correctly the width and height attributes on
> the
> outermost svg
Hi all,
The main issue for me in this situation is not the actual change of
interface but the problem of the getWidth (and some others) method which is
no longer implemented.
Ideally I want to change to batik1.1 when it is available and update the
interface at the same time. Updating the interfa
Hi,
About recent changes to batik.
The interface change is probably not much of a problem but the is another
problem with using the current cvs batik.
The method getWidth on SVGOMSVGElement throws a runtime exception (due to
recent changes), this is needed to get the width of the top level elemen
On Mon, 06 Aug 2001 21:13:12 Vinny Iyer wrote:
> Hi.
> I'm using fop 0.19 along with batik 1.0 to convert an fo file to pdf.
> The batch file i'm using uses the following command
> java -cp fop.jar;batik.jar;xalan-2.0.0.jar;xerces-1.2.3.jar;jimi-1.0.jar
> org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6
I have found a problem if I try to create an in memory svg document.
If I create an image element (with an svg image) it ends up with a broken
image (drawn out) when the document is rendered.
I found that when it is resolving the uri, in class URIResolver line:86, I
get a null pointer exception
If I try to render the following svg document batik has some troubles.
The arc starts and finishes in the same place.
The Graphics2D seems to be getting a pair of "NaN" values for the "lineto"
operator.
The viewer and the png transcoder seem to hang using lots of cpu.
I presume the numbers are
I get the following stack trace when converting the attached svg file.
This happens when using the transcoder (in this case the pdf but it also
occurs with the png).
The error occurs with the current cvs but works ok with batik 1.0.
DOes anyone know what the problem might be?
java.lang.NullPoin
Could someone please apply this patch to the batik code.
This adds support for rasterizer to convert SVG documents to PDF (in
conjunction with FOP 0.19).
batik.diff
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
48 matches
Mail list logo