diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-01-16 20:20:35 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-01-16 20:20:35 +0000 |
commit | a0225fbf560de93c7b41acf9dbf01c9d99173af9 (patch) | |
tree | bb8f58010c8801a27545728393253b6c4722c6c4 /pango/pangocairo-fcfont.c | |
parent | 0ee36da9691c2311d2134fd61f222ea3bed5827e (diff) | |
download | pango-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 'pango/pangocairo-fcfont.c')
-rw-r--r-- | pango/pangocairo-fcfont.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pango/pangocairo-fcfont.c b/pango/pangocairo-fcfont.c index 6fb61fc7..65b9e038 100644 --- a/pango/pangocairo-fcfont.c +++ b/pango/pangocairo-fcfont.c @@ -100,7 +100,7 @@ pango_cairo_fc_font_get_font_face (PangoCairoFont *font) * This means out of memory or a cairo/fontconfig/FreeType bug, */ if (!cffont->font_face) - return NULL; + return NULL; } return cffont->font_face; @@ -118,7 +118,7 @@ pango_cairo_fc_font_get_scaled_font (PangoCairoFont *font) font_face = pango_cairo_fc_font_get_font_face (font); if (!font_face) - return NULL; + return NULL; cffont->scaled_font = cairo_scaled_font_create (font_face, &cffont->font_matrix, @@ -130,7 +130,7 @@ pango_cairo_fc_font_get_scaled_font (PangoCairoFont *font) * or a missing font... */ if (!cffont->scaled_font) - return NULL; + return NULL; } return cffont->scaled_font; @@ -249,7 +249,7 @@ pango_cairo_fc_font_get_metrics (PangoFont *font, } shift = (height - info->metrics->ascent) - info->metrics->descent; if (fcfont->is_hinted) - shift &= ~(PANGO_SCALE - 1); + shift &= ~(PANGO_SCALE - 1); info->metrics->descent += shift; info->metrics->underline_position -= shift; info->metrics->strikethrough_position -= shift; @@ -300,14 +300,14 @@ pango_cairo_fc_font_glyph_extents_cache_init (PangoCairoFcFont *cffont) default: case PANGO_GRAVITY_AUTO: case PANGO_GRAVITY_SOUTH: - cffont->font_extents.y = - pango_units_from_double (font_extents.ascent); + cffont->font_extents.y = - pango_units_from_double (font_extents.ascent); break; case PANGO_GRAVITY_NORTH: - cffont->font_extents.y = - pango_units_from_double (font_extents.descent); + cffont->font_extents.y = - pango_units_from_double (font_extents.descent); break; case PANGO_GRAVITY_EAST: case PANGO_GRAVITY_WEST: - cffont->font_extents.y = - pango_units_from_double ((font_extents.ascent + font_extents.descent) * 0.5); + cffont->font_extents.y = - pango_units_from_double ((font_extents.ascent + font_extents.descent) * 0.5); } cffont->glyph_extents_cache = g_new0 (GlyphExtentsCacheEntry, GLYPH_CACHE_NUM_ENTRIES); |