#include <fontconfig/fontconfig.h> FcChar32 FcPatternHash (const FcPattern *p);
Returns a 32-bit number which is the same for any two patterns which are equal.