In line with bug 78450, it's desirable to load config from memory as opposed to file.
For reference, I discussed using custom fonts with pango+fontconfig in detail here:
Didn't review in detail, but generally looks good. Thanks.
merged into the main repo.