Steve Clark wrote:

> Mack Stevenson wrote:
> 
>> Hi everyone,
>> 
>> Following Steve Clark's suggestion on the mozilla-layout NG, I had a  
>> look at both mozilla/webshell/tests/viewer and  
>> mozilla/embedding/tests/gtkembed in the CVS tree. I wish to assemble 
>> a  simple HTML viewer into an existing application which uses the 
>> Linux  framebuffer as the display target; after browsing throught the 
>> two  test apps, and since I am not using any windowing toolkit at 
>> all, I  start to wonder what options I've got left, since I still 
>> haven't  found any demo of gecko rendering files to a target that 
>> doesn't  support a windowing toolkit.  
> 
> 
> I suspect you'd have to write some code here to make this happen.  
> Since  we don't support passing in the rendering methods, your next 
> best  strategy would be to write your own implementation of the 
> rendering  context.  I don't think you need to do anything with 
> mozilla/view. I  think the view system is a platform-neutral 
> abstraction.  There is  platform/toolkit specific code in 
> mozilla/widget you may need to look at  as well.
> 
> Having done this, I doubt your implementation will work correctly 
> with  plug-ins, but it should do the right thing with all the 
> rendering under  gecko's control.  There may be some hints about how 
> some of this works  in the printing code. 

There is an M18 port of Mozilla to nano-X that will probably map onto 
the linux framebuffer with the right build settings:

http://www.igelaus.com.au/projects/nanox.html

http://microwindows.censoft.com/

Adam


Reply via email to