[webkit-dev] Re: Issues with font rendering on DirectFB build

Alp Toker alp at atoker.com
Wed Feb 13 03:27:19 PST 2008

Christian Dywan wrote:
> While that might fix the problem, hardcoding arbitrary values is not
> exactly advisable.
> It should be interesting to figure out what causes this function to fail
> in the first place.

The answer lies in the documentation for gdk_screen_get_resolution():

   Returns: the current resolution, or -1 if no resolution has been set.

So Sriram's patch is absolutely correct (coding-style issues aside).

More information about the webkit-dev mailing list