Re: javafx-font opensourced

2013-06-21 Thread John C. Turnbull
Does this mean we will be able to have LCD text in Canvas as a result of this?

On 21/06/2013, at 14:44, Richard Bair richard.b...@oracle.com wrote:

 I believe it is in b94 for Mac, was just turned on for Windows so it will be 
 next week at the earliest. It should give LCD text quality on Mac, yes. 
 However I don't believe we've played with the kerning metrics yet (Felipe?)
 
 Richard
 
 On Jun 20, 2013, at 9:43 PM, John C. Turnbull ozem...@ozemail.com.au 
 wrote:
 
 So when will we see this new native font rendering? Is it in b94?
 
 Also, will this result in an improvement in rendering quality?
 
 On 21/06/2013, at 14:35, Richard Bair richard.b...@oracle.com wrote:
 
 Up until now we've been using T2K to do font measurement / rasterizing. It 
 is what is used also by Java2D. It is native code, but what we mean by 
 native font rendering is relying on APIs in the native OS to do the font 
 rasterizing (and such) rather than T2K.
 
 Because this is new code, it just hasn't been finished for all platforms. 
 Felipe is working on the linux implementation.
 
 Richard
 
 On Jun 20, 2013, at 9:06 PM, ozem...@ozemail.com.au wrote:
 
 I see that this release of font code includes native font rendering.
 
 What is this actually referring to?  Does JavaFX 2 and 8 prior to the
 b94 (or whichever build has this native font rendering) not do native
 font rendering?
 
 Can someone explain exactly what native font rendering actually
 means and whether it is something new?
 
 Also, why is not available on Linux?
 
 Thanks,
 
 -jct
 
 - Original Message -
 From: Daniel Zwolenski 
 To:Felipe Heidrich 
 Cc:openjfx-dev@openjdk.java.net Mailing 
 Sent:Fri, 21 Jun 2013 09:21:22 +1000
 Subject:Re: javafx-font opensourced
 
 This time sending to the list (gets me every time!):
 
 Great news!
 
 Danno - where does this put us with the JFX78 backport? Can we get a
 build
 of this for iOS now or what's needed to close this loop?
 
 The RoboVM Maven plugin is working. I'd be keen to make it work with
 JFX
 auto included so basically you can create a normal project and run
 mvn
 robovm:ipad-simulator (robovm:ios-device is under construction) and
 next
 thing you have a running JFX app on iOS, no mess, no fuss.
 
 I have a pitch for a suite of fairly major app development next week.
 So
 many unknowns with JFX and app development at this stage! I'm still
 pretty
 disappointed that JFX on iOS/Android is not officially supported by
 Oracle
 (such a massive wtf? for me) - makes it such a risky prospect for us
 on the
 front line.
 
 On Fri, Jun 21, 2013 at 3:47 AM, Felipe Heidrich  wrote:
 
 Hello,
 
 
 We have just open-sourced javafx-font and javafx-font-native!
 
 Note that a lot of the code we open-sourced today is a new
 implementation
 based on native text technologies (CoreText for the Mac and
 DirectWrite for
 Windows).
 
 We still have a lot of work to do:
 - finishing the new linux implementation is a big one
 - testing
 - improve on sub pixel position text
 - etc
 
 Help is most welcome,
 
 Thank you
 Felipe
 


Re: javafx-font opensourced

2013-06-21 Thread Daniel Zwolenski
Why not use Sonatype for your repo?

For third party jars that aren't in central, you can upload these assuming
the licence allows it:
https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository

For your own stuff that you aren't going to publish for real but still want
to be available (e.g. latest releases of JFX), publish it as a SNAPSHOT.
For real stuff, publish it proper into the Maven repo and make it available
for use by the community.

It certainly would make my life massively more enjoyable if a build of the
JRE was available for download for each of the platforms. And things like
win-launcher.exe and other secondary assets would also make it much easier
to work on the packaging tools, etc.



