diff options
author | Havoc Pennington <hp@redhat.com> | 2001-10-03 20:29:55 +0000 |
---|---|---|
committer | Havoc Pennington <hp@src.gnome.org> | 2001-10-03 20:29:55 +0000 |
commit | 07458e1e02c9a2b935d2dae3c2f9b59b330a77f5 (patch) | |
tree | d3865a496c6095ea714c1e175b00412c6d83b6be /modules/hebrew | |
parent | fcb2ec7803e96f6dc0f859cebc004dcc75584c89 (diff) | |
download | pango-07458e1e02c9a2b935d2dae3c2f9b59b330a77f5.tar.gz |
require one more log attr in the buffer passed in, to account for the end
2001-10-03 Havoc Pennington <hp@redhat.com>
* pango/break.c (pango_break)
(pango_default_break) (pango_get_log_attrs): require one more
log attr in the buffer passed in, to account for the end position
(pango_default_break): allow length of -1
* pango/pango-engine.h (struct _PangoEngineLang): change
script_break virtual function to match pango_break
* pango/pango-layout.c (get_items_log_attrs): update pango_break usage
Diffstat (limited to 'modules/hebrew')
-rw-r--r-- | modules/hebrew/hebrew-x.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/hebrew/hebrew-x.c b/modules/hebrew/hebrew-x.c index 26f16d5b..8d47df13 100644 --- a/modules/hebrew/hebrew-x.c +++ b/modules/hebrew/hebrew-x.c @@ -672,11 +672,11 @@ swap_range (PangoGlyphString *glyphs, int start, int end) } static void -hebrew_engine_shape (PangoFont *font, - const char *text, - gint length, - PangoAnalysis *analysis, - PangoGlyphString *glyphs) +hebrew_engine_shape (PangoFont *font, + const char *text, + gint length, + PangoAnalysis *analysis, + PangoGlyphString *glyphs) { HebrewFontInfo *font_info; const char *p; @@ -720,8 +720,8 @@ hebrew_engine_shape (PangoFont *font, } static PangoCoverage * -hebrew_engine_get_coverage (PangoFont *font, - const char *lang) +hebrew_engine_get_coverage (PangoFont *font, + const char *lang) { PangoCoverage *result = pango_coverage_new (); |