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: http://mces.blogspot.ca/2015/05/how-to-use-custom-application-fonts.html
Added FcConfigParseAndLoadFromMemory() http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=bz78452
Didn't review in detail, but generally looks good. Thanks.
merged into the main repo.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.