[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mozilla-os2
Subject:    Re: Need help to implement Thebes font/text handling
From:       "Peter Weilbacher" <newsspam () weilbacher ! org>
Date:       2007-03-31 22:05:44
Message-ID: F3cu0n62uTsd-pn2-qbt1DMtHKsWU () gaston ! Weilbacher ! org
[Download RAW message or body]

On Fri, 30 Mar 2007 15:08:05 UTC, Alex Taylor wrote:

> I'm not saying I can help, but at least we'd need to know:
>  (a) What Thebes is and what it does (I gather it's a rendering library of
>      some sort).

Yes, as I wrote it's something of a C++ wrapper library to let Mozilla 
access all the cairo functions. cairo in turn is the graphics library 
now used for everything in Mozilla. But as cairo itself cannot do 
everything, Thebes, depending on the target platform, draws in helpers 
like Uniscribe (Windows), Pango/FreeType (Linux) and some other stuff.

>  (b) How it is structured, at least in general terms; if possible,
>      what its interfaces are.

The interfaces are defined in the header files here
   http://mxr.mozilla.org/seamonkey/source/gfx/thebes/public/
in the files that don't have a platform in their name. Actually, some 
are very well documented, like gfxFont.h. But until recently I think I 
missed some important bits.

> Is there anywhere that this information is available?  Searching on Google
> and on mozilla.org did not turn up any useful information.

Yes, that is mostly my problem...

> It sounds to me as if what you really need, now at least, is not so much
> OS/2 programming knowledge but knowledge of how Thebes itself works
> internally.  I can't help you with that; but presumably the information
> must be available to Mozilla developers somewhere or other...

Indeed, but very often this information is not available anywhere 
because the Mozilla sources are largely undocumented. So either one 
dives into the source code, trying to understand what is happening, or 
asks people, often without (useful) response. But now I have gotten some
hints in the .gfx group, so I made a bit of progress, mainly today.
-- 
Please                      Enhanced OS/2 builds of Mozilla applications
reply in                                    http://pmw-warpzilla.sf.net/
newsgroup
    Steve's Warpzilla Tips: http://www.os2bbs.com/os2news/Warpzilla.html
_______________________________________________
dev-ports-os2 mailing list
dev-ports-os2@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-ports-os2
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic