summaryrefslogtreecommitdiff
path: root/src/fcint.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-01 20:25:21 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-02 23:12:53 -0700
commit4e21e6f6e6381420b4559cf1c530ec9060ddeb21 (patch)
treef835c07c74e1e6db6683a4d13df5eeeeda98a476 /src/fcint.h
parent2a5ea80023657724e3e6ba629d828ab5e33bdb70 (diff)
downloadfontconfig-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.h3
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);