From 04cd4589009fcda0b975731a07ca77ef50c7c772 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 22 Nov 2011 14:59:13 -0500 Subject: [PATCH] Make docs a bit more complete --- docs/tmpl/coretext-fonts.sgml | 40 ++++++++++++++++++++++++++++++++++++++++ docs/tmpl/text-attributes.sgml | 10 ++++------ pango/pango-tabs.c | 2 +- 3 files changed, 45 insertions(+), 7 deletions(-) create mode 100644 docs/tmpl/coretext-fonts.sgml diff --git a/docs/tmpl/coretext-fonts.sgml b/docs/tmpl/coretext-fonts.sgml new file mode 100644 index 0000000..69d5d02 --- /dev/null +++ b/docs/tmpl/coretext-fonts.sgml @@ -0,0 +1,40 @@ + +CoreText Fonts + + +Font handling with CoreText fonts + + + +The macros and functions in this section are used to access fonts natively on +OS X using the CoreText text rendering subsystem. + + + + + + + + + + + + + + + +A string constant identifying the CoreText renderer. The associated quark (see +g_quark_from_string()) is used to identify the renderer in pango_find_map(). + + + + + + + + + +@font: +@Returns: + + diff --git a/docs/tmpl/text-attributes.sgml b/docs/tmpl/text-attributes.sgml index 98158f8..d12c041 100644 --- a/docs/tmpl/text-attributes.sgml +++ b/docs/tmpl/text-attributes.sgml @@ -578,12 +578,10 @@ The #PangoColor structure is used to represent a color in an uncalibrated RGB color-space. -@red: The red component of the color. This is a value between 0 and 65535, - with 65535 indicating full intensity. -@green: The green component of the color. This is a value between 0 and 65535, - with 65535 indicating full intensity. -@blue: The blue component of the color. This is a value between 0 and 65535, - with 65535 indicating full intensity. +@red: the red component of the color. This is a value between 0 and + 65535, with 65535 indicating full intensity +@green: the green component of the color +@blue: the blue component of the color diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c index ce48817..6c4a7f3 100644 --- a/pango/pango-tabs.c +++ b/pango/pango-tabs.c @@ -103,7 +103,7 @@ pango_tab_array_new (gint initial_size, * @positions_in_pixels: whether positions are in pixel units * @first_alignment: alignment of first tab stop * @first_position: position of first tab stop - * @varargs: additional alignment/position pairs + * @...: additional alignment/position pairs * * This is a convenience function that creates a #PangoTabArray * and allows you to specify the alignment and position of each -- 2.7.4