summaryrefslogtreecommitdiff
path: root/modules/arabic/arabic-fc.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arabic/arabic-fc.c')
-rw-r--r--modules/arabic/arabic-fc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index fd425d2e..d3e2fcd9 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -35,9 +35,8 @@ typedef PangoEngineShapeClass ArabicEngineFcClass ;
#define SCRIPT_ENGINE_NAME "ArabicScriptEngineFc"
#define RENDER_TYPE PANGO_RENDER_TYPE_FC
-static PangoEngineRange arabic_ranges[] = {
- /* Language characters */
- { 0x060c, 0x06f9, "*" }, /* Arabic */
+static PangoEngineScriptInfo arabic_scripts[] = {
+ { PANGO_SCRIPT_ARABIC, "*" },
};
static PangoEngineInfo script_engines[] = {
@@ -45,7 +44,7 @@ static PangoEngineInfo script_engines[] = {
SCRIPT_ENGINE_NAME,
PANGO_ENGINE_TYPE_SHAPE,
RENDER_TYPE,
- arabic_ranges, G_N_ELEMENTS(arabic_ranges)
+ arabic_scripts, G_N_ELEMENTS(arabic_scripts)
}
};