HG == Hervé Girod [EMAIL PROTECTED] writes:
HG Hello, I'm currently trying to use Batik with an EMFGraphics2D
HG (coming from FreeHep package) in order to generate a windows
HG Metafile corresponding with a SVG document.
HG (if I use a default TextPainter, texts are represented by bits of
HG
RK == Roland Kofler [EMAIL PROTECTED] writes:
RK Keiron Liddle suggested to post this issue to batik-dev: I patched
RK the PDFGraphics2D class to get a better resolution for Images.
RK Keiron gave me the hint that i may have to increase the Dimensions
RK of the BufferedImage() to do this. Now, I
JM == Jeremias Maerki [EMAIL PROTECTED] writes:
FOP is a special customer and I am actually quite surprised that
you are creating subclasses of GraphicsNode (I understand what is
being done there but I could have suggested a couple of 'better'
ways to do it I think).
JM Well, it's the way
JM == Jeremias Maerki [EMAIL PROTECTED] writes:
JM However, I'm worrying about binary compatibility. At the moment we
JM have to tell our users that they have to use the Batik-version
JM delivered with FOP. I'd like to see Batik's API stabilize some
JM more so people can just download the latest
BS == bryan s schnabel [EMAIL PROTECTED] writes:
BS I seem to get the default 96 dpi no matter what I set the -dpi to.
BS Is this a bug, or am I doing something wrong?
This works for me with CVS Batik. What version are you using?
% ./build.sh svgrasterizer samples/anne.svg -m image/tiff
AS == Arvind Sareen [EMAIL PROTECTED] writes:
AS I need to customise the print option of the browser so that it
AS includes the Fit to Size option in the dialog. Is it possible to
AS customise the print option of the browser so that we can add all
AS the properties we need in the Print Diaolog
BR == Baron, Randy {PRG~Basel} [EMAIL PROTECTED] writes:
BR Hi, I just switched to the new version of Batik 1.5b5. The fix of
BR the tooltips hanging around is fantastic since I was just starting
BR to look into solving that problem myself and it looked very
BR difficult. That problem is gone
Commit message was too long:
---
deweese 2003/03/18 17:03:55
Modified:.build.xml
resources/org/apache/batik/apps/rasterizer/resources
Messages.properties rasterizer.bin.policy
rasterizer.policy
AJS == Anthony J Starks [EMAIL PROTECTED] writes:
AJS After upgrading the JVM under Mac OS X from 1.3.1 to 1.4.1 I note
AJS some odd behavior:
AJS 1) It complains about font metrics:
Don't have a clue about this.
AJS 2) It renders graphics odd. Under 1.3.1 the following code:
KMT == Krevetski, Maria T (EMA) [EMAIL PROTECTED] writes:
KMT hi... i just un-jarred the src zip file. i'm missing the
KMT tools.jar file. where can i find that?
The tools.jar should be part of the JDK (Java Developers Kit).
If you only have the JRE (Java Runtime Engine) you can't do
KMT == Krevetski, Maria T (EMA) [EMAIL PROTECTED] writes:
KMT can anyone tell me why i'm missing the org.apache.batik.*
KMT package. i have the following jar files in my classpath:
Ok so I'll ask the obvious, you said you downloaded the source
distribution. Did you build it? the
SG == Swapan Golla [EMAIL PROTECTED] writes:
SG I am trying to use batik extensions through FOP. I added
SG BatikElementMapping and BatikObj objects into my FOP src and then
SG registered them in the driver class but I am still getting some
SG exceptions. Can anybody help me out ?
I don't
GS == Geeta Shukla [EMAIL PROTECTED] writes:
GS Hi, Appended below is a part of the image that I need to draw
GS using SVG. My problem is that I can't figure out a way to angle
GS the text. I tried using text on path, but the requirement is
GS strictly to have the text center aligned to the
GS == Geeta Shukla [EMAIL PROTECTED] writes:
GS The input to my project are SVG files with just text and lines
GS elements. The requirement is that the user would right click on
GS any of the text nodes and select a background color for the
GS same. How can I set a background color to a text
Hi all,
This is a bit of a warning. I will shortly be committing new code
that implements currentScale/Translate. In the processes I cleaned up
and fixed several of the SVGLocatable methods dealing with
transformations (including getCTM and getScreenCTM - which is now
implemented).
In
TD == Thomas E DeWeese [EMAIL PROTECTED] writes:
TD Flow text syntax is now brought up to date with SVG Drafts (see
TD examples)
TD Flow text now supports vertical-align attribute on flowRegion
TD elements.
I forgot to thank Andrew Pietsch for the work on vertical-align
GB == Gerard BUNEL [EMAIL PROTECTED] writes:
GB I already posted this mail in batik-users but this one is
GB probably a best place.
GB I'm using JSVGCanvas do display a Map. I've to dynamically draw
GB points on this map. For my first test, I've overloaded the
GB paint(Graphics g) method to
deweese 2003/02/18 18:50:58
Modified:samples/tests/spec/fonts fontAltGlyph2.svg
sources/org/apache/batik/bridge SVGTextElementBridge.java
sources/org/apache/batik/dom/svg
SVGOMTextContentElement.java
GS == Geeta Shukla [EMAIL PROTECTED] writes:
GS Hi, I am using Batik 1.5b4b version. Through the app i am
GS developing i let the user select a svg file and open it. It opens
GS and renders properly. The app also allows user to add more text
GS nodes to the SVG document. I take the value for
GS == Geeta Shukla [EMAIL PROTECTED] writes:
GS I am using Batik 1.1.1 for my project to render SVG files.
You might try using Batik 1.5b4 or current CVS as they are
probably better for most uses at this point.
GS The problem is that I cannot make use of the inner class/fields of
GS
KR == Keven Ring [EMAIL PROTECTED] writes:
KR Attached are the ParsedURL tests which I added, along with the
KR html results from the original code. Also, I have attached the
KR changes to the code which you have suggested.
KR If there is anything else, please let me know!
No, this looks
KR == Keven Ring [EMAIL PROTECTED] writes:
Could you please provide additional tests for absolute JAR sub
URL's? This will help ensure that you have covered all cases and
that we don't break anything you are depending on in the future.
KR Sure. How would you like me to supply additional
AFB == Antonio Fiol Bonnín [EMAIL PROTECTED] writes:
AFB I have started to implement what I posted on my previous e-mail,
AFB and my first try has been a simple transparent wrapper element.
I must say that I have a few reservations about the general
technique of adding new elements to
AFB == Antonio Fiol Bonnín [EMAIL PROTECTED] writes:
I must say that I have a few reservations about the general
technique of adding new elements to SVG. I don't really know what
your constraints are but you might consider using a transformation
language like XSLT to map your custom
"H" == $B8b(B $B%4%&(B [EMAIL PROTECTED] writes:
H But we can't update to batik1.5 now for customer requirement.
This is unfortunate...
H Would you like to tell me the detail about the bug? (which java
H file contain the bug? or what is the reason the bug injected?) so
H we may modify
"H" == $B8b(B $B%4%&(B [EMAIL PROTECTED] writes:
H When I use rasterizer batik1.1 with jdk1.4.1 ,I find it can not
H transfer to jpg correctly. Only a white jpg show.
This is due to a bug in Batik 1.1. This bug is fixed in Batik
1.5b4. While we haven't reached our goals for an
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL Has anyone thought about this?
Yes. :)
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 the
Hi Vincent,
Thanks for putting togeather the release. Just a quick note on my
latest commit.
TD == Thomas E DeWeese [EMAIL PROTECTED] writes:
TD Modified:
TD samples/tests/spec/text textPosition.svg,
I added new tests for empty tspans to this test (two new
tests
JM == James McArthur [EMAIL PROTECTED] writes:
JM Hi, I have a class that has extended JSVGCanvas, and I want to
JM disable mouse events being received.
JM In the javadocs, it says there is a protected member variable
JM 'eventsEnabled' that has the description:
JM eventEnabled - Whether the
TK == Torsten Knodt [EMAIL PROTECTED] writes:
TK I've written a transcoder, which creates html image maps.
Congradulations, and thanks. FYI I this is really more in
Vincent's domain, he is currently away but due back soon I believe.
TK Now, there are a few last questions: -
TK -
RD == Robert D [EMAIL PROTECTED] writes:
RD If you output SVGGraphics2D without adding anything to the W3 DOM
RD Document object .
rD svg xmlns:xlink=http://www.w3.org/1999/xlink; style=fill-opacity:1;
RD color-rendering:auto; color-interpolation:auto;
RD text-rendering:auto; stroke:black;
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,
This bug is now fixed in CVS Batik.
Is it ok if I add a new test to Batik derived off your test,
making use of your 'FOPFont'?
DC == Dennis Christopher [EMAIL PROTECTED] writes:
DC Batik team, Another question re Mac OSX, while the subject is
DC open--
DC Has anyone managed to build Batik under MacOSX? I've tried with
DC CodeWarrior and run into compile errors and other problems.
I build it all the time (with the
ES == Eric Smith [EMAIL PROTECTED] writes:
ES [ no response in batik-users so desperately posting in dev ]
Sorry, most of the Batik team was at SVG Open, then the SVG
working group meeting.
ES I followed the instructions in the Pawson fop faq as follows:
ES image width=170 height=109
ES
RD == t h [EMAIL PROTECTED] writes:
RD Hello Batik Team, I have been going over the xdoc again ;-) as
RD I learn more about Java2D ...I understand Batik more :-).so I
RD have a question that I would like to solve once and for all.
RD I have two Questions
RD Question 1:
I'll let
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL On Tue, 2002-07-02 at 13:36, Thomas E Deweese wrote: - started
KL implementation of patterns and gradients Patterns generally
KL work. The gradient coordinates are currently wrong, I'm not sure
KL how to get this right.
Anything we can do
MM == Maybin Muyeba [EMAIL PROTECTED] writes:
MM hi, I have written a program in Java that draws Bar GRaphs and Pie
MM graphs using SVG DOM. But when I run the program in Forte IDE, the
MM program thread does not terminate after writing to file the output
MM SVG file.
MM So if I run five
Hi Keiron,
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL Just an update about the svg-pdf transcoder that is developed
KL with FOP. Currently this is in cvs only.
KL - added transparency for shapes and images.
This is _great_ news!
KL - started implementation of patterns and
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL 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
VH == Vincent Hardy [EMAIL PROTECTED] writes:
getBounds - for GraphicsNode.getGeometryBounds()
getDecoratedShape - for GraphicsNode.getBounds()
VH You meant TextNode.getGeometryBounds() and TextNode.getOutline(),
VH right?
They are the same methods, TextNode derives off GraphicsNode (I
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL On Tue, 2002-06-18 at 13:40, Thomas E Deweese wrote:
What is the current state of FOP + Batik?
KL The issue with FOP is really about the releases, not so much cvs.
KL Currently releases are coming from a branch. There is a release
KL happening
RC == Randall Clark [EMAIL PROTECTED] writes:
RC Can anyone tell me whether fonts such as ZapfDingbats, Dingbats,
RC and Symbols are/are not supported in Batik? If they are is there
RC something special I need to know for displaying them in the batik
RC browser?
We get all 'platform
RC == Randall Clark [EMAIL PROTECTED] writes:
RC Oh! It's a Java thing We are running on several platforms: MS,
RC Unix, TSE Servers. I will take a look at the Java fonts settings.
RC The font is loaded on my system, so I thought Java picked those up
RC automagically if it cannot find them
JI == Jun Inamori [EMAIL PROTECTED] writes:
JI Dear Thomas,
A good color palette will put less pressure on the dithering
function, so given a good palette you will get a significantly
better image given the same dithering function. The exact
difference depends on the image.
JI Thank you
JI == Jun Inamori [EMAIL PROTECTED] writes:
JI Hi Thomas,
I'll see if I can put togeather at least the adaptive
pallete part. I don't know how long it will take me
to get around to this, so if you or some other
enterprising programmer has a copy of Graphics Gems they
can probably beat me
Vincent, Bernard,
Actually, I get mostly junk on my machine (Solaris), most likely this
is due to platform font differences.
Bernard, I would strongly recomend that you write a small SVG font
that includes just the box chars and spaces. Then use that for your
diagrams. This should
RC == Randall Clark [EMAIL PROTECTED] writes:
RC I have tried to view a document that has the image tag. It gives
RC me the message: The attribute 'xlink:href' of the element image
RC is required. The image tag is in the document with the xlink:href
RC attribute. Is this tag not yet
This is a bit old but here it is...
Modified:samples mines.svg
sources/org/apache/batik/bridge SVGTextElementBridge.java
sources/org/apache/batik/extension ExtensionElement.java
sources/org/apache/batik/extension/svg
RW == Ryan Worley [EMAIL PROTECTED] writes:
RW PNG-8 is an 8-bit (256 color) PNG image. I believe that Batik
RW currently only supports PNG-24 (24-bit) PNG images. For graphics
RW that don't use more than 256 colors, it would be nice to have a
RW PNG-8 option to keep the file size small.
RW == Ryan Worley [EMAIL PROTECTED] writes:
RW What is the status of supporting PNG-8 with the Batik Rasterizer?
What is PNG-8?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
TK == Thierry Kormann [EMAIL PROTECTED] writes:
SAXSVGDocumentFactory.createDocument(InputSource)!!! Why do we need
the uri for creating an SVGDocument???
TK Batik needs the URI of the SVG document to be able to resolve
TK relative URIs that can specified in the document (such as
TK
VH == Vincent Hardy [EMAIL PROTECTED] writes:
VH Keiron, I have entered a Bug in Bugzilla so that we can address
VH the problem you reported:
VH http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6536
VH The memory leak is a real concern.
VH The multi-thread problem is also a concern, but
Modified:.build.xml
test-resources/org/apache/batik/test regard.xml
Added: sources/org/apache/batik/ext/awt/geom RectListManager.java
test-references/org/apache/batik/ext/awt/geom
rlm.containsall.in rlm.containsall.out
VH == Vincent Hardy [EMAIL PROTECTED] writes:
VH getPaintedBounds
Can I quickly rename this to getPaintedBounds2D ?
This is used very uniformly for methods that return Rect2D vs. Rect
(with the exception of GraphicsNode :(.
cj == cjolif [EMAIL PROTECTED] writes:
cj cjolif 02/01/30 09:42:27
cj Modified: sources/org/apache/batik/script/rhino
cj RhinoInterpreter.java Log: Rhino1.5R2 - Rhino1.5R3 compatibility
cj problem
+throws InterpreterException {
+System.out.println(evaluate
Modified:samples/tests/spec/scripting xyModifOnClick.svg
sources/org/apache/batik/bridge UpdateManager.java
sources/org/apache/batik/gvt UpdateTracker.java
sources/org/apache/batik/gvt/font FontFamilyResolver.java
Modified:samples/extensions solidColor.svg
sources/org/apache/batik/apps/svgbrowser AboutDialog.java
sources/org/apache/batik/bridge
AbstractGraphicsNodeBridge.java GVTBuilder.java
GraphicsNodeBridge.java
sa == somesh acharya [EMAIL PROTECTED] writes:
sa File 1.svg is plain svg file, while 2.svg file is bold svg
sa file. These both files obtained during conversion, but one is in
sa plain format and other is bold format.
Actually the difference is that one is using font-size=8 for
most of
RH == Rikard Herlitz [EMAIL PROTECTED] writes:
RH I need to do the opposite of what the svggenerator does. I need
RH to translate svt into java2d operations and write them to a
RH file... It should be quite easy given that the svgviewer does
RH that already, but I don't know where I can hook
SH I am having xml-batik and all the necessary steps taken regarding
SH setting environment variable. I am working on Windows NT .
SH When I tried to run .\build svgbroswer , compilation is done and
SH also I am getting SVG browser , but when I tried to open a svg
SH file in the browser I am
SH == sudhir hs [EMAIL PROTECTED] writes:
SH I am having xml-batik and all the necessary steps taken regarding
SH setting environment variable. I am working on Windows NT .
SH When I tried to run .\build svgbroswer , compilation is done and
SH also I am getting SVG browser , but when I tried
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL I have got the setXMLParser working, although I am a bit wary of
KL the use of a static name.
Glad to hear it's working.
Yah, I agree the static thing isn't great, I'll investigate adding
the concept of a UserAgent to the
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL Hi again, As you might guess this problem is related to the
KL previous broken link problems.
KL It appears in line 469 in ParsedURL that if the specified url on
KL the element eg: use xlink:href=file:ref.svg#FOP
KL transform=scale(1.5) x=18
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL On Tue, 25 Sep 2001 22:40:32 Thomas E Deweese wrote:
[...] for some reason you are hitting the default broken-link
handler instead of the SVG broken link handler. [...]
KL I've found out where the problem is. The BrokenLink.svg is
KL
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL 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.
This seems like a bigger issue than
KL == Keiron Liddle [EMAIL PROTECTED] writes:
KL On Tue, 25 Sep 2001 15:22:36 Thomas E Deweese wrote:
What about printing the 'img'? Is it a GraphicsNodeRable8Bit?
KL it is org.apache.batik.ext.awt.image.renderable.RedRable@aeb74
KL The object returned is this
KL java.lang.Object
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 (or you for testing purposes) can easily wrap the cast in a
try catch block which would probably make the problem go away for now
Modified:samples batikLogo.svg
samples/tests batikFont.svg
sources/org/apache/batik/gvt/filter BackgroundRable8Bit.java
sources/org/apache/batik/gvt/font AWTGVTGlyphVector.java
SVGGVTGlyphVector.java
EP == Evenblij, Paul [EMAIL PROTECTED] writes:
EP While working on a solution which should make it possible to cache
EP raster image data (yes, I have a working version!;) I noticed the
EP following:
EP org.apache.batik.ext.awt.g2d.TransformStackElement has a method
EP concatenate() which
EP == Evenblij, Paul [EMAIL PROTECTED] writes:
EP Okay. Thank you for that clarification and suggestion. The problem
EP currently is that I get long transform strings in *matrix*
EP notation, e.g.:
EP because there is no code to collapse matrices. This is even less
EP readable than the one
DE == David Eisenberg [EMAIL PROTECTED] writes:
DE I'm trying to use Xalan to convert XML to an SVG DOM, and then
DE pass that to the rasterizer to produce a JPG file.
Ahh, you can probably ignore my previous message (I missed this
longer post first time).
The problem is that the
TK == Thierry Kormann [EMAIL PROTECTED] writes:
TK On Tuesday 10 July 2001 19:38, Thomas E Deweese wrote: Hi,
Since this is your 100% typical speed vs. quality tradeoff it seems
pretty clear that for color-rendering (perhaps shape rendering?)
set to optimizeSpeed gradient anti-aliasing
MC == Mark Claassen [EMAIL PROTECTED] writes:
MC I feel quite humble asking this, but are there any libraries that
MC do encoding (base64 or UUencode) in jdk1.3? There is
MC java.net.URLEncoder, but I am not sure if that is the same thing.
There isn't anything I know of in JDK 1.3.
TK == Thierry Kormann [EMAIL PROTECTED] writes:
TK On Monday 18 June 2001 19:12, Sheetal Madasnal wrote:
This works perfectly on Windows browsers IE5.5, Netscape 4.7 (with
the Java 1.3 plugin). But Netscape 4.76 on Solaris is a total
mess. It does not repaint the applet after the DOM is
74 matches
Mail list logo