diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/helper.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/helper.h b/include/helper.h index a74a162e..85ff158a 100644 --- a/include/helper.h +++ b/include/helper.h @@ -234,4 +234,12 @@ int rofi_scorer_fuzzy_evaluate ( const char *pattern, glong plen, const char *st * characters (not bytes) of `b`. */ int utf8_strncmp ( const char *a, const char* b, size_t n ); + +/** + * @param pfd Pango font description to validate. + * @param font The name of the font to check. + * + * @returns true if font is valid. + */ +gboolean helper_validate_font ( PangoFontDescription *pfd, const char *font ); #endif // ROFI_HELPER_H |