There's the possibility to extract the font source extraction logic into a separate function, which can be unit tested.
There's the possibility to extract the font source extraction logic into a separate function, which can be unit tested.