[webkit-dev] Pango vs WebCore for font-handling

2008-07-19 Thread Joshua Chia
I have a design-related question about using Pango in Webkit, especially in the GTK port, because I'm trying to use Pango in my port by borrowing ideas from the GTK port. Pango itself already does font matching and I believe can fallback properly to the right font that has the glyph for the requir

[webkit-dev] LengthType

2008-07-03 Thread Joshua Chia
What do the various values of LengthType (WebCore/rendering/Length.h) mean? Auto, Relative, Percent, Fixed, Static, Intrinsic, MinIntrinsic Josh ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-

[webkit-dev] Render path for form controls; layout path for buttons

2008-07-02 Thread Joshua Chia
I know that for radio buttons and check boxes, the painting and size setting are done in RenderTheme. For controls, both the drop-down version and the list version, where are these things done? Which functions are called? Also, for regular buttons, what do I need to do to implement them, i.e. w

Re: [webkit-dev] How do do incremental build?

2008-07-01 Thread Joshua Chia
out why this command is failing: > > rm: cannot remove `/usr/local/WebKit2/WebKitBuild/Release/WebCore': Is a > directory > > I'd suggest running "rm -rf WebKitBuild", then trying to build again. > > Dave > > > On Tue, 7/1/08, Joshua Chia

Re: [webkit-dev] How do do incremental build?

2008-07-01 Thread Joshua Chia
d; run "make distclean" there first Failed to setup build environment using 'autotools'! On Tue, Jul 1, 2008 at 3:20 PM, Mark Rowe <[EMAIL PROTECTED]> wrote: > > On 2008-07-01, at 14:57, Joshua Chia wrote: > > The GTK page http://trac.webkit.org/wiki/BuildingG

Re: [webkit-dev] How do do incremental build?

2008-07-01 Thread Joshua Chia
ebKitTools/Scripts/webkitdirs.pm line 369. On Tue, Jul 1, 2008 at 2:29 PM, Mark Rowe <[EMAIL PROTECTED]> wrote: > > On 2008-07-01, at 13:36, Joshua Chia wrote: > > I made some changes to some GTK port-related code, specifically >> RenderThemeGtk.cpp. Simply running make

[webkit-dev] How do do incremental build?

2008-07-01 Thread Joshua Chia
I made some changes to some GTK port-related code, specifically RenderThemeGtk.cpp. Simply running make did not cause it to be recompiled. How do I do incremental builds with proper dependency? The clean build takes forever. Josh ___ webkit-dev mailing

Re: [webkit-dev] Font description + font family = redundancy?

2008-06-18 Thread Joshua Chia
amilies in a list. The > AtomicString represents one of the families in the list. > > dave > > > On Jun 18, 2008, at 5:04 PM, Joshua Chia wrote: > > I'm trying to understand the font-related code in >> WebCore/platform/graphics. >> >> FontCache::crea

[webkit-dev] Font description + font family = redundancy?

2008-06-18 Thread Joshua Chia
I'm trying to understand the font-related code in WebCore/platform/graphics. FontCache::createFontPlatformData() takes two arguments: a FontDescription and an AtomicString specifying the family. Since FontDescription already has family specified in it, why does createFontPlatformData() take the A

Re: [webkit-dev] Chinese font problems on GTK port

2008-05-30 Thread Joshua Chia
I would like to add that the Qt port doesn't have this problem, so it's probably due to the the way pango or freetype is being used by the Gtk port. 2008/5/29 Joshua Chia <[EMAIL PROTECTED]>: > With a recent GTK port built on Ubuntu Hardy, I find that GtkLauncher fails &

[webkit-dev] Chinese font problems on GTK port

2008-05-29 Thread Joshua Chia
With a recent GTK port built on Ubuntu Hardy, I find that GtkLauncher fails to display Chinese characters correctly for some Chinese pages. For example, on www.baidu.com (gb2312), some Chinese characters show up as squares. However, if I use font-family in the HTML to switch to a Chinese font suc

[webkit-dev] Re: Building GTK+ port on Win32

2008-03-13 Thread Joshua Chia
to work on all three platforms without the Support Libraries, so it would be great if I could figure out how to use the GTK+ port for both Linux and Windows. On Thu, Mar 13, 2008 at 6:04 PM, Alp Toker <[EMAIL PROTECTED]> wrote: > Joshua Chia wrote: > > Hi, > > > > How ca

[webkit-dev] Building GTK+ port on Win32

2008-03-12 Thread Joshua Chia
Hi, How can I build the GTK+ port on Win32? What do I need and what do I type? Also, is it independent of the non-open Support Libraries that the Win32 port needs? ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/l