Note that this can now be achieved without hacking core (via a custom extension) with the following code:
$events->listen(ConfigureClientView::class, function (ConfigureClientView $event) {
$event->view->addHeadString('<link rel="stylesheet" href="path/to/webfont">', 'font');
});
This will overwrite the Google webfonts <link>
tag with whatever you specify.