summaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2023-01-25 21:35:57 +0900
committerAkira TAGOH <akira@tagoh.org>2023-01-25 23:04:35 +0900
commitb54b98bb21acac0f3061e6db859fbf3c6a134658 (patch)
treea9d69c25854d6972b4401781abbcc65e10a39241 /fontconfig
parent92f093a4c493dc93958ef750a6d66ad9b1ad68d4 (diff)
downloadfontconfig-b54b98bb21acac0f3061e6db859fbf3c6a134658.tar.gz
Add some missing constant names for weight.
Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/-/issues/348
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/fontconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fontconfig/fontconfig.h b/fontconfig/fontconfig.h
index 15c1b95..bb258a4 100644
--- a/fontconfig/fontconfig.h
+++ b/fontconfig/fontconfig.h
@@ -843,6 +843,9 @@ FcNameUnregisterConstants (const FcConstant *consts, int nconsts);
FcPublic const FcConstant *
FcNameGetConstant (const FcChar8 *string);
+FcPublic const FcConstant *
+FcNameGetConstantFor (const FcChar8 *string, const char *object);
+
FcPublic FcBool
FcNameConstant (const FcChar8 *string, int *result);