summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/arabic/arabic-fc.c8
-rw-r--r--modules/basic/basic-fc.c8
-rw-r--r--modules/basic/basic-x.c2
-rw-r--r--modules/hangul/hangul-fc.c2
-rw-r--r--modules/hebrew/hebrew-fc.c5
-rw-r--r--modules/indic/indic-fc.c2
-rw-r--r--modules/khmer/khmer-fc.c2
-rw-r--r--modules/syriac/syriac-fc.c2
-rw-r--r--modules/thai/thai-fc.c2
-rw-r--r--modules/tibetan/tibetan-fc.c2
10 files changed, 10 insertions, 25 deletions
diff --git a/modules/arabic/arabic-fc.c b/modules/arabic/arabic-fc.c
index e6fc5ef4..260d1096 100644
--- a/modules/arabic/arabic-fc.c
+++ b/modules/arabic/arabic-fc.c
@@ -193,18 +193,15 @@ fallback_shape (PangoEngineShape *engine,
gunichar mirrored_ch;
PangoGlyph index;
char buf[6];
- const char *input;
wc = g_utf8_get_char (p);
- input = p;
if (analysis->level % 2)
if (pango_get_mirror_char (wc, &mirrored_ch))
{
wc = mirrored_ch;
g_unichar_to_utf8 (wc, buf);
- input = buf;
}
if (pango_is_zero_width (wc))
@@ -302,18 +299,15 @@ arabic_engine_shape (PangoEngineShape *engine,
gunichar mirrored_ch;
PangoGlyph index;
char buf[6];
- const char *input;
wc = g_utf8_get_char (p);
- input = p;
if (analysis->level % 2)
if (pango_get_mirror_char (wc, &mirrored_ch))
{
wc = mirrored_ch;
g_unichar_to_utf8 (wc, buf);
- input = buf;
}
if (pango_is_zero_width (wc)) /* Zero-width characters */
@@ -370,7 +364,7 @@ arabic_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (ArabicEngineFc, arabic_engine_fc,
- arabic_engine_fc_class_init, NULL);
+ arabic_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 626608be..08776f3b 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -147,18 +147,15 @@ fallback_shape (PangoEngineShape *engine,
gunichar mirrored_ch;
PangoGlyph index;
char buf[6];
- const char *input;
wc = g_utf8_get_char (p);
- input = p;
if (analysis->level % 2)
if (pango_get_mirror_char (wc, &mirrored_ch))
{
wc = mirrored_ch;
g_unichar_to_utf8 (wc, buf);
- input = buf;
}
if (wc == 0xa0) /* non-break-space */
@@ -368,17 +365,14 @@ basic_engine_shape (PangoEngineShape *engine,
gunichar mirrored_ch;
PangoGlyph index;
char buf[6];
- const char *input;
wc = g_utf8_get_char (p);
- input = p;
if (analysis->level % 2)
if (pango_get_mirror_char (wc, &mirrored_ch))
{
wc = mirrored_ch;
g_unichar_to_utf8 (wc, buf);
- input = buf;
}
if (pango_is_zero_width (wc)) /* Zero-width characters */
@@ -425,7 +419,7 @@ basic_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineFc, basic_engine_fc,
- basic_engine_fc_class_init, NULL);
+ basic_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 1f23291c..70455a64 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -691,7 +691,7 @@ basic_engine_x_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineX, basic_engine_x,
- basic_engine_x_class_init, NULL);
+ basic_engine_x_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 39e0d5ba..64966648 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -397,7 +397,7 @@ hangul_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (HangulEngineFc, hangul_engine_fc,
- hangul_engine_fc_class_init, NULL);
+ hangul_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/hebrew/hebrew-fc.c b/modules/hebrew/hebrew-fc.c
index af80ed94..da776d5d 100644
--- a/modules/hebrew/hebrew-fc.c
+++ b/modules/hebrew/hebrew-fc.c
@@ -340,17 +340,14 @@ hebrew_engine_shape (PangoEngineShape *engine,
gunichar mirrored_ch;
PangoGlyph index;
char buf[6];
- const char *input;
wc = g_utf8_get_char (p);
- input = p;
if (analysis->level % 2)
if (pango_get_mirror_char (wc, &mirrored_ch))
{
wc = mirrored_ch;
g_unichar_to_utf8 (wc, buf);
- input = buf;
}
if (pango_is_zero_width (wc)) /* Zero-width characters */
@@ -396,7 +393,7 @@ hebrew_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (HebrewEngineFc, hebrew_engine_fc,
- hebrew_engine_fc_class_init, NULL);
+ hebrew_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/indic/indic-fc.c b/modules/indic/indic-fc.c
index 4947b5b5..daa2c23e 100644
--- a/modules/indic/indic-fc.c
+++ b/modules/indic/indic-fc.c
@@ -407,7 +407,7 @@ indic_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (IndicEngineFc, indic_engine_fc,
- indic_engine_fc_class_init, NULL);
+ indic_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/khmer/khmer-fc.c b/modules/khmer/khmer-fc.c
index 82541e44..82874624 100644
--- a/modules/khmer/khmer-fc.c
+++ b/modules/khmer/khmer-fc.c
@@ -741,7 +741,7 @@ khmer_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (KhmerEngineFc, khmer_engine_fc,
- khmer_engine_fc_class_init, NULL);
+ khmer_engine_fc_class_init, NULL)
void
diff --git a/modules/syriac/syriac-fc.c b/modules/syriac/syriac-fc.c
index dab11efc..51260838 100644
--- a/modules/syriac/syriac-fc.c
+++ b/modules/syriac/syriac-fc.c
@@ -344,7 +344,7 @@ syriac_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (SyriacEngineFc, syriac_engine_fc,
- syriac_engine_fc_class_init, NULL);
+ syriac_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c
index aaedbb3e..4414bd93 100644
--- a/modules/thai/thai-fc.c
+++ b/modules/thai/thai-fc.c
@@ -247,7 +247,7 @@ thai_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (ThaiEngineFc, thai_engine_fc,
- thai_engine_fc_class_init, NULL);
+ thai_engine_fc_class_init, NULL)
void
PANGO_MODULE_ENTRY(init) (GTypeModule *module)
diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c
index b4348c05..b2e12aff 100644
--- a/modules/tibetan/tibetan-fc.c
+++ b/modules/tibetan/tibetan-fc.c
@@ -597,7 +597,7 @@ tibetan_engine_fc_class_init (PangoEngineShapeClass *class)
}
PANGO_ENGINE_SHAPE_DEFINE_TYPE (TibetanEngineFc, tibetan_engine_fc,
- tibetan_engine_fc_class_init, NULL);
+ tibetan_engine_fc_class_init, NULL)
void