<html><head></head><body><div>Hi,</div><div><br></div><div>Suppose I call FcFontMatch on a font pattern with a family name that doesn't exist on my system. I get some default system font.</div><div><br></div><div>Is there a reliable way to tell whether the FcPattern I get is for a fallback font like this? I could compare the two FC_FAMILY values, but it seems that Fontconfig does some case transformations — and possibly other things like replacing dashes? Is there a simple way to know if two FC_FAMILY strings match? Is there a better approach that I'm missing?</div><div><br></div><div>This is for LilyPond, which has ways of configuring fonts, and where we'd like to display a warning if a font is not found (unlike a GUI application, which just wants to display the text even if it's in a suboptimal font).</div><div><br></div><div>Thanks,</div><div><br></div><div>Jean</div><div><br></div><div><span></span></div></body></html>