summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-10 21:52:42 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-10 21:52:42 +0000
commit04292a4826a9df65e2676939d4aa19663264375f (patch)
tree1fd1fb624c05e984124785309590a6e7f9e4e63f
parent39020afd138dec6db0750bf29e4c4fae15aae229 (diff)
downloadpango-04292a4826a9df65e2676939d4aa19663264375f.tar.gz
Bug 416515 – Time is not aligned with date on vertical panel
2007-05-08 Behdad Esfahbod <behdad@gnome.org> Bug 416515 – Time is not aligned with date on vertical panel * pango/pango-context.c (itemize_state_init), (itemize_state_update_for_new_run): centered_baseline should only be set from context->resolved_gravity and never changed through markup. This means that pango_context_set_base_gravity has no equivalent markup. Doesn't sound limiting to me: you need to rotate the layout to get real vertical, so it's not just a matter of markup anyway. At least not at this point. svn path=/branches/pango-1-16/; revision=2279
-rw-r--r--ChangeLog12
-rw-r--r--pango/pango-context.c5
2 files changed, 13 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 84f1595c..4d91a49f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2007-05-08 Behdad Esfahbod <behdad@gnome.org>
+
+ Bug 416515 – Time is not aligned with date on vertical panel
+
+ * pango/pango-context.c (itemize_state_init),
+ (itemize_state_update_for_new_run): centered_baseline should only
+ be set from context->resolved_gravity and never changed through
+ markup. This means that pango_context_set_base_gravity has no
+ equivalent markup. Doesn't sound limiting to me: you need to rotate
+ the layout to get real vertical, so it's not just a matter of markup
+ anyway. At least not at this point.
+
2007-05-07 Behdad Esfahbod <behdad@gnome.org>
Bug 436154 – Error building the pango.modules file while cross
diff --git a/pango/pango-context.c b/pango/pango-context.c
index ff667b14..906b1aee 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -1013,7 +1013,6 @@ itemize_state_add_character (ItemizeState *state,
state->item->analysis.flags = state->centered_baseline ? PANGO_ANALYSIS_FLAG_CENTERED_BASELINE : 0;
- state->item->analysis.script = state->script;
state->item->analysis.language = state->derived_lang;
if (state->copy_extra_attrs)
@@ -1389,9 +1388,7 @@ itemize_state_finish (ItemizeState *state)
* computing bidirectional levels (see pango_context_set_base_dir ()),
* is specified explicitly rather than gotten from the #PangoContext.
*
- * Return value: a #GList of #PangoItem structures. The items should be
- * freed using pango_item_free() probably in combination with g_list_foreach(),
- * and the list itself using g_list_free().
+ * Return value: a #GList of #PangoItem structures.
*
* Since: 1.4
*/