diff options
author | Keith Packard <keithp@neko.keithp.com> | 2006-09-01 20:25:21 -0700 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2006-09-02 23:12:53 -0700 |
commit | 4e21e6f6e6381420b4559cf1c530ec9060ddeb21 (patch) | |
tree | f835c07c74e1e6db6683a4d13df5eeeeda98a476 /src/fcint.h | |
parent | 2a5ea80023657724e3e6ba629d828ab5e33bdb70 (diff) | |
download | fontconfig-4e21e6f6e6381420b4559cf1c530ec9060ddeb21.tar.gz |
Match 'ultra' on word boundaries to detect ultra bold fonts. (bug 2511)ultra-weight
Added FcStrContainsWord to detect strings on word boundaries.
Diffstat (limited to 'src/fcint.h')
-rw-r--r-- | src/fcint.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fcint.h b/src/fcint.h index 3b9f3c8..8e57453 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -1046,6 +1046,9 @@ FcStrContainsIgnoreBlanksAndCase (const FcChar8 *s1, const FcChar8 *s2); const FcChar8 * FcStrContainsIgnoreCase (const FcChar8 *s1, const FcChar8 *s2); +const FcChar8 * +FcStrContainsWord (const FcChar8 *s1, const FcChar8 *s2); + FcBool FcStrUsesHome (const FcChar8 *s); |