summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-04-24 22:25:13 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-04-24 22:25:13 +0000
commit393a6b5f9580f30f391486228791aed10f34ddb4 (patch)
tree3e3680b7f5d2f4c5de0d307102d3c8c034056b05 /modules
parent744df757571eb00e6766b450d941ccfe9b70b68f (diff)
downloadpango-393a6b5f9580f30f391486228791aed10f34ddb4.tar.gz
Come up with a reasonable guess for metrics for empty lines based on the
Mon Apr 24 18:09:29 2000 Owen Taylor <otaylor@redhat.com> * pango/pango-layout.c (pango_layout_line_get_empty_extents): Come up with a reasonable guess for metrics for empty lines based on the font metrics. * modules/devanagari/devanagari.c (devanagari_engine_shape): A couple of trivial fixups to make things compile.
Diffstat (limited to 'modules')
-rw-r--r--modules/devanagari/devanagari.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/devanagari/devanagari.c b/modules/devanagari/devanagari.c
index 3579a574..e27a0f2f 100644
--- a/modules/devanagari/devanagari.c
+++ b/modules/devanagari/devanagari.c
@@ -427,7 +427,8 @@ devanagari_engine_shape (PangoFont * font,
int lvl;
const char *p, *next;
int i;
- GUChar4 *wc, *sb;
+ GUChar4 *wc;
+ int sb;
int n_syls;
GUChar4 **syls = g_malloc (sizeof (GUChar4 **));
@@ -508,7 +509,7 @@ devanagari_engine_shape (PangoFont * font,
glyphs->glyphs[i].geometry.width = logical_rect.width;
if (wc[i] == JOINING_RA || wc[i] == ANUSWAR ||
- wc[i] == REPHA || wc[i] == VIRAMA || wc[i] == CANDRA
+ wc[i] == REPHA || wc[i] == VIRAMA || wc[i] == CANDRA ||
is_nonspacing_vowel (wc[i]))
{
if (wc[i] == VIRAMA)