Patch attached for review.
Created attachment 14092 [details] Fix page-specified fonts in gdk port
Comment on attachment 14092 [details] Fix page-specified fonts in gdk port Keep in mind that we prefer C++-style casts over the C-style casts. It looks like the "assert" on "pattern" will only detect an out-of-memory condition, which is a runtime error and as such not appropriate for an assertion. r=me, I'll address those two nits when I land the change.
Landed in r20968.