summaryrefslogtreecommitdiff
path: root/pango/pangoft2.c
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 /pango/pangoft2.c
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 'pango/pangoft2.c')
-rw-r--r--pango/pangoft2.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pangoft2.c b/pango/pangoft2.c
index d6833e06..5430c323 100644
--- a/pango/pangoft2.c
+++ b/pango/pangoft2.c
@@ -178,7 +178,7 @@ pango_ft2_font_get_face (PangoFont *font)
if (G_UNLIKELY (!PANGO_FT2_IS_FONT (font)))
{
if (!_pango_ft2_warning_history.get_face)
- {
+ {
_pango_ft2_warning_history.get_face = TRUE;
g_warning ("pango_ft2_font_get_face called with bad font, expect ugly output");
}
@@ -193,29 +193,29 @@ pango_ft2_font_get_face (PangoFont *font)
/* disable antialiasing if requested */
if (FcPatternGetBool (pattern,
- FC_ANTIALIAS, 0, &antialias) != FcResultMatch)
+ FC_ANTIALIAS, 0, &antialias) != FcResultMatch)
antialias = FcTrue;
if (antialias)
- ft2font->load_flags |= FT_LOAD_NO_BITMAP;
+ ft2font->load_flags |= FT_LOAD_NO_BITMAP;
else
ft2font->load_flags |= FT_LOAD_TARGET_MONO;
/* disable hinting if requested */
if (FcPatternGetBool (pattern,
- FC_HINTING, 0, &hinting) != FcResultMatch)
+ FC_HINTING, 0, &hinting) != FcResultMatch)
hinting = FcTrue;
if (!hinting)
- ft2font->load_flags |= FT_LOAD_NO_HINTING;
+ ft2font->load_flags |= FT_LOAD_NO_HINTING;
/* force autohinting if requested */
if (FcPatternGetBool (pattern,
- FC_AUTOHINT, 0, &autohint) != FcResultMatch)
+ FC_AUTOHINT, 0, &autohint) != FcResultMatch)
autohint = FcFalse;
if (autohint)
- ft2font->load_flags |= FT_LOAD_FORCE_AUTOHINT;
+ ft2font->load_flags |= FT_LOAD_FORCE_AUTOHINT;
if (FcPatternGetString (pattern, FC_FILE, 0, &filename) != FcResultMatch)
goto bail0;
@@ -320,7 +320,7 @@ pango_ft2_font_get_glyph_extents (PangoFont *font,
{
glyph = pango_ft2_get_unknown_glyph (font);
if (glyph == PANGO_GLYPH_EMPTY)
- {
+ {
/* No unknown glyph found for the font, draw a box */
PangoFontMetrics *metrics = pango_font_get_metrics (font, NULL);
@@ -530,7 +530,7 @@ _pango_ft2_ft_strerror (FT_Error error)
static char *default_msg = NULL;
if (!default_msg)
- default_msg = g_malloc (60);
+ default_msg = g_malloc (60);
g_sprintf (default_msg, "Unknown FreeType2 error %#x", error);
return default_msg;