summaryrefslogtreecommitdiff
path: root/src/gdfonts.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-14 16:31:48 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-14 17:31:54 +0200
commit4143073c889d36caa421b9ae0d7e71ec500585e7 (patch)
treeaa147ea609d172a43760988c21125839a6a8b852 /src/gdfonts.c
parent673a644e083ad24bff13ccd8ef75f7557dd01f41 (diff)
downloadlibgd-4143073c889d36caa421b9ae0d7e71ec500585e7.tar.gz
Improve documentation of built-in fonts and their handling
Diffstat (limited to 'src/gdfonts.c')
-rw-r--r--src/gdfonts.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/gdfonts.c b/src/gdfonts.c
index f84b2ee..e184e36 100644
--- a/src/gdfonts.c
+++ b/src/gdfonts.c
@@ -7,6 +7,15 @@
No copyright info was found in the original bdf.
*/
+/**
+ * File: Small Font
+ *
+ * A small ISO-8859-2 raster font (7x13 pixels).
+ *
+ * The font is supposed to be used with <gdImageChar> and <gdImageString>
+ * and their variants.
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -3867,9 +3876,11 @@ gdFont gdFontSmallRep = {
BGD_EXPORT_DATA_PROT gdFontPtr gdFontSmall = &gdFontSmallRep;
-/*
- Function: gdFontGetSmall
-*/
+/**
+ * Function: gdFontGetSmall
+ *
+ * Returns the built-in small font.
+ */
BGD_DECLARE(gdFontPtr)
gdFontGetSmall (void)
{