summaryrefslogtreecommitdiff
path: root/pango/pango-item.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-02 23:21:48 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-02 23:21:48 +0000
commite3eee491d7434dda314b78fad127880943d9c1ba (patch)
treeaac65921f24f0f2846c73f048c660e284a93d95d /pango/pango-item.c
parent86c5228a67df1d3028439fa1b97310e613e36fee (diff)
downloadpango-e3eee491d7434dda314b78fad127880943d9c1ba.tar.gz
Fix letter-spacing with justification. We now distribute letter-spacing
2007-05-02 Behdad Esfahbod <behdad@gnome.org> * pango/pango-glyph-item.c (pango_glyph_item_letter_space): * pango/pango-item.c (pango_item_split): * pango/pango-layout.c (distribute_letter_spacing), (shape_run), (debug), (process_item), (process_line), (pad_glyphstring_right), (pad_glyphstring_left), (zero_line_final_space), (adjust_line_letter_spacing), (pango_layout_line_postprocess): Fix letter-spacing with justification. We now distribute letter-spacing equally on both sides of clusters, instead of putting it all on one side. svn path=/trunk/; revision=2253
Diffstat (limited to 'pango/pango-item.c')
-rw-r--r--pango/pango-item.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pango/pango-item.c b/pango/pango-item.c
index 177d60d0..4ad76eee 100644
--- a/pango/pango-item.c
+++ b/pango/pango-item.c
@@ -137,7 +137,6 @@ pango_item_split (PangoItem *orig,
PangoItem *new_item;
g_return_val_if_fail (orig != NULL, NULL);
- g_return_val_if_fail (orig->length > 0, NULL);
g_return_val_if_fail (split_index > 0, NULL);
g_return_val_if_fail (split_index < orig->length, NULL);
g_return_val_if_fail (split_offset > 0, NULL);