On Fri, Jun 21, 2013 at 2:34 PM, Richard Bair richard.b...@oracle.comwrote:

 Yes, working on the web view building. The main issue is there are a
 handful of libs (libxml, libxslt, etc) that we have to figure out where to
 put. I believe these are unaltered by us, but built with different flags to
 strip out stuff we don't need. I've asked Peter whether we can post the
 build instructions to produce these libs, and then figured once anyone can
 build them, it wouldn't be to hard to find a place to put them.

 Ultimately we're trying to get a public artifactory repository setup for
 OpenJDK which would be the natural place for us to put all our dependencies
 like this, but in the meantime we just need a place to put some binaries. I
 know some of these binaries could be found elsewhere but not all of them
 (win64 builds I think are missing for example).

 On Jun 20, 2013, at 8:56 PM, Danno Ferrin danno.fer...@shemnon.com
 wrote:

  On Thu, Jun 20, 2013 at 5:21 PM, Daniel Zwolenski zon...@gmail.com
 wrote:
 
  This time sending to the list (gets me every time!):
 
  Great news!
 
  Danno - where does this put us with the JFX78 backport? Can we get a
 build
  of this for iOS now or what's needed to close this loop?
 
 
  The good news is that my JFX78 project now compiles via gradle without
  needing a stub jar.  I took out the date picker and the builders for
 media
  and web view.  So you can download it locally and build a jfxrt.jar and
  likely use the ios libs that build currently.  I haven't poked around too
  much with the native bits.  (see https://bitbucket.org/narya/jfx78)
 
  I also have been working on some maven distribution for this, not ready
  for consumption yet but an accessory build file creates the poms and
  handles the upload tasks (
 
 https://bitbucket.org/narya/jfx78/src/3fe6c37ebdfbed33d1bdc9ad9d6a2037972de680/narya.gradle?at=default
  ).
 
  The date picker will return when the threetenbp jars are updated, and
 media
  when those files are released.  WebView I either need to submit a patch
 to
  get it building in gradle or be patient.  But honestly all three of these
  rank in priority for me below writing a jfpackager bundler that wraps
  robovm.
 
 
  The RoboVM Maven plugin is working. I'd be keen to make it work with JFX
  auto included so basically you can create a normal project and run mvn
  robovm:ipad-simulator (robovm:ios-device is under construction) and next
  thing you have a running JFX app on iOS, no mess, no fuss.
 
  I have a pitch for a suite of fairly major app development next week. So
  many unknowns with JFX and app development at this stage! I'm still
 pretty
  disappointed that JFX on iOS/Android is not officially supported by
 Oracle
  (such a massive wtf? for me) - makes it such a risky prospect for us on
 the
  front line.
 
 
  On Fri, Jun 21, 2013 at 3:47 AM, Felipe Heidrich 
  felipe.heidr...@oracle.com
  wrote:
 
  Hello,
 
 
  We have just open-sourced javafx-font and javafx-font-native!
 
  Note that a lot of the code we open-sourced today is a new
 implementation
  based on native text technologies (CoreText for the Mac and DirectWrite
  for
  Windows).
 
  We still have a lot of work to do:
  - finishing the new linux implementation is a big one
  - testing
  - improve on sub pixel position text
  - etc
 
  Help is most welcome,
 
  Thank you
  Felipe
 
 
 




Re: javafx-font opensourced

2013-06-21 Thread Richard Bair
 Are we talking Oracle or OpenJDK here. I got the impression those libs were 
 Open?

Right, it is confusing. Much of the code we (meaning the build system) are 
building all the time (for example, all of webkit or gstreamer). However some 
of it (libxslt, libxml, some others) we have only built and then loaded up onto 
an internal web server as a zip. The existing closed ant build system downloads 
that zip and unpacks it, and then the existing ant build uses those libraries 
for building webkit and producing the final artifacts.

So in order to get the build working we either need to include the sources for 
these libs and build them every time, or build them once and put them someplace 
that Gradle can download them from. The ideal thing would be for OpenJDK to 
have a public binary repository in which we can put all our OpenJDK stuff 
(including snapshots of every build, and all the native libraries, etc) and 
then our gradle build can just pull everything from there. However in the 
meantime, I'd be happy if those native libs lived anywhere and we wired it up 
in the gradle build to make it automatic.

The point I was making about Oracle vs OpenJDK is just that the Official Java / 
JavaFX / Oracle JDK builds will always probably be downloaded via that web page 
and the continuous builds of that might not be exposed in a binary repository. 
But the OpenJDK / OpenJFX builds certainly could be AFAIK and certainly could 
be hosted by anybody on any server since it is all just GPL.

So what I was referring to wasn't putting builds of OpenJFX into Maven so much 
as putting the libxml, libxslt, and other web dependencies someplace like maven 
that we could then pull from in order to be able to build web view.

Richard

Re: javafx-font opensourced

2013-06-21 Thread Daniel Zwolenski
While I agree with Tom that setting up a Nexus (or Artifactory) repo is
easy, I don't see any point for OSS stuff. That's what Sonatype is for,
take advantage of it.

Setting up your own Nexus (or Artifactory) is needed if you
have proprietary stuff that you want to keep private or have licensing
restrictions on, but the whole point of OpenJDK is to not be that - OSS
Sonatype exists to make life easier for exactly these sorts of projects.

You may want to setup an internal Nexus inside for your Oracle stuff but
then you definitely wouldn't be giving us access to that.



On Fri, Jun 21, 2013 at 5:01 PM, Tom Eugelink t...@tbee.org wrote:


 What I wanted to say with that (friends always accuse me of not being to
 the point) is that by running a Nexus repo yourself,
 - Oracle is self hosting
 - But also immediately compatible with Maven, Gradle, Ivy, etc
 - Allow other repo's to easily proxy, which improves availability

 I'm more than happy to setup a Nexus.

 Tom


 On 2013-06-21 08:56, Tom Eugelink wrote:


 Installing Nexus is extremely simple (kudo's to sonatype for that). I've
 got a copy running myself, proxying all kinds of other repo's, just to be
 not dependent on other hosting.

 Tom


 On 2013-06-21 08:51, Richard Bair wrote:

 Oracle has this thing about wanting to self host everything. However
 that doesn't stop the community from putting OpenJDK / OpenJFX stuff
 somewhere reasonable until Oracle finally gets all the infrastructure in
 place and the OpenJDK project can then take advantage of it.

 Richard

 On Jun 20, 2013, at 11:34 PM, Daniel Zwolenski zon...@gmail.com wrote:

  Why not use Sonatype for your repo?

 For third party jars that aren't in central, you can upload these
 assuming the licence allows it:
 https://docs.sonatype.org/**display/Repository/Uploading+**
 3rd-party+Artifacts+to+The+**Central+Repositoryhttps://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository

 For your own stuff that you aren't going to publish for real but still
 want to be available (e.g. latest releases of JFX), publish it as a
 SNAPSHOT. For real stuff, publish it proper into the Maven repo and make it
 available for use by the community.

 It certainly would make my life massively more enjoyable if a build of
 the JRE was available for download for each of the platforms. And things
 like win-launcher.exe and other secondary assets would also make it much
 easier to work on the packaging tools, etc.



 On Fri, Jun 21, 2013 at 2:34 PM, Richard Bair richard.b...@oracle.com
 wrote:
 Yes, working on the web view building. The main issue is there are a
 handful of libs (libxml, libxslt, etc) that we have to figure out where to
 put. I believe these are unaltered by us, but built with different flags to
 strip out stuff we don't need. I've asked Peter whether we can post the
 build instructions to produce these libs, and then figured once anyone can
 build them, it wouldn't be to hard to find a place to put them.

 Ultimately we're trying to get a public artifactory repository setup
 for OpenJDK which would be the natural place for us to put all our
 dependencies like this, but in the meantime we just need a place to put
 some binaries. I know some of these binaries could be found elsewhere but
 not all of them (win64 builds I think are missing for example).

 On Jun 20, 2013, at 8:56 PM, Danno Ferrin danno.fer...@shemnon.com
 wrote:

  On Thu, Jun 20, 2013 at 5:21 PM, Daniel Zwolenski zon...@gmail.com
 wrote:

  This time sending to the list (gets me every time!):

 Great news!

 Danno - where does this put us with the JFX78 backport? Can we get a
 build
 of this for iOS now or what's needed to close this loop?


  The good news is that my JFX78 project now compiles via gradle
 without
 needing a stub jar.  I took out the date picker and the builders for
 media
 and web view.  So you can download it locally and build a jfxrt.jar and
 likely use the ios libs that build currently.  I haven't poked around
 too
 much with the native bits.  (see 
 https://bitbucket.org/narya/**jfx78https://bitbucket.org/narya/jfx78
 )

 I also have been working on some maven distribution for this, not ready
 for consumption yet but an accessory build file creates the poms and
 handles the upload tasks (
 https://bitbucket.org/narya/**jfx78/src/**
 3fe6c37ebdfbed33d1bdc9ad9d6a20**37972de680/narya.gradle?at=**defaulthttps://bitbucket.org/narya/jfx78/src/3fe6c37ebdfbed33d1bdc9ad9d6a2037972de680/narya.gradle?at=default
 ).

 The date picker will return when the threetenbp jars are updated, and
 media
 when those files are released.  WebView I either need to submit a
 patch to
 get it building in gradle or be patient.  But honestly all three of
 these
 rank in priority for me below writing a jfpackager bundler that wraps
 robovm.


 The RoboVM Maven plugin is working. I'd be keen to make it work with
 JFX

 auto included so basically you can create a normal project and run mvn
 

Re: javafx-font opensourced

2013-06-21 Thread Daniel Zwolenski
Ok, that's how I read it, and so as per my email Sonatype still makes sense
to me as the spot to put these libs (see the link I linked to).

And, as I said, once you start using it for your third party repos it's a
small step to then start deploying the actual built artifacts into it,
which is something I've been asking for since I first joined in when 2.0
was in beta. We couldn't do it before now because of legal reasons with
Oracle. Now we can legally do it but it's technically very, very easy for
you guys to do and very hard for us to do.

I have already the Sonatype groupId setup and waiting for you to use so
most of red tape part is already done.

I don't really see any reason not to do this but you seem reluctant? What's
the reason for the reluctance?




On Fri, Jun 21, 2013 at 5:14 PM, Richard Bair richard.b...@oracle.comwrote:

  Are we talking Oracle or OpenJDK here. I got the impression those libs
 were Open?

 Right, it is confusing. Much of the code we (meaning the build system) are
 building all the time (for example, all of webkit or gstreamer). However
 some of it (libxslt, libxml, some others) we have only built and then
 loaded up onto an internal web server as a zip. The existing closed ant
 build system downloads that zip and unpacks it, and then the existing ant
 build uses those libraries for building webkit and producing the final
 artifacts.

 So in order to get the build working we either need to include the sources
 for these libs and build them every time, or build them once and put them
 someplace that Gradle can download them from. The ideal thing would be for
 OpenJDK to have a public binary repository in which we can put all our
 OpenJDK stuff (including snapshots of every build, and all the native
 libraries, etc) and then our gradle build can just pull everything from
 there. However in the meantime, I'd be happy if those native libs lived
 anywhere and we wired it up in the gradle build to make it automatic.

 The point I was making about Oracle vs OpenJDK is just that the Official
 Java / JavaFX / Oracle JDK builds will always probably be downloaded via
 that web page and the continuous builds of that might not be exposed in a
 binary repository. But the OpenJDK / OpenJFX builds certainly could be
 AFAIK and certainly could be hosted by anybody on any server since it is
 all just GPL.

 So what I was referring to wasn't putting builds of OpenJFX into Maven so
 much as putting the libxml, libxslt, and other web dependencies someplace
 like maven that we could then pull from in order to be able to build web
 view.

 Richard


Re: javafx-font opensourced

2013-06-21 Thread Tom Eugelink

That was a response to the fact that Oracle prefers to self-host.

Tom


On 2013-06-21 09:10, Daniel Zwolenski wrote:

While I agree with Tom that setting up a Nexus (or Artifactory) repo is easy, I 
don't see any point for OSS stuff. That's what Sonatype is for, take advantage 
of it.

Setting up your own Nexus (or Artifactory) is needed if you have proprietary 
stuff that you want to keep private or have licensing restrictions on, but the 
whole point of OpenJDK is to not be that - OSS Sonatype exists to make life 
easier for exactly these sorts of projects.

You may want to setup an internal Nexus inside for your Oracle stuff but then 
you definitely wouldn't be giving us access to that.



On Fri, Jun 21, 2013 at 5:01 PM, Tom Eugelink t...@tbee.org 
mailto:t...@tbee.org wrote:


What I wanted to say with that (friends always accuse me of not being to 
the point) is that by running a Nexus repo yourself,
- Oracle is self hosting
- But also immediately compatible with Maven, Gradle, Ivy, etc
- Allow other repo's to easily proxy, which improves availability

I'm more than happy to setup a Nexus.

Tom


On 2013-06-21 08:56, Tom Eugelink wrote:


Installing Nexus is extremely simple (kudo's to sonatype for that). 
I've got a copy running myself, proxying all kinds of other repo's, just to be 
not dependent on other hosting.

Tom


On 2013-06-21 08:51, Richard Bair wrote:

Oracle has this thing about wanting to self host everything. 
However that doesn't stop the community from putting OpenJDK / OpenJFX stuff 
somewhere reasonable until Oracle finally gets all the infrastructure in place 
and the OpenJDK project can then take advantage of it.

Richard

On Jun 20, 2013, at 11:34 PM, Daniel Zwolenski zon...@gmail.com 
mailto:zon...@gmail.com wrote:

Why not use Sonatype for your repo?

For third party jars that aren't in central, you can upload 
these assuming the licence allows it:

https://docs.sonatype.org/display/Repository/Uploading+3rd-party+Artifacts+to+The+Central+Repository

For your own stuff that you aren't going to publish for real 
but still want to be available (e.g. latest releases of JFX), publish it as a 
SNAPSHOT. For real stuff, publish it proper into the Maven repo and make it 
available for use by the community.

It certainly would make my life massively more enjoyable if a 
build of the JRE was available for download for each of the platforms. And 
things like win-launcher.exe and other secondary assets would also make it much 
easier to work on the packaging tools, etc.



On Fri, Jun 21, 2013 at 2:34 PM, Richard Bair richard.b...@oracle.com 
mailto:richard.b...@oracle.com wrote:
Yes, working on the web view building. The main issue is there 
are a handful of libs (libxml, libxslt, etc) that we have to figure out where 
to put. I believe these are unaltered by us, but built with different flags to 
strip out stuff we don't need. I've asked Peter whether we can post the build 
instructions to produce these libs, and then figured once anyone can build 
them, it wouldn't be to hard to find a place to put them.

Ultimately we're trying to get a public artifactory repository 
setup for OpenJDK which would be the natural place for us to put all our 
dependencies like this, but in the meantime we just need a place to put some 
binaries. I know some of these binaries could be found elsewhere but not all of 
them (win64 builds I think are missing for example).

On Jun 20, 2013, at 8:56 PM, Danno Ferrin danno.fer...@shemnon.com 
mailto:danno.fer...@shemnon.com wrote:

On Thu, Jun 20, 2013 at 5:21 PM, Daniel Zwolenski zon...@gmail.com 
mailto:zon...@gmail.com wrote:

This time sending to the list (gets me every time!):

Great news!

Danno - where does this put us with the JFX78 backport? 
Can we get a build
of this for iOS now or what's needed to close this loop?


The good news is that my JFX78 project now compiles via 
gradle without
needing a stub jar.  I took out the date picker and the 
builders for media
and web view.  So you can download it locally and build a 
jfxrt.jar and
likely use the ios libs that build currently.  I haven't 
poked around too
much with the native bits.  (see 
https://bitbucket.org/narya/jfx78)

I also have been working on some maven distribution for 
this, not ready
for consumption yet but an accessory build file creates the 
poms and
handles the upload tasks (


Re: javafx-font opensourced

2013-06-21 Thread Richard Bair
There's a whole infrastructure project going on for OpenJDK, and we need to 
coordinate with those guys. Nothings ever easy!

On Jun 21, 2013, at 12:25 AM, Daniel Zwolenski zon...@gmail.com wrote:

 Ok, that's how I read it, and so as per my email Sonatype still makes sense 
 to me as the spot to put these libs (see the link I linked to). 
 
 And, as I said, once you start using it for your third party repos it's a 
 small step to then start deploying the actual built artifacts into it, which 
 is something I've been asking for since I first joined in when 2.0 was in 
 beta. We couldn't do it before now because of legal reasons with Oracle. Now 
 we can legally do it but it's technically very, very easy for you guys to do 
 and very hard for us to do. 
 
 I have already the Sonatype groupId setup and waiting for you to use so most 
 of red tape part is already done. 
 
 I don't really see any reason not to do this but you seem reluctant? What's 
 the reason for the reluctance? 
 
 
 
 
 On Fri, Jun 21, 2013 at 5:14 PM, Richard Bair richard.b...@oracle.com wrote:
  Are we talking Oracle or OpenJDK here. I got the impression those libs were 
  Open?
 
 Right, it is confusing. Much of the code we (meaning the build system) are 
 building all the time (for example, all of webkit or gstreamer). However some 
 of it (libxslt, libxml, some others) we have only built and then loaded up 
 onto an internal web server as a zip. The existing closed ant build system 
 downloads that zip and unpacks it, and then the existing ant build uses those 
 libraries for building webkit and producing the final artifacts.
 
 So in order to get the build working we either need to include the sources 
 for these libs and build them every time, or build them once and put them 
 someplace that Gradle can download them from. The ideal thing would be for 
 OpenJDK to have a public binary repository in which we can put all our 
 OpenJDK stuff (including snapshots of every build, and all the native 
 libraries, etc) and then our gradle build can just pull everything from 
 there. However in the meantime, I'd be happy if those native libs lived 
 anywhere and we wired it up in the gradle build to make it automatic.
 
 The point I was making about Oracle vs OpenJDK is just that the Official Java 
 / JavaFX / Oracle JDK builds will always probably be downloaded via that web 
 page and the continuous builds of that might not be exposed in a binary 
 repository. But the OpenJDK / OpenJFX builds certainly could be AFAIK and 
 certainly could be hosted by anybody on any server since it is all just GPL.
 
 So what I was referring to wasn't putting builds of OpenJFX into Maven so 
 much as putting the libxml, libxslt, and other web dependencies someplace 
 like maven that we could then pull from in order to be able to build web view.
 
 Richard
 



Re: javafx-font opensourced

2013-06-20 Thread Richard Bair
Yes, working on the web view building. The main issue is there are a handful of 
libs (libxml, libxslt, etc) that we have to figure out where to put. I believe 
these are unaltered by us, but built with different flags to strip out stuff we 
don't need. I've asked Peter whether we can post the build instructions to 
produce these libs, and then figured once anyone can build them, it wouldn't be 
to hard to find a place to put them.

Ultimately we're trying to get a public artifactory repository setup for 
OpenJDK which would be the natural place for us to put all our dependencies 
like this, but in the meantime we just need a place to put some binaries. I 
know some of these binaries could be found elsewhere but not all of them (win64 
builds I think are missing for example).

On Jun 20, 2013, at 8:56 PM, Danno Ferrin danno.fer...@shemnon.com wrote:

 On Thu, Jun 20, 2013 at 5:21 PM, Daniel Zwolenski zon...@gmail.com wrote:
 
 This time sending to the list (gets me every time!):
 
 Great news!
 
 Danno - where does this put us with the JFX78 backport? Can we get a build
 of this for iOS now or what's needed to close this loop?
 
 
 The good news is that my JFX78 project now compiles via gradle without
 needing a stub jar.  I took out the date picker and the builders for media
 and web view.  So you can download it locally and build a jfxrt.jar and
 likely use the ios libs that build currently.  I haven't poked around too
 much with the native bits.  (see https://bitbucket.org/narya/jfx78)
 
 I also have been working on some maven distribution for this, not ready
 for consumption yet but an accessory build file creates the poms and
 handles the upload tasks (
 https://bitbucket.org/narya/jfx78/src/3fe6c37ebdfbed33d1bdc9ad9d6a2037972de680/narya.gradle?at=default
 ).
 
 The date picker will return when the threetenbp jars are updated, and media
 when those files are released.  WebView I either need to submit a patch to
 get it building in gradle or be patient.  But honestly all three of these
 rank in priority for me below writing a jfpackager bundler that wraps
 robovm.
 
 
 The RoboVM Maven plugin is working. I'd be keen to make it work with JFX
 auto included so basically you can create a normal project and run mvn
 robovm:ipad-simulator (robovm:ios-device is under construction) and next
 thing you have a running JFX app on iOS, no mess, no fuss.
 
 I have a pitch for a suite of fairly major app development next week. So
 many unknowns with JFX and app development at this stage! I'm still pretty
 disappointed that JFX on iOS/Android is not officially supported by Oracle
 (such a massive wtf? for me) - makes it such a risky prospect for us on the
 front line.
 
 
 On Fri, Jun 21, 2013 at 3:47 AM, Felipe Heidrich 
 felipe.heidr...@oracle.com
 wrote:
 
 Hello,
 
 
 We have just open-sourced javafx-font and javafx-font-native!
 
 Note that a lot of the code we open-sourced today is a new implementation
 based on native text technologies (CoreText for the Mac and DirectWrite
 for
 Windows).
 
 We still have a lot of work to do:
 - finishing the new linux implementation is a big one
 - testing
 - improve on sub pixel position text
 - etc
 
 Help is most welcome,
 
 Thank you
 Felipe
 
 
 



Re: javafx-font opensourced

2013-06-20 Thread John C. Turnbull
So when will we see this new native font rendering? Is it in b94?

Also, will this result in an improvement in rendering quality?

On 21/06/2013, at 14:35, Richard Bair richard.b...@oracle.com wrote:

 Up until now we've been using T2K to do font measurement / rasterizing. It is 
 what is used also by Java2D. It is native code, but what we mean by native 
 font rendering is relying on APIs in the native OS to do the font 
 rasterizing (and such) rather than T2K.
 
 Because this is new code, it just hasn't been finished for all platforms. 
 Felipe is working on the linux implementation.
 
 Richard
 
 On Jun 20, 2013, at 9:06 PM, ozem...@ozemail.com.au wrote:
 
 I see that this release of font code includes native font rendering.
 
 What is this actually referring to?  Does JavaFX 2 and 8 prior to the
 b94 (or whichever build has this native font rendering) not do native
 font rendering?
 
 Can someone explain exactly what native font rendering actually
 means and whether it is something new?
 
 Also, why is not available on Linux?
 
 Thanks,
 
 -jct
 
 - Original Message -
 From: Daniel Zwolenski 
 To:Felipe Heidrich 
 Cc:openjfx-dev@openjdk.java.net Mailing 
 Sent:Fri, 21 Jun 2013 09:21:22 +1000
 Subject:Re: javafx-font opensourced
 
 This time sending to the list (gets me every time!):
 
 Great news!
 
 Danno - where does this put us with the JFX78 backport? Can we get a
 build
 of this for iOS now or what's needed to close this loop?
 
 The RoboVM Maven plugin is working. I'd be keen to make it work with
 JFX
 auto included so basically you can create a normal project and run
 mvn
 robovm:ipad-simulator (robovm:ios-device is under construction) and
 next
 thing you have a running JFX app on iOS, no mess, no fuss.
 
 I have a pitch for a suite of fairly major app development next week.
 So
 many unknowns with JFX and app development at this stage! I'm still
 pretty
 disappointed that JFX on iOS/Android is not officially supported by
 Oracle
 (such a massive wtf? for me) - makes it such a risky prospect for us
 on the
 front line.
 
 On Fri, Jun 21, 2013 at 3:47 AM, Felipe Heidrich  wrote:
 
 Hello,
 
 
 We have just open-sourced javafx-font and javafx-font-native!
 
 Note that a lot of the code we open-sourced today is a new
 implementation
 based on native text technologies (CoreText for the Mac and
 DirectWrite for
 Windows).
 
 We still have a lot of work to do:
 - finishing the new linux implementation is a big one
 - testing
 - improve on sub pixel position text
 - etc
 
 Help is most welcome,
 
 Thank you
 Felipe