Re: Font rendering hints - RT-36146 - progress?

2015-06-14 Thread Felix Bembrick
​Has anyone had a look at this, done some work on it or can provide some
details as to its progress?

Thanks,

Felix​

On 11 June 2015 at 13:50, Felix Bembrick felix.bembr...@gmail.com wrote:

 I am following this one closely and hoping that some progress has been
 made and that a fix is planned but it's difficult to determine from the
 JIRA issue.

 Does anyone have any additional info on where this issue is at?

 Thanks,

 Felix



JavaFx: printer dialog is shown behind main window(stage)

2015-06-14 Thread Александр Свиридов
I use java8. I have a main window (stage) and when I click at button print 
the following code is executed:
PrinterJob job =PrinterJob.createPrinterJob();if(job !=null 
job.showPrintDialog(null)){
  webView.getEngine().print(job);
 job.endJob();}
The printer dialog appears. But! it appears behind the main window but not in 
front of main window! This strange behaviour happens only when dialog appears 
the first time. The second and other times it's in front of the main window. 
How to fix it?


-- 
Александр Свиридов

JavaFx: webview print with scale 100%

2015-06-14 Thread Александр Свиридов
To print my html page I use the following code:
PrinterJob job =PrinterJob.createPrinterJob();if(job !=null 
job.showPrintDialog(null)){
  webView.getEngine().print(job);
  job.endJob();}
The problem is that webview changes the scale of printing page. For example, 
when I print this html page in IE with fit to size 100% I get 16.8 cm. When I 
print in my java application I get 11.4cm. The size in html file I set in pt - 
my width is 475pt(A4 width=595pt,so 475pt=16.8cm). How to print with webview 
and to have 100% width and height?