summaryrefslogtreecommitdiff
path: root/src/base/ftsynth.c
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2010-09-13 07:32:22 +0200
committerWerner Lemberg <wl@gnu.org>2010-09-13 07:32:22 +0200
commit5220ef58c5ac065bd388c6ae7685e661b8e8bc78 (patch)
tree733b964b398367dd42fe1062b220d553f34eee48 /src/base/ftsynth.c
parentfd0cdb7b9e9a9bc19c710a601c3fd870e026304b (diff)
Fix minor issues reported by <muktha.narayan@wipro.com>.
* src/autofit/aflatin.c (af_latin_compute_stem_width): Remove redundant conditional check. * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Ditto. * src/cff/cffload.c (cff_encoding_load): Remove conditional check which always evaluates to `true'. * src/pshinter/pshalgo.c (ps_glyph_interpolate_strong_points): Ditto. * src/truetype/ttinterp.c (Ins_IUP): Ditto. * src/cid/cidgload.c (cid_slot_load_glyph): Don't check for NULL if value is already dereferenced. * src/winfonts/winfnt.c (FNT_Load_Glyph): Fix check of `face'.
Diffstat (limited to 'src/base/ftsynth.c')
-rw-r--r--src/base/ftsynth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/ftsynth.c b/src/base/ftsynth.c
index ba3c633e..d4ec0da5 100644
--- a/src/base/ftsynth.c
+++ b/src/base/ftsynth.c
@@ -90,7 +90,7 @@
if ( slot->format != FT_GLYPH_FORMAT_OUTLINE &&
- slot->format != FT_GLYPH_FORMAT_BITMAP )
+ slot->format != FT_GLYPH_FORMAT_BITMAP )
return;
/* some reasonable strength */
@@ -108,7 +108,7 @@
xstr = xstr * 2;
ystr = xstr;
}
- else if ( slot->format == FT_GLYPH_FORMAT_BITMAP )
+ else /* slot->format == FT_GLYPH_FORMAT_BITMAP */
{
/* round to full pixels */
xstr &= ~63;