<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class=""><br class=""></div><div class="">I was recently pulled into an application that uses fontconfig through ghostscript. There are nearly 9000 fonts in an application directory; adding that directory to the FC config worked, and gs finds the fonts it wants through FC.</div><div class=""><br class=""></div><div class="">We recently found that there is one font that is not working cleanly, 2- Moonglade Regular DEMO.ttf, available from <a href="http://herofonts.com" class="">herofonts.com</a>.</div><div class=""><div class=""><br class=""></div><div class=""><div class=""># fc-match -a MoongladeDEMO</div></div><div class=""><div class="">2- Moonglade Regular DEMO.ttf: "Moonglade DEMO" "Regular"</div><div class="">2- Moonglade Regular DEMO.ttf.orig: "Moonglade DEMO" "Regular"</div></div><div class=""><br class=""></div><div class="">When gs runs it does not find the font from the .ttf file, but from an identical copy with ‘.ttf.orig’ at the end.</div><div class=""><br class=""></div><div class=""><i class="">Loading MoongladeDEMO-Regular font from /var/www/ext/resources/fonts/2- Moonglade Regular DEMO.ttf.orig</i></div><div class=""><br class=""></div><div class="">If I remove the .ttf.orig file, gs does not find the font in the other file and Helvetica is substituted.</div><div class=""><br class=""></div><div class="">I was not involved with the project when they found that gs would find the font from a file with .orig or .bak or .copy at the end of the name, so I don’t know how they discovered that.</div><div class=""><br class="webkit-block-placeholder"></div><div class="">This is my first foray into fontconfig, so I am not sure where to begin looking for why the FC tools find the original font file, but gs accessing through the FC libraries does not. Any suggestions what might be happening?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class="">
<br class="">   -- Michael

</div>
<br class=""></div></body></html>