[Webkit-unassigned] [Bug 71445] [GTK] [WK2] ttf-liberation fonts moved to a new location (in Debian)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 3 03:03:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=71445





--- Comment #3 from Philippe Normand <pnormand at igalia.com>  2011-11-03 03:03:25 PST ---
(In reply to comment #2)
> (From update of attachment 113446 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=113446&action=review
> 
> Thanks for the fix! Please fix the nits below before landing.
> 
> > Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:109
> > +    GOwnPtr<gchar> directoriesDescription;
> > +    for (size_t path = 0; path < G_N_ELEMENTS(fontDirectories); path++)
> > +        directoriesDescription.set(g_strjoin(":", directoriesDescription.release(), fontDirectories[path], NULL));
> 
> Perhaps only calculate this if found is false below?
> 

Hum right, good point! Will fix it in DRT as well.

> > Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp:128
> > +        if (!found)
> > +            g_error("Could not find font %s in %s. Either install this font or file a bug "
> >                      "at http://bugs.webkit.org if it is installed in another location.",
> 
> The curly brace should stay here because the g_error take multiple lines. This rule applies to the number of lines and not the number of statements. :/

Damn me! :/ Will fix in DRT as well. Thanks! (BTW it's a pity to have to copy/paste code between WKTR and DRT :()

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list