summaryrefslogtreecommitdiff
path: root/modules/basic
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 20:20:35 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 20:20:35 +0000
commita0225fbf560de93c7b41acf9dbf01c9d99173af9 (patch)
treebb8f58010c8801a27545728393253b6c4722c6c4 /modules/basic
parent0ee36da9691c2311d2134fd61f222ea3bed5827e (diff)
downloadpango-a0225fbf560de93c7b41acf9dbf01c9d99173af9.tar.gz
*.c, *.h: Replace preceding sequences of 8 spaces with tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Replace preceding sequences of 8 spaces with tabs. svn path=/trunk/; revision=2165
Diffstat (limited to 'modules/basic')
-rw-r--r--modules/basic/basic-fc.c58
-rw-r--r--modules/basic/basic-x.c4
2 files changed, 31 insertions, 31 deletions
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 0dcdbbd2..a4592253 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -174,9 +174,9 @@ fallback_shape (PangoEngineShape *engine,
index = pango_fc_font_get_glyph (fc_font, wc);
if (!index)
- {
+ {
index = PANGO_GET_UNKNOWN_GLYPH ( wc);
- set_glyph (font, glyphs, i, p - text, index);
+ set_glyph (font, glyphs, i, p - text, index);
}
else
{
@@ -262,38 +262,38 @@ get_ruleset (FT_Face face)
for (i = 0; i < G_N_ELEMENTS (scripts); i++)
{
- PangoOTTag script_tag = FT_MAKE_TAG (scripts[i][0], scripts[i][1], scripts[i][2], scripts[i][3]);
- guint script_index;
+ PangoOTTag script_tag = FT_MAKE_TAG (scripts[i][0], scripts[i][1], scripts[i][2], scripts[i][3]);
+ guint script_index;
- if (pango_ot_info_find_script (info, PANGO_OT_TABLE_GPOS, script_tag, &script_index))
- for (j = 0; j < G_N_ELEMENTS (gpos_features); j++)
+ if (pango_ot_info_find_script (info, PANGO_OT_TABLE_GPOS, script_tag, &script_index))
+ for (j = 0; j < G_N_ELEMENTS (gpos_features); j++)
{
- PangoOTTag feature_tag = FT_MAKE_TAG (gpos_features[j][0], gpos_features[j][1],
- gpos_features[j][2], gpos_features[j][3]);
- guint feature_index;
-
- /* 0xffff means default language */
- if (pango_ot_info_find_feature (info, PANGO_OT_TABLE_GPOS, feature_tag, script_index, 0xffff,&feature_index))
- {
- pango_ot_ruleset_add_feature (ruleset, PANGO_OT_TABLE_GPOS, feature_index, 0xffff);
+ PangoOTTag feature_tag = FT_MAKE_TAG (gpos_features[j][0], gpos_features[j][1],
+ gpos_features[j][2], gpos_features[j][3]);
+ guint feature_index;
+
+ /* 0xffff means default language */
+ if (pango_ot_info_find_feature (info, PANGO_OT_TABLE_GPOS, feature_tag, script_index, 0xffff,&feature_index))
+ {
+ pango_ot_ruleset_add_feature (ruleset, PANGO_OT_TABLE_GPOS, feature_index, 0xffff);
}
}
- if (pango_ot_info_find_script (info, PANGO_OT_TABLE_GSUB, script_tag, &script_index))
- for (j = 0; j < G_N_ELEMENTS (gsub_features); j++)
- {
- PangoOTTag feature_tag = FT_MAKE_TAG (gsub_features[j][0], gsub_features[j][1],
- gsub_features[j][2], gsub_features[j][3]);
- guint feature_index;
-
- /* 0xffff means default language */
- if (pango_ot_info_find_feature (info, PANGO_OT_TABLE_GSUB, feature_tag,
- script_index, 0xffff, &feature_index))
- {
- pango_ot_ruleset_add_feature (ruleset, PANGO_OT_TABLE_GSUB, feature_index, 0xffff);
- }
- }
+ if (pango_ot_info_find_script (info, PANGO_OT_TABLE_GSUB, script_tag, &script_index))
+ for (j = 0; j < G_N_ELEMENTS (gsub_features); j++)
+ {
+ PangoOTTag feature_tag = FT_MAKE_TAG (gsub_features[j][0], gsub_features[j][1],
+ gsub_features[j][2], gsub_features[j][3]);
+ guint feature_index;
+
+ /* 0xffff means default language */
+ if (pango_ot_info_find_feature (info, PANGO_OT_TABLE_GSUB, feature_tag,
+ script_index, 0xffff, &feature_index))
+ {
+ pango_ot_ruleset_add_feature (ruleset, PANGO_OT_TABLE_GSUB, feature_index, 0xffff);
+ }
+ }
}
g_object_set_qdata_full (G_OBJECT (info), ruleset_quark, ruleset, (GDestroyNotify) g_object_unref);
@@ -375,7 +375,7 @@ basic_engine_shape (PangoEngineShape *engine,
pango_ot_buffer_add_glyph (buffer, PANGO_GLYPH_EMPTY, unknown_property, p - text);
}
else
- {
+ {
index = pango_fc_font_get_glyph (fc_font, wc);
if (!index)
diff --git a/modules/basic/basic-x.c b/modules/basic/basic-x.c
index 31784f97..fe5ad75c 100644
--- a/modules/basic/basic-x.c
+++ b/modules/basic/basic-x.c
@@ -372,8 +372,8 @@ conv_16bit (CharCache *cache,
static PangoGlyph
conv_16bit_MSB_on (CharCache *cache,
- GIConv cd,
- const char *input)
+ GIConv cd,
+ const char *input)
{
char outbuf[2];