The Cairo ports (Gtk & Cairo/Win) use setFont to set a scaled font for cairo_t. I think the indirections are unnecessary as there's only one call site, which is in Font::drawGlyphs. Patch forthcoming.
CC'ing Brent so he can look at it too.
Created attachment 35117 [details] Patch v1
Looks good to me. I don't see how this could cause me any problems.
Comment on attachment 35117 [details] Patch v1 OK.
Comment on attachment 35117 [details] Patch v1 Rejecting patch 35117 from commit-queue. This patch will require manual commit. Failed to run "['git', 'svn', 'rebase']" exit_code: 1 cwd: None
Comment on attachment 35117 [details] Patch v1 commit-queue bug.
(In reply to comment #6) > (From update of attachment 35117 [details]) > commit-queue bug. Ok, Thanks. Landed as http://trac.webkit.org/changeset/47525.