static bool SF_STDCALL MatchFontFlags_Static(unsigned fontFlags, unsigned matchFlags);
MatchFontFlags_Static matches two sets of flags. MatchFontFlags_Static includes a particular heuristic for search based on a font name, helpful for handling Flash DeviceFont flag in text fields.
If FF_DeviceFont is not specified all searches are done based on FF_StyleFont_Mask, and both regular and device fonts can be returned.
If FF_DeviceFont is specified, only device fonts will be matched.
The same rule applies to code page - it is considered only if specified as non-Unicode.
A Boolean value of true if both flag sets are equal.