summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-15 13:03:04 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-15 13:03:04 +0000
commit7101c5c12a1c0d1b3e28a5cdf0849a6d16d1f9c6 (patch)
tree5d867f7ca5e6612fe90ad6725972e256be01479d /docs
parent8de44f9dc7712a7ce258b70a7b8283b3ebca094e (diff)
downloadpango-7101c5c12a1c0d1b3e28a5cdf0849a6d16d1f9c6.tar.gz
Oops. Exchange west<->east and north<->south gravities. The gravity is the
2006-08-15 Behdad Esfahbod <behdad@gnome.org> * docs/pango-sections.txt: * docs/tmpl/main.sgml: * examples/renderdemo.c (parse_gravity), (parse_options): * pango/pango-context.c (pango_context_init), (pango_context_get_base_gravity), (itemize_state_add_character): * pango/pango-types.h: * pango/pangocairo-fcfont.c (pango_cairo_fc_font_get_scaled_font): * pango/pangofc-fontmap.c (pango_fc_make_pattern): Oops. Exchange west<->east and north<->south gravities. The gravity is the side that the glyph sits on. So, for normal Latin text for example, gravity is south, not north.
Diffstat (limited to 'docs')
-rw-r--r--docs/pango-sections.txt1
-rw-r--r--docs/tmpl/main.sgml35
2 files changed, 36 insertions, 0 deletions
diff --git a/docs/pango-sections.txt b/docs/pango-sections.txt
index edd813eb..7364aa08 100644
--- a/docs/pango-sections.txt
+++ b/docs/pango-sections.txt
@@ -60,6 +60,7 @@ pango_shape
<SUBSECTION Private>
pango_direction_get_type
pango_context_get_type
+pango_gravity_get_type
pango_item_get_type
</SECTION>
diff --git a/docs/tmpl/main.sgml b/docs/tmpl/main.sgml
index ab47b4df..0751fc77 100644
--- a/docs/tmpl/main.sgml
+++ b/docs/tmpl/main.sgml
@@ -50,6 +50,7 @@ fields:
@lang_engine: the engine for doing rendering-system-independent processing.
@font: the font for this segment.
@level: the bidrectional level for this segment.
+@gravity: the glyph orientation for this segment.
@language: the detected language for this segment.
@extra_attrs: extra attributes for this segment.
@@ -72,6 +73,22 @@ The #GObject type for #PangoDirection.
+<!-- ##### ENUM PangoGravity ##### -->
+<para>
+</para>
+
+@PANGO_GRAVITY_SOUTH:
+@PANGO_GRAVITY_EAST:
+@PANGO_GRAVITY_NORTH:
+@PANGO_GRAVITY_WEST:
+
+<!-- ##### MACRO PANGO_TYPE_GRAVITY ##### -->
+<para>
+The #GObject type for #PangoGravity.
+</para>
+
+
+
<!-- ##### FUNCTION pango_itemize ##### -->
<para>
@@ -226,6 +243,24 @@ The #GObject type for #PangoDirection.
@direction:
+<!-- ##### FUNCTION pango_context_get_base_gravity ##### -->
+<para>
+
+</para>
+
+@context:
+@Returns:
+
+
+<!-- ##### FUNCTION pango_context_set_base_gravity ##### -->
+<para>
+
+</para>
+
+@context:
+@gravity:
+
+
<!-- ##### FUNCTION pango_context_get_matrix ##### -->
<para>