summaryrefslogtreecommitdiff
path: root/modules/arabic
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-04-05 03:59:03 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-04-05 03:59:03 +0000
commitd223764349f3aaf8179587d2ba69488de1fbc0fe (patch)
tree3c8441bdd6109979fb1ded69832ba2479e25255b /modules/arabic
parent184fac9cb3f0146684c0f141ef5d2e480859be06 (diff)
downloadpango-d223764349f3aaf8179587d2ba69488de1fbc0fe.tar.gz
Released 0.9
Tue Apr 4 22:03:42 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Released 0.9 * modules/arabic/arabic.c (find_unic_font): Keep on searching past the first iso-10646 font if the first font doesn't have the required ligatures.
Diffstat (limited to 'modules/arabic')
-rw-r--r--modules/arabic/arabic-x.c4
-rw-r--r--modules/arabic/arabic.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/modules/arabic/arabic-x.c b/modules/arabic/arabic-x.c
index 385ac217..a90561c4 100644
--- a/modules/arabic/arabic-x.c
+++ b/modules/arabic/arabic-x.c
@@ -130,18 +130,20 @@ find_unic_font (PangoFont *font,char* charsets[],PangoXSubfont* rfonts)
{
rfonts[0] = subfonts[i];
result = 2;
+ break;
}
if ( pango_x_has_glyph /* Shadda+Kasra */
(font,PANGO_X_MAKE_GLYPH(subfonts[i],0xFC62)))
{
result = 3; /* extra vowels in font, hopefully */
+ break;
}
if ( pango_x_has_glyph /* Lam-Min alone */
(font,PANGO_X_MAKE_GLYPH(subfonts[i],0xFC42)))
{
result = 4; /* extra ligatures in font, hopefully */
+ break;
}
- break;
}
}
diff --git a/modules/arabic/arabic.c b/modules/arabic/arabic.c
index 385ac217..a90561c4 100644
--- a/modules/arabic/arabic.c
+++ b/modules/arabic/arabic.c
@@ -130,18 +130,20 @@ find_unic_font (PangoFont *font,char* charsets[],PangoXSubfont* rfonts)
{
rfonts[0] = subfonts[i];
result = 2;
+ break;
}
if ( pango_x_has_glyph /* Shadda+Kasra */
(font,PANGO_X_MAKE_GLYPH(subfonts[i],0xFC62)))
{
result = 3; /* extra vowels in font, hopefully */
+ break;
}
if ( pango_x_has_glyph /* Lam-Min alone */
(font,PANGO_X_MAKE_GLYPH(subfonts[i],0xFC42)))
{
result = 4; /* extra ligatures in font, hopefully */
+ break;
}
- break;
}
}