[JAVA2D] Native font rasterization in JDK 7

2009-05-03 Thread java2d
Just downloaded the latest b57 of JDK 7, and it looks like the native font 
rasterizer (for Windows) has not been forward ported. Is this correct? If this 
is indeed so, are there plans to do the port in the near future?

Thanks
Kirill
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=344784

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] Recording program - AWT.Robot or Paint/Print performance

2009-05-03 Thread java2d
Thanks for all the tips so far.

The paintmanager I made was partly inspired from that post you linked to, coxcu.
But you got me interested in the native peers section. Only, I cannot seem to 
find any tutorials on how to get started on the subject.

On to the other solutions: 
The main usage for this program is as recording function for a digital 
whiteboard, so I'm afraid I'll lose too much performance if I switch from 
VolatileImage backbuff to BufferedImage.
The same stands for using JXLayer. I looked through the examples and found a 
Paint-like implementation which performed not that well.

But I'll still try the methods the next two days and post the results.

As a small sidenote for anyone interested in this manner:
I also tried going the JNI way. I implemented a Delphi screen grabber routine, 
but that was marginally slower than the Java.AWT.Robot way. (around 10-20%)
Maybe this can be speeded up if I do it in C...

So recap, I'm gonna try:
- RepaintManager with BufferedImage
- JXLayer
- JNI with C screengrabber

If possible, could someone point me in the right direction for Native Peer 
screen grabbing? Or do you mean the JNI call way with that?

Thank you very much for the time spent so far, and when I get the results from 
the two other suggested solutions, I'll award the relevant points.
[Message sent by forum member 'methius' (methius)]

http://forums.java.net/jive/thread.jspa?messageID=344791

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] Native font rasterization in JDK 7

2009-05-03 Thread Phil Race
It has been in JDK7 for a long time. Since b28 according to the bug  
database.


-phil.

On May 3, 2009, at 2:40 PM, jav...@javadesktop.org wrote:

Just downloaded the latest b57 of JDK 7, and it looks like the  
native font rasterizer (for Windows) has not been forward ported. Is  
this correct? If this is indeed so, are there plans to do the port  
in the near future?


Thanks
Kirill
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=344784

= 
= 
= 
= 
= 
==
To unsubscribe, send email to lists...@java.sun.com and include in  
the body
of the message signoff JAVA2D-INTEREST.  For general help, send  
email to

lists...@java.sun.com and include in the body of the message help.


===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.


Re: [JAVA2D] Native font rasterization in JDK 7

2009-05-03 Thread java2d
You're right. I was testing b57 window translucency and forgot that i had 
factor 0.95 used on popup menus. And the native rasterizer is not used on 
translucent surfaces...

Thanks
Kirill
[Message sent by forum member 'kirillcool' (kirillcool)]

http://forums.java.net/jive/thread.jspa?messageID=344795

===
To unsubscribe, send email to lists...@java.sun.com and include in the body
of the message signoff JAVA2D-INTEREST.  For general help, send email to
lists...@java.sun.com and include in the body of the message help.