summaryrefslogtreecommitdiff
path: root/src/fcdbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fcdbg.c')
-rw-r--r--src/fcdbg.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/fcdbg.c b/src/fcdbg.c
index 2e16a312..fec8e436 100644
--- a/src/fcdbg.c
+++ b/src/fcdbg.c
@@ -151,6 +151,20 @@ FcLangSetPrint (const FcLangSet *ls)
}
void
+FcScriptSetPrint (const FcScriptSet *ss)
+{
+ FcStrBuf buf;
+ FcChar8 init_buf[1024];
+
+ FcStrBufInit (&buf, init_buf, sizeof (init_buf));
+ if (FcNameUnparseScriptSet (&buf, ss) && FcStrBufChar (&buf, '\0'))
+ printf ("%s", buf.buf);
+ else
+ printf ("scriptset (alloc error)");
+ FcStrBufDestroy (&buf);
+}
+
+void
FcCharSetPrint (const FcCharSet *c)
{
int i, j;