Re: SVG

2016-10-12 Thread Mark Claassen
I am glad to see an SVG conversation here. We are currently using apache Batik to render our SVG, but would like to move to JavaFX. The only way we found to do this is using the WebView. However, this presents some interesting challenges. We have fairly stringent printing requirements and going

Re: SVG

2016-10-11 Thread Tom Schindl
But that won't work for CSS Tom Von meinem iPhone gesendet > Am 11.10.2016 um 21:01 schrieb Jim Graham : > > Rather than try to hack around the exposure of the internal ImageLoader APIs, > given the relatively small amount of glue code in that package it might be > easier for them to reimple

Re: SVG

2016-10-11 Thread Jim Graham
Rather than try to hack around the exposure of the internal ImageLoader APIs, given the relatively small amount of glue code in that package it might be easier for them to reimplement the glue to use WritableImage... ...jim On 10/11/16 5:36 AM, Kevin Rushforth wrote: As

Re: SVG

2016-10-11 Thread Scott Palmer
The issue was not related to WebView loading and rendering the SVG properly, it did. The issue is that it is currently impossible to make a WebView with a transparent background unless you use reflection and hack it. E.g.: Field f = engine.getClass().getDeclaredField(“page”); f.setAccessible(t

Re: SVG

2016-10-11 Thread Tom Schindl
Image formats? > > Thank you, > Diego > > -Original Message- > From: Kevin Rushforth [mailto:kevin.rushfo...@oracle.com] > Sent: Dienstag, 11. Oktober 2016 14:36 > To: Cirujano Cuesta, Diego > Cc: openjfx-dev@openjdk.java.net > Subject: Re: SVG > > J

Re: SVG

2016-10-11 Thread Guru Hb
WebView renders SVG ( WebView.getWebEngine().load("PathToSvg.svg"); ). Could you please let us know which content (SVG) failed to rendered as expected. Please file a JBS with simplified test content , will analyze. Thanks, Guru On 11/10/16 6:56 PM, Scott Palmer wrote: On Oct 11, 2016, at 8:36

RE: SVG

2016-10-11 Thread Cirujano Cuesta, Diego
Hi Kevin, is there any public API that allow adding new Image formats? Thank you, Diego -Original Message- From: Kevin Rushforth [mailto:kevin.rushfo...@oracle.com] Sent: Dienstag, 11. Oktober 2016 14:36 To: Cirujano Cuesta, Diego Cc: openjfx-dev@openjdk.java.net Subject: Re: SVG

Re: SVG

2016-10-11 Thread Scott Palmer
> On Oct 11, 2016, at 8:36 AM, Kevin Rushforth > wrote: > > JavaFX supports SVG paths both directly and via CSS, but there is no general > support for SVG. Perhaps there should be? Is there an enhancement request in JIRA? I just Worte a program that tried to get around this using WebView t

Re: SVG

2016-10-11 Thread Kevin Rushforth
JavaFX supports SVG paths both directly and via CSS, but there is no general support for SVG. As for you other question, unless they use public API they will no longer work. Applications can export internal packages via a command line switch, but it is quite fragile and not likely to work from

Re: SVG in CSS

2014-02-11 Thread Pedro Duque Vieira
Done: https://javafx-jira.kenai.com/browse/RT-35799 Sorry for the delay. Thanks, best regards, On Mon, Jan 27, 2014 at 9:36 PM, David Grieve wrote: > Great idea. You should create an issue on javafx-jira.kenai.com. > > On Jan 27, 2014, at 3:58 PM, Pedro Duque Vieira < > pedro.duquevie...@gmail

Re: SVG in CSS

2014-01-27 Thread David Grieve
Great idea. You should create an issue on javafx-jira.kenai.com. On Jan 27, 2014, at 3:58 PM, Pedro Duque Vieira wrote: > Hi, > > I recall having a conversation with a javafx team member and him saying it > wasn't possible to input an url of an svg image as the background-image of > a Region.