summaryrefslogtreecommitdiff
path: root/modules/arabic/mulefont.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-05-01 15:59:31 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-05-01 15:59:31 +0000
commite8d1572afdbc2612206a1942d72fe0e4d95ec632 (patch)
tree0769c1a5981f2a76c144fa538a7cdcdcb1ede6fe /modules/arabic/mulefont.c
parent5d64ddbc5e3f1b799ba67170aac180122d14dc21 (diff)
downloadpango-e8d1572afdbc2612206a1942d72fe0e4d95ec632.tar.gz
Misc bug fixes from Karl Koehler.
Mon May 1 11:58:55 2000 Owen Taylor <otaylor@redhat.com> * modules/arabic/*: Misc bug fixes from Karl Koehler.
Diffstat (limited to 'modules/arabic/mulefont.c')
-rw-r--r--modules/arabic/mulefont.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/arabic/mulefont.c b/modules/arabic/mulefont.c
index edb440a8..e087ce0d 100644
--- a/modules/arabic/mulefont.c
+++ b/modules/arabic/mulefont.c
@@ -247,11 +247,15 @@ arabic_mule_recode(PangoXSubfont* subfont,int* glyph,PangoXSubfont* mulefonts)
*subfont = mulefonts[charmap[0].fontindex];
*glyph = charmap[0].charindex;
}
+ else if (letter == 0x61F)
+ { /* question mark */
+ *subfont = mulefonts[1];
+ *glyph = 0x29;
+ }
else
{
- *subfont = mulefonts[charmap[1].fontindex];
- *glyph = 0x20; /* we don't have this thing -- use a space */
- /* This has to be something that does not print anything !! */
+ *subfont = mulefonts[1];
+ *glyph = 0x26; /* we don't have this thing -- use a dot */
}
}