Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!
FcPatternEqualSubset(3)FcPatternEqualSubset(3)
NAME
FcPatternEqualSubset - Compare portions of patterns
SYNOPSIS
#include <fontconfig.h>
FcBool FcPatternEqualSubset (const FcPattern *pa, const FcPattern *pb,
const FcObjectSet *os);
DESCRIPTION
Returns whether pa and pb have exactly the same values for all of the
objects in os.
VERSION
Fontconfig version 2.4.1
16 October 2006 FcPatternEqualSubset(3)