ariya/phantomjs — pull request #245 by milianw (2012-05-03 15:36:46+00:00)
Title: Properly reregister application fonts if required.

When an application font is added, e.g. via @font-face in WebKit,
the private fontdatabase was free'd but never properly reregistered
on QPA platforms.

This change fixes this, resulting in properly rendered fonts.

NOTE: The custom fonts are - as far as I can see - still not used,
just a fallback is associated for them. See e.g.
QPlatformFontDatabase::fontEngine in qplatformfontdatabase_qpa.

ISSUE: 460 (http://code.google.com/p/phantomjs/issues/detail?id=460)