The split will make the respective files clean of #ifdefs and it makes it easier to update the respective Gtk font backends. Patch coming next..
Created attachment 33078 [details] patch to split FontPlatformData into a Gtk and Pango variant
Comment on attachment 33078 [details] patch to split FontPlatformData into a Gtk and Pango variant Your changelog needs more detail. You need to say "why". What are these files used for? Is the gtk one used anymore? Why do we have 2 just for one port? Why isn't the gtk one called FontPlatformDataFreeType?
This change has become important as work begins once again on the FreeType backend. I'd like to make sure that any changes made there do not break the Pango backend. Additionally, the GTK+ port may deprecate or remove the Pango backend entirely and this change also prepares for that eventuality. Finally, this change takes a big machete to the confusing #ifdef jungle living in platform/graphics/cairo.
Created attachment 67617 [details] Separate the font backends
Here's some overview of the current font situation for Cairo and WebKitGTK+: http://trac.webkit.org/wiki/WebKitGTKFonts
Comment on attachment 67617 [details] Separate the font backends OK, this seems sane.
Committed r67567: <http://trac.webkit.org/changeset/67567>
http://trac.webkit.org/changeset/67567 might have broken GTK Linux 32-bit Release