tags:

views:

19

answers:

0

Is there any way to interrogate a FontFamily instance to determine the name of the generic family group that it belongs to (serif, sans-serif, cursive, fantasy, monospace)?

I understand that these family groups are prescribed by CSS and are therefore not directly related to the FontFamily class, but I am hoping that the underlying fonts themselves might contain accessible metadata that would enable this.

Alternatively, if the FontFamily class cannot provide this information directly, is there a comprehensive lookup table that I can incorporate into my code?

Many thanks, Tim