Re: Review request for 8166242: Removal of com.sun.javafx.embed.AbstractEvents

2016-10-11 Thread Alexander Nyssen
Hi Kevin, has there been any decision related to JDK-8166242 (Removal of com.sun.javafx.embed.AbstractEvents) yet? I was a bit busy the last weeks anyway, but I would still like to investigate JDK-8159227 (FXCanvas should properly forward consumption state of key events from SWT to embedded sce

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

[9] Review request: JDK-8167496 Packager Cleanup

2016-10-11 Thread Chris Bensen
Kevin, Just some cleanup. JIRA: https://bugs.openjdk.java.net/browse/JDK-8167496 Webrev: http://cr.openjdk.java.net/~cbensen/JDK-8167496/webrev.00/ Chris

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
Hi, A work around would be to use a custom protocol handler (I assume JavaFX loads the image using URL.openConnection/openStream) who loads the file, runs it through Batik and returns a stream with the rendered image. An URL might look like this: svg:file:/path/to/myfile.svg?size=16x16 and if t

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 Java

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

SVG

2016-10-11 Thread Cirujano Cuesta, Diego
Hi all, I was wondering why there is no javafx support to svg, is there any reason? I found nice the solution from codecentric interesting: https://github.com/codecentric/javafxsvg. But it uses com.sun.javafx.iio.ImageFormatDescription, com.sun.javafx.iio.ImageLoader, com.sun.javafx.iio.ImageS