Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-26 Thread Oleg Khaschansky
Yes, I missed this. I think it is possible to use FreeType library for the font rendering both on linux and on windows. At present we are using xft on linux, but I think it is possible to refactor this to the "pure freetype" code. It may take less efforts than implementing font rasterizer from the

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-26 Thread Sergey Soldatov
There is a number of issues with headless support. And the serious one is font support. Our implementation uses system fonts, so in headless environment it could not initialize any font. RI uses own font rasterizer, so it doesn't have such problems. On 10/25/06, Martin Cordova <[EMAIL PROTECTED]>

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Martin Cordova
I am just checking a dependency. Don't think so. Regards, Martin On 10/25/06, Oleg Khaschansky <[EMAIL PROTECTED]> wrote: Could it be treated as a reverse engineering? I don't know :) On 10/25/06, Martin Cordova <[EMAIL PROTECTED]> wrote: > I don't know how it works, but what I can do is try t

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
Could it be treated as a reverse engineering? I don't know :) On 10/25/06, Martin Cordova <[EMAIL PROTECTED]> wrote: I don't know how it works, but what I can do is try to use headless without XOrg shared libs installed, and then take note of the missing .so modules the IBM JVM complains about).

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Martin Cordova
I don't know how it works, but what I can do is try to use headless without XOrg shared libs installed, and then take note of the missing .so modules the IBM JVM complains about). Regards, Martin On 10/25/06, Oleg Khaschansky <[EMAIL PROTECTED]> wrote: If you mean libxlib, how it could be used

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
If you mean libxlib, how it could be used without X server? Maybe some other library (e.g. font library like xft) simply preloads it during its initialization or tries to connect to the server (XOpenDisplay) to get some data, fails and uses defaults? Anyway, I think, testing on a headless environ

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Martin Cordova
(e.g. for linux we need to exclude all xlib calls, right?). << How implemented IBM their headless stuff? In their case it's a requirement to have XOrg shared libraries installed to have headless working. In order distros it was XFree libs. No need for an X server, just the libs. Regards, Martin

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
Right, that is my question too. I've seen the general description at the URL Oleg sent, it's hardly a spec tho'. I don't think that spec for this exists. Another document on this is [1]. It describes what can and what cannot be done in headless mode. But we also have the list of methods which t