The way I understand this code, using your extract line number references above:
lines 1 to 7 check if any post has an image gallery, if yes, then the photoswipe.css applies to display the gallery. If not, it’s ignored.
Lines 8 to 14 probably relates to the front source / front page / home page, whatever you want to call it. The code then checks for any post on the home page (or the home page may just be a single post), if that post has a ‘front gallery’, then likewise, photoswipe.css also determines how the gallery displays.
I don’t think there are any references to font sources.
Though, I may be wrong (we’re all striving to learn here aren’t we? 🙂