[Fontconfig] [PATCH] Generate documentation for FcWeight* functions.

Nick Alcock nick.alcock at oracle.com
Sat Dec 13 10:21:16 PST 2014

The SGML for these functions exists, and they are named as manpages,
but because they are not mentioned in fontconfig-devel.sgml, no
documentation is ever generated, and installation under --enable-docs

(The documentation I have written in fontconfig-devel.sgml is boilerplate
so I can get the manpages generated. It's probably wrong.)
 doc/fontconfig-devel.sgml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/fontconfig-devel.sgml b/doc/fontconfig-devel.sgml
index 2b1122f..760a03c 100644
--- a/doc/fontconfig-devel.sgml
+++ b/doc/fontconfig-devel.sgml
@@ -20,6 +20,7 @@
 <!ENTITY fcstring SYSTEM "fcstring.sgml">
 <!ENTITY fcstrset SYSTEM "fcstrset.sgml">
 <!ENTITY fcvalue SYSTEM "fcvalue.sgml">
+<!ENTITY fcweight SYSTEM "fcweight.sgml">
 <!ENTITY version SYSTEM "version.sgml">
@@ -536,6 +537,12 @@ Provides for application-specified symbolic constants for font names.
+  <sect2><title>FcWeight</title>
+    <para>
+Maps weights to and from OpenType weights.
+    </para>
+  &fcweight;
+  </sect2>
 An FcBlanks object holds a list of Unicode chars which are expected to

More information about the Fontconfig mailing list