diff options
author | Werner Lemberg <wl@gnu.org> | 2004-02-19 21:39:58 +0000 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2004-02-19 21:39:58 +0000 |
commit | c846eac112fa08a32f8d5b185734c423cd2bf47b (patch) | |
tree | 6e51f123097774c3bd16017a2926524d724e9f69 /src/smooth/ftsmooth.c | |
parent | 09370c8ce085aeeb1fa47042586b08f946601037 (diff) |
* include/freetype/freetype.h: Document FT_LOAD_TARGET_XXX properly.
* src/base/ftglyph.c (ft_bitmap_glyph_class,
ft_outline_glyph_class): Tag with FT_CALLBACK_TABLE_DEF.
* src/smooth/ftsmooth.c (ft_smooth_render): Handle
FT_RENDER_MODE_LIGHT.
Diffstat (limited to 'src/smooth/ftsmooth.c')
-rw-r--r-- | src/smooth/ftsmooth.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/smooth/ftsmooth.c b/src/smooth/ftsmooth.c index 40d5f504..af8783e2 100644 --- a/src/smooth/ftsmooth.c +++ b/src/smooth/ftsmooth.c @@ -4,7 +4,7 @@ /* */ /* Anti-aliasing renderer interface (body). */ /* */ -/* Copyright 2000-2001, 2002, 2003 by */ +/* Copyright 2000-2001, 2002, 2003, 2004 by */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* */ /* This file is part of the FreeType project, and may only be used, */ @@ -236,6 +236,9 @@ FT_Render_Mode mode, FT_Vector* origin ) { + if ( mode == FT_RENDER_MODE_LIGHT ) + mode = FT_RENDER_MODE_NORMAL; + return ft_smooth_render_generic( render, slot, mode, origin, FT_RENDER_MODE_NORMAL, 0, 0 ); |