From dglassey at gmail.com Fri Jun 1 16:52:54 2007 From: dglassey at gmail.com (Daniel Glassey) Date: Sat, 2 Jun 2007 00:52:54 +0100 Subject: Fwd: 2007 Text Layout Summit - ANNOUNCEMENT and UPDATE In-Reply-To: <416e2cf10704271225s4d936249xc5dd0978ca522572@mail.gmail.com> References: <416e2cf10704271225s4d936249xc5dd0978ca522572@mail.gmail.com> Message-ID: <30e46b3d0706011652ye890316nd14e0660c3aeea8f@mail.gmail.com> I would like to invite people in the openjdk community interested in text layout to the text layout summit sponsored by the Linux Foundation. It would be useful to get your input. btw afaiu Eric Mader from ICU will be there. Regards, Daniel On 27/04/07, Ed Trager wrote to various people and lists: > Hi, everyone, > > Now that I've got some confirmation about what's going to happen at aKademy, > here's the official 2007 TEXT LAYOUT SUMMIT ANNOUNCEMENT and UPDATE: > > ======================================== > ANNOUNCEMENT > ======================================== > 2007 TEXT LAYOUT SUMMIT AT AKADEMY JULY 4-6 IN GLASGOW > ======================================== > => LIMITED LINUX FOUNDATION TRAVEL FUNDING > FOR THOSE WHO NEED IT > ======================================== > > The 2007 Text Layout Summit is scheduled to take place in > conjunction with aKademy 2007 this summer in Glasgow, Scotland. > The dates for the 3-day Summit are Wednesday July 4th through > Friday, July 6th which coincide with the aKademy's scheduled "BOF" > sessions and coding days. > > The 2007 Text Layout Summit Wiki pages are started at: > > * http://www.freedesktop.org/wiki/TextLayout -- General Info > * http://www.freedesktop.org/wiki/TextLayout2007 -- THIS YEAR'S PAGE > > Please help out by adding information. This is your chance to > put all issues important to you onto the agenda or to volunteer to > present a session paper or moderate a discussion. > > I am also very pleased to announce that the Linux Foundation (LF) > is graciously sponsoring this event by providing us with a limited > amount of travel funds for select individuals who really need it. > Anyone interested in applying for travel sponsorship should apply > here: > > http://www.linux-foundation.org/travel/ > > Be sure to specify "aKademy" and note that you are going to attend > the *Text Layout Summit*. Register for aKademy at: > > http://www.kde.org.uk/akademy/registration.php From Igor.Nekrestyanov at Sun.COM Fri Jun 29 01:05:15 2007 From: Igor.Nekrestyanov at Sun.COM (Igor Nekrestyanov) Date: Fri, 29 Jun 2007 12:05:15 +0400 Subject: Quick update on project status Message-ID: <4684BD3B.60300@sun.com> Hi there, There was not much activity on this list but project is alive :) Here is brief update on the project status. At the moment proposed fix for replacing encumbered T2K library with freetype is under code review. Upon approval (it is over 3500 lines and review will likely take some time and several iterations) changes will start making their way to master workspace and going public. Depending on integration windows schedule this will take few weeks to land on openjdk.java.net. Changes introduce abstraction of scaler engine (sun.font.FontScaler) and implementations for Freetype and T2K. They were tested with freetype 2.3.4 but likely should work with all 2.3.* versions. Obviously further improvements are possible and more testing is required. Especially for freetype-based scaler implementation. But hopefully this project can evolve faster as we can work on it together in the public workspace. Let me know if you are interested to help with improving freetype based implementation. Perhaps we can find way to get you involved even before changes become available to general public. -igor From roman at kennke.org Fri Jun 29 01:54:52 2007 From: roman at kennke.org (Roman Kennke) Date: Fri, 29 Jun 2007 10:54:52 +0200 Subject: Quick update on project status In-Reply-To: <4684BD3B.60300@sun.com> References: <4684BD3B.60300@sun.com> Message-ID: <1183107292.6218.7.camel@mercury> Hi Igor, > At the moment proposed fix for replacing encumbered T2K library with > freetype is under code review. > Upon approval (it is over 3500 lines and review will likely take some > time and several iterations) > changes will start making their way to master workspace and going public. > Depending on integration windows schedule this will take few weeks to > land on openjdk.java.net. Great! So this is will be a complete replacement for the encumbered T2K library? > Changes introduce abstraction of scaler engine (sun.font.FontScaler) and > implementations for Freetype and T2K. > They were tested with freetype 2.3.4 but likely should work with all > 2.3.* versions. 'Abstraction of scaler engine', does that mean that it would be possible to provide alternative implementations? I would be very interested in that (I told you in Brussels). > But hopefully this project can evolve faster as we can work on it > together in the public workspace. I'm looking forward to that. > Let me know if you are interested to help with improving freetype based > implementation. > Perhaps we can find way to get you involved even before changes become > available to general public. I would be interested in having a look, and Francis from Redhat too AFAIK. /Roman -- http://kennke.org/blog/ From Igor.Nekrestyanov at Sun.COM Fri Jun 29 05:27:53 2007 From: Igor.Nekrestyanov at Sun.COM (Igor Nekrestyanov) Date: Fri, 29 Jun 2007 16:27:53 +0400 Subject: Quick update on project status In-Reply-To: <1183107292.6218.7.camel@mercury> References: <4684BD3B.60300@sun.com> <1183107292.6218.7.camel@mercury> Message-ID: <4684FAC9.4080403@sun.com> Hi Roman, >> At the moment proposed fix for replacing encumbered T2K library with >> freetype is under code review. >> Upon approval (it is over 3500 lines and review will likely take some >> time and several iterations) >> changes will start making their way to master workspace and going public. >> Depending on integration windows schedule this will take few weeks to >> land on openjdk.java.net. >> > > Great! So this is will be a complete replacement for the encumbered T2K > library? > Yes, there will be no t2k binary library in the OpenJDK and OepnJDK will be runnable (at least it works for me :). There could be compatibility issues (have yet to pass JCK) but these should be possible to fix. We can not enable truetype hinting by default though. >> Changes introduce abstraction of scaler engine (sun.font.FontScaler) and >> implementations for Freetype and T2K. >> They were tested with freetype 2.3.4 but likely should work with all >> 2.3.* versions. >> > > 'Abstraction of scaler engine', does that mean that it would be possible > to provide alternative implementations? I would be very interested in > that (I told you in Brussels). > > Theoretically - yes. So far there are 3 implementations - t2k font scaler, freetype font scaler and null font scaler. Selection logic is hardcoded for now but this can be revised later and easy to change in source code. As every abstraction this one may be not ideal for all type of raterizers. I tried to make it generic enough to handle both freetype and t2k but trying to avoid changing everything (high risk of breaking too much). I hope we can further improve this as it will be needed. >> Let me know if you are interested to help with improving freetype based >> implementation. >> Perhaps we can find way to get you involved even before changes become >> available to general public. >> > > I would be interested in having a look, and Francis from Redhat too > AFAIK. > Let me find out how we can organize this. -igor From roman at kennke.org Fri Jun 29 05:57:13 2007 From: roman at kennke.org (Roman Kennke) Date: Fri, 29 Jun 2007 14:57:13 +0200 Subject: Quick update on project status In-Reply-To: <4684FAC9.4080403@sun.com> References: <4684BD3B.60300@sun.com> <1183107292.6218.7.camel@mercury> <4684FAC9.4080403@sun.com> Message-ID: <1183121833.6218.29.camel@mercury> Hi Igor, > >> At the moment proposed fix for replacing encumbered T2K library with > >> freetype is under code review. > >> Upon approval (it is over 3500 lines and review will likely take some > >> time and several iterations) > >> changes will start making their way to master workspace and going public. > >> Depending on integration windows schedule this will take few weeks to > >> land on openjdk.java.net. > >> > > > > Great! So this is will be a complete replacement for the encumbered T2K > > library? > > > Yes, there will be no t2k binary library in the OpenJDK and OepnJDK will > be runnable > (at least it works for me :). Very cool! I was wondering, how other font stuff is implemented in (Open)JDK, most importantly TextLayout. Are you using some external implementation for that (I think freetype doesn't cover TextLayout), or an own implementation? In GNU Classpath we had an own implementation, based on java.text.Bidi, but it might make sense to use some external lib (like HarfBuzz). > There could be compatibility issues (have yet to pass JCK) but these > should be possible to fix. > We can not enable truetype hinting by default though. Hmm. I think ideally there should be an option to dynamically link freetype and do whatever the system's freetype installation does. I think that this might be problematic wrt JCK, but maybe not. The advantages of this are better resource usage (the library and fonts are very likely already loaded, at least on Unix systems), less redundancy, better security handling (only needs fixing the freetype lib if problems arise and not the JDK installation too, and of course, if the system freetype installation has truetype hinting enabled, the JDK would benefit from this. > >> Changes introduce abstraction of scaler engine (sun.font.FontScaler) and > >> implementations for Freetype and T2K. > >> They were tested with freetype 2.3.4 but likely should work with all > >> 2.3.* versions. > >> > > > > 'Abstraction of scaler engine', does that mean that it would be possible > > to provide alternative implementations? I would be very interested in > > that (I told you in Brussels). > > > > > Theoretically - yes. > So far there are 3 implementations - t2k font scaler, freetype font > scaler and null font scaler. > Selection logic is hardcoded for now but this can be revised later and > easy to change in source code. Very cool! As soon as I can look at the code, I'll see how 'my' 100% Java font implementation can plug into this, and make proposals on how to improve the abstraction (if necessary). Cheers, Roman -- http://kennke.org/blog/ From fkung at redhat.com Fri Jun 29 07:41:35 2007 From: fkung at redhat.com (Francis Kung) Date: Fri, 29 Jun 2007 10:41:35 -0400 Subject: Quick update on project status In-Reply-To: <1183121833.6218.29.camel@mercury> References: <4684BD3B.60300@sun.com> <1183107292.6218.7.camel@mercury> <4684FAC9.4080403@sun.com> <1183121833.6218.29.camel@mercury> Message-ID: <46851A1F.1010900@redhat.com> >>>> At the moment proposed fix for replacing encumbered T2K library with >>>> freetype is under code review. >>>> Upon approval (it is over 3500 lines and review will likely take some >>>> time and several iterations) >>>> changes will start making their way to master workspace and going public. >>>> Depending on integration windows schedule this will take few weeks to >>>> land on openjdk.java.net. >>>> >>> Great! So this is will be a complete replacement for the encumbered T2K >>> library? >>> >> Yes, there will be no t2k binary library in the OpenJDK and OepnJDK will >> be runnable >> (at least it works for me :). This is excellent news!! Thanks for the update - I look forward to the release =) Cheers, Francis From Phil.Race at Sun.COM Fri Jun 29 08:06:22 2007 From: Phil.Race at Sun.COM (Phil Race) Date: Fri, 29 Jun 2007 08:06:22 -0700 Subject: Quick update on project status In-Reply-To: <1183121833.6218.29.camel@mercury> References: <4684BD3B.60300@sun.com> <1183107292.6218.7.camel@mercury> <4684FAC9.4080403@sun.com> <1183121833.6218.29.camel@mercury> Message-ID: <46851FEE.2040909@sun.com> Roman, TextLayout has a bunch of java implementation in java.awt.font and sun.font but the meat of opentype layout which is what I think you are getting at is the IBM ICU library. We work very closely with those guys to keep us fairly well in sync there and I don't forsee us changing to anything else without an extremely good reason. -phil. > Very cool! I was wondering, how other font stuff is implemented in > (Open)JDK, most importantly TextLayout. Are you using some external > implementation for that (I think freetype doesn't cover TextLayout), or > an own implementation? In GNU Classpath we had an own implementation, > based on java.text.Bidi, but it might make sense to use some external > lib (like HarfBuzz). > > > From roman at kennke.org Fri Jun 29 08:13:49 2007 From: roman at kennke.org (Roman Kennke) Date: Fri, 29 Jun 2007 17:13:49 +0200 Subject: Quick update on project status In-Reply-To: <46851FEE.2040909@sun.com> References: <4684BD3B.60300@sun.com> <1183107292.6218.7.camel@mercury> <4684FAC9.4080403@sun.com> <1183121833.6218.29.camel@mercury> <46851FEE.2040909@sun.com> Message-ID: <1183130029.6218.33.camel@mercury> Hi Phil, > TextLayout has a bunch of java implementation in java.awt.font and > sun.font but > the meat of opentype layout which is what I think you are getting at is > the IBM ICU library. > We work very closely with those guys to keep us fairly well in sync > there and I don't > forsee us changing to anything else without an extremely good reason. That sounds like a perfect choice :-) /Roman -- http://kennke.org/blog/