diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 20:26:43 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 20:26:43 +0000 |
commit | 5d65122f8a714e04b05c52947cedaab090345d37 (patch) | |
tree | e807128ae4900c94205fa840c17bb55f4680a1aa /modules | |
parent | a0225fbf560de93c7b41acf9dbf01c9d99173af9 (diff) | |
download | pango-5d65122f8a714e04b05c52947cedaab090345d37.tar.gz |
*.c, *.h: Removed spaces followed b tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org>
*.c, *.h: Removed spaces followed b tabs.
svn path=/trunk/; revision=2166
Diffstat (limited to 'modules')
-rw-r--r-- | modules/indic/indic-ot.c | 4 | ||||
-rw-r--r-- | modules/indic/indic-ot.h | 2 | ||||
-rw-r--r-- | modules/syriac/syriac-ot.c | 42 | ||||
-rw-r--r-- | modules/thai/thai-ot.c | 4 | ||||
-rw-r--r-- | modules/thai/thai-shaper.c | 30 | ||||
-rw-r--r-- | modules/tibetan/tibetan-fc.c | 8 |
6 files changed, 45 insertions, 45 deletions
diff --git a/modules/indic/indic-ot.c b/modules/indic/indic-ot.c index 477c53e9..e764184c 100644 --- a/modules/indic/indic-ot.c +++ b/modules/indic/indic-ot.c @@ -265,7 +265,7 @@ glong indic_ot_reorder(const gunichar *chars, const glong *utf8_offsets, glong c last_in_word = TRUE; switch (indic_ot_get_char_class(class_table, chars[prev]) & CF_CLASS_MASK) { case CC_RESERVED: - last_in_word = FALSE; + last_in_word = FALSE; /* Fall through */ case CC_INDEPENDENT_VOWEL: case CC_ZERO_WIDTH_MARK: @@ -427,7 +427,7 @@ glong indic_ot_reorder(const gunichar *chars, const glong *utf8_offsets, glong c (chars[baseConsonant] == 0x0d30)) && ((chars[baseConsonant - 2] >= 0x0d15) && (chars[baseConsonant - 2] <= 0x0d39))) { - swapChars (&output, -1, -3); + swapChars (&output, -1, -3); if (mpreFixups) { if (mpreFixups->fFixupCount > 0) { diff --git a/modules/indic/indic-ot.h b/modules/indic/indic-ot.h index b502c679..47dd39f2 100644 --- a/modules/indic/indic-ot.h +++ b/modules/indic/indic-ot.h @@ -184,7 +184,7 @@ struct _IndicOTClassTable { gunichar firstChar; gunichar lastChar; - glong worstCaseExpansion; + glong worstCaseExpansion; IndicOTScriptFlags scriptFlags; const IndicOTCharClass *charClasses; diff --git a/modules/syriac/syriac-ot.c b/modules/syriac/syriac-ot.c index abbe856b..30995021 100644 --- a/modules/syriac/syriac-ot.c +++ b/modules/syriac/syriac-ot.c @@ -140,50 +140,50 @@ Get_Joining_Class (gunichar* string, * * R3: <causing|right|dual> && <!(0x0715|0x0716|0x072A)> |<alaph>| * - * -> [final2] + * -> [final2] * - * If the preceding glyph cannot be joined to the current - * glyph and the preceding character is not a Dalath, Rish, - * or Dotless Dalath Rish, then the Alaph takes this contextual - * position. + * If the preceding glyph cannot be joined to the current + * glyph and the preceding character is not a Dalath, Rish, + * or Dotless Dalath Rish, then the Alaph takes this contextual + * position. * - * The [final2] joining rule is placed ahead of the [final] to - * give it greater precedence when choosing the correct glyph. - * If it comes after the [final] rule, the incorrect glyph is - * inserted into position. + * The [final2] joining rule is placed ahead of the [final] to + * give it greater precedence when choosing the correct glyph. + * If it comes after the [final] rule, the incorrect glyph is + * inserted into position. * * * R4: <0x0715|0x0715|0x072A> |<alaph>| * - * -> [final3] + * -> [final3] * - * If the previous glyph is a Dalath, Rish, or Dotless Dalath - * Rish, then the Alaph takes this contextual position. + * If the previous glyph is a Dalath, Rish, or Dotless Dalath + * Rish, then the Alaph takes this contextual position. * - * The [final3] joining rule is placed ahead of the [final] to - * give it greater precedence when choosing the correct glyph. - * If it comes after the [final] rule, the incorrect glyph is - * inserted into position. + * The [final3] joining rule is placed ahead of the [final] to + * give it greater precedence when choosing the correct glyph. + * If it comes after the [final] rule, the incorrect glyph is + * inserted into position. * * * R5: <causing|right|dual> |<right>| * - * -> [final] + * -> [final] * * * R6: <causing|right|dual> |<dual>| <!(causing|right|dual)> * - * -> [final] + * -> [final] * * * R7: <causing|left|dual> |<dual>| <causing|right|dual> * - * -> [medial] + * -> [medial] * * * R8: <causing|right> |<alaph>| <causing|right|dual> * - * -> [medial2] + * -> [medial2] * * If the Alaph glyph falls in the middle of a Syriac word and * the preceding character cannot be joined to, then the Alaph @@ -192,7 +192,7 @@ Get_Joining_Class (gunichar* string, * * R9: |<left>| <causing|right|dual> * - * -> [initial] + * -> [initial] * * * R10: <!(causing|left|dual)> |<dual>| <causing|right|dual> diff --git a/modules/thai/thai-ot.c b/modules/thai/thai-ot.c index b6866321..e17cefd5 100644 --- a/modules/thai/thai-ot.c +++ b/modules/thai/thai-ot.c @@ -123,7 +123,7 @@ thai_ot_get_ruleset (PangoFont *font) if (n > 0) g_object_set_qdata_full (G_OBJECT (info), ruleset_quark, ruleset, - (GDestroyNotify)g_object_unref); + (GDestroyNotify)g_object_unref); else { g_object_unref (ruleset); @@ -196,7 +196,7 @@ lao_ot_get_ruleset (PangoFont *font) if (n > 0) g_object_set_qdata_full (G_OBJECT (info), ruleset_quark, ruleset, - (GDestroyNotify)g_object_unref); + (GDestroyNotify)g_object_unref); else { g_object_unref (ruleset); diff --git a/modules/thai/thai-shaper.c b/modules/thai/thai-shaper.c index 6d65a3b4..91cdbf89 100644 --- a/modules/thai/thai-shaper.c +++ b/modules/thai/thai-shaper.c @@ -193,7 +193,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, return 3; } else if (is_char_type (cluster[0], UpTailCons) && - is_char_type (cluster[1], SaraAm)) + is_char_type (cluster[1], SaraAm)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); @@ -203,7 +203,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, return 3; } else if (is_char_type (cluster[0], NoTailCons|BotTailCons|SpltTailCons) && - is_char_type (cluster[1], AboveVowel)) + is_char_type (cluster[1], AboveVowel)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); @@ -212,25 +212,25 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, return 2; } else if (is_char_type (cluster[0], NoTailCons|BotTailCons|SpltTailCons) && - is_char_type (cluster[1], AboveDiac|Tone)) + is_char_type (cluster[1], AboveDiac|Tone)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); glyph_lists[1] = thai_make_glyph_tis (font_info, - shiftdown_tone_ad (ucs2tis (cluster[1]), shaping_table)); + shiftdown_tone_ad (ucs2tis (cluster[1]), shaping_table)); return 2; } else if (is_char_type (cluster[0], UpTailCons) && - is_char_type (cluster[1], AboveVowel)) + is_char_type (cluster[1], AboveVowel)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); glyph_lists[1] = thai_make_glyph_tis (font_info, - shiftleft_av (ucs2tis (cluster[1]), shaping_table)); + shiftleft_av (ucs2tis (cluster[1]), shaping_table)); return 2; } else if (is_char_type (cluster[0], UpTailCons) && - is_char_type (cluster[1], AboveDiac|Tone)) + is_char_type (cluster[1], AboveDiac|Tone)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); @@ -239,7 +239,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, return 2; } else if (is_char_type (cluster[0], NoTailCons|UpTailCons) && - is_char_type (cluster[1], BelowVowel|BelowDiac)) + is_char_type (cluster[1], BelowVowel|BelowDiac)) { glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); @@ -258,10 +258,10 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, return 2; } else if (is_char_type (cluster[0], SpltTailCons) && - is_char_type (cluster[1], BelowVowel|BelowDiac)) + is_char_type (cluster[1], BelowVowel|BelowDiac)) { glyph_lists[0] = thai_make_glyph_tis (font_info, - tailcutcons (ucs2tis (cluster[0]), shaping_table)); + tailcutcons (ucs2tis (cluster[0]), shaping_table)); glyph_lists[1] = thai_make_glyph_tis (font_info, ucs2tis (cluster[1])); return 2; @@ -301,7 +301,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, glyph_lists[1] = thai_make_glyph_tis (font_info, shiftleft_tone_ad (shaping_table->AmComp[0], shaping_table)); glyph_lists[2] = thai_make_glyph_tis (font_info, - shiftleft_tone_ad (ucs2tis (cluster[1]), shaping_table)); + shiftleft_tone_ad (ucs2tis (cluster[1]), shaping_table)); glyph_lists[3] = thai_make_glyph_tis (font_info, shaping_table->AmComp[1]); return 4; } @@ -314,7 +314,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, glyph_lists[1] = thai_make_glyph_tis (font_info, shiftleft_av (ucs2tis (cluster[1]), shaping_table)); glyph_lists[2] = thai_make_glyph_tis (font_info, - shiftleft_tone_ad (ucs2tis (cluster[2]), shaping_table)); + shiftleft_tone_ad (ucs2tis (cluster[2]), shaping_table)); return 3; } else if (is_char_type (cluster[0], UpTailCons) && @@ -347,11 +347,11 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, is_char_type (cluster[2], AboveDiac|Tone)) { glyph_lists[0] = thai_make_glyph_tis (font_info, - tailcutcons (ucs2tis (cluster[0]), shaping_table)); + tailcutcons (ucs2tis (cluster[0]), shaping_table)); glyph_lists[1] = thai_make_glyph_tis (font_info, ucs2tis (cluster[1])); glyph_lists[2] = thai_make_glyph_tis (font_info, - shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table)); + shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table)); return 3; } else if (is_char_type (cluster[0], BotTailCons) && @@ -361,7 +361,7 @@ get_adjusted_glyphs_list (ThaiFontInfo *font_info, glyph_lists[0] = thai_make_glyph_tis (font_info, ucs2tis (cluster[0])); glyph_lists[1] = thai_make_glyph_tis (font_info, - shiftdown_bv_bd (ucs2tis (cluster[1]), shaping_table)); + shiftdown_bv_bd (ucs2tis (cluster[1]), shaping_table)); glyph_lists[2] = thai_make_glyph_tis (font_info, shiftdown_tone_ad (ucs2tis (cluster[2]), shaping_table)); return 3; diff --git a/modules/tibetan/tibetan-fc.c b/modules/tibetan/tibetan-fc.c index ff773b0f..dfb68820 100644 --- a/modules/tibetan/tibetan-fc.c +++ b/modules/tibetan/tibetan-fc.c @@ -543,10 +543,10 @@ tibetan_engine_shape (PangoEngineShape *engine, if ((charClass & CF_DIGIT ) && ( get_char_class (wcs[i+1]) & CF_PREDIGIT)) { - pango_ot_buffer_add_glyph (buffer, get_index (fc_font, C_PRE_NUMBER_MARK), pref_p, p - text); - p = g_utf8_next_char (p); - pango_ot_buffer_add_glyph (buffer, get_index (fc_font, wcs[i]), pref_p, p - text); - i += 1; + pango_ot_buffer_add_glyph (buffer, get_index (fc_font, C_PRE_NUMBER_MARK), pref_p, p - text); + p = g_utf8_next_char (p); + pango_ot_buffer_add_glyph (buffer, get_index (fc_font, wcs[i]), pref_p, p - text); + i += 1; } else { switch (charClass & CF_POS_MASK) { |