[Webkit-unassigned] [Bug 68996] [GTK][WEBKIT2] Add Font and Encoding properties to WebKitWebSettings.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 29 00:43:40 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=68996
--- Comment #11 from Nayan Kumar K <nayankk at motorola.com> 2011-09-29 00:43:40 PST ---
(In reply to comment #7)
>
> > Source/WebKit2/UIProcess/API/gtk/WebKitWebSettings.cpp:1225
> > + WKStringRef standardFontFamilyRef = WKStringCreateWithUTF8CString(defaultFontFamily);
> > + WKPreferencesSetStandardFontFamily(priv->preferences, standardFontFamilyRef);
> > + priv->defaultFontFamily = static_cast<gchar *> (g_realloc(priv->defaultFontFamily, WKStringGetLength(standardFontFamilyRef) + 1));
> > + WKStringGetUTF8CString(standardFontFamilyRef, priv->defaultFontFamily, WKStringGetLength(standardFontFamilyRef) + 1);
> > + WKRelease(standardFontFamilyRef);
> > +
>
> Is it important to refetch the font name from WebKit?
I believe only way in which the preferences stored in WebKitWebSettings and WKPreferences differs is when WebKit changes it, which is very unlikely. Hence, I don' think its necessary to re-fetch the font name from WebKit.
--
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