summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-11-29 23:02:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-11-29 23:02:07 +0000
commit801b3b6e17fe50fd8b18e779e43a5d87aa10a3a6 (patch)
tree2c1e72119efa82622d7654e1ca3e4f35062d2b11
parent14602ede735d3f94503e6e2a39a969b22dc01bd9 (diff)
downloadpango-801b3b6e17fe50fd8b18e779e43a5d87aa10a3a6.tar.gz
Documentation updates.
* pango/pango-fontset.c: Documentation updates.
-rw-r--r--ChangeLog4
-rw-r--r--ChangeLog.pre-1-04
-rw-r--r--ChangeLog.pre-1-104
-rw-r--r--ChangeLog.pre-1-24
-rw-r--r--ChangeLog.pre-1-44
-rw-r--r--ChangeLog.pre-1-64
-rw-r--r--ChangeLog.pre-1-84
-rw-r--r--pango/pango-fontset.c21
8 files changed, 49 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 80353d12..29828001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-0
+++ b/ChangeLog.pre-1-0
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-2
+++ b/ChangeLog.pre-1-2
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-4
+++ b/ChangeLog.pre-1-4
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index 80353d12..29828001 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,7 @@
+2001-11-29 Matthias Clasen <matthiasc@poet.de>
+
+ * pango/pango-fontset.c: Documentation updates.
+
Thu Nov 29 11:40:51 2001 Owen Taylor <otaylor@redhat.com>
* examples/viewer-qt.cc: Include qpainter.h - apparently
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index 69f8003c..cf75ea29 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -197,6 +197,13 @@ struct _PangoFontsetSimpleClass
static PangoFontsetClass *simple_parent_class; /* Parent class structure for PangoFontsetSimple */
+/**
+ * pango_fontset_simple_new:
+ * @language: a #PangoLanguage tag
+ * @returns: a newly-allocated #PangoFontsetSimple.
+ *
+ * Creates a new #PangoFontsetSimple for the given language.
+ **/
PangoFontsetSimple *
pango_fontset_simple_new (PangoLanguage *language)
{
@@ -282,6 +289,13 @@ pango_fontset_simple_finalize (GObject *object)
G_OBJECT_CLASS (simple_parent_class)->finalize (object);
}
+/**
+ * pango_fontset_simple_append:
+ * @fontset: a #PangoFontsetSimple.
+ * @font: a #PangoFont.
+ *
+ * Adds a font to the fontset.
+ **/
void
pango_fontset_simple_append (PangoFontsetSimple *fontset,
PangoFont *font)
@@ -290,6 +304,13 @@ pango_fontset_simple_append (PangoFontsetSimple *fontset,
g_ptr_array_add (fontset->coverages, NULL);
}
+/**
+ * pango_fontset_simple_size:
+ * @fontset: a #PangoFontsetSimple.
+ * @returns: the size of @fontset.
+ *
+ * Returns the number of fonts in the fontset.
+ **/
int
pango_fontset_simple_size (PangoFontsetSimple *fontset)
{