JDK-8104197 : Investigate and prototype printing based internally on Java2D printing.
  • Type: Task
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7-pool
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-10-27
  • Updated: 2015-06-16
  • Resolved: 2013-01-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Blocks :  
Description
In order to target printing for the lombard release we need to prototype the approach to
the underlying implementation in the time frame of the presidio update releases
We expect to base this on printing via Java 2D APIs but still need to figure out
- how to render a layed out group of nodes - ie a scene root but not on a scene
- how to pass that down to Java 2D printing and get ink on paper.

Comments
Initial thinking here is to proceed as below. As we learn more this will change, perhaps becoming moot. Once we get confident with the approach we can move from calling it a prototype to "in development" new jira ids will be spawned off as needed but aren't applicable while we are still in prototype mode. Start with getting basic rendering working Offscreen, non-visible nodes, adapting 2D pipeline code. Single node : work through syncing up Node and PGNode, get transforms, attributes right, resolve any animation/pulse issues check effects and clipping work Define when/ how to initiate a printing job - inc threading behaviour. Test all the core "shape" nodes. Provide a way to access/enable/use J2DFontFactory when not running 2D pipeline on screen Image Printing MediaView ? Webview - non-printing aware webview - any issues through direct graphics uses Create printing equivalents for 2d pipeline J2DPresentable, ResourceFactory Reimplement/optimise each J2D pipeline graphics op. for printing Define "Page" - printing equivalent of a Scene Layed out multiple nodes (a la Scene) Printing a control (not print aware control) Apply CSS styling for controls and text node. Onscreen : define how to print on-screen Scene : threading issues, not blocking UI etc. In all of this we do not worry much at all about API - no spending time fine tuning it Implement just the bare bones needed to test the rendering work.
10-11-2011