summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/ft.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-24 21:19:46 +0000
committerKarl Berry <karl@freefriends.org>2006-08-24 21:19:46 +0000
commit9ff01d9320cfcd3a7309de56431b2fe981bd288c (patch)
treed857f7e7bd844672c8c67c351a4f7dd9dd289504 /Build/source/texk/dvipng/ft.c
parente2cc8329f876fc8d761568fa2df397189e18a936 (diff)
missed checkin
git-svn-id: svn://tug.org/texlive/trunk@2009 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipng/ft.c')
-rw-r--r--Build/source/texk/dvipng/ft.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/texk/dvipng/ft.c b/Build/source/texk/dvipng/ft.c
index d23017a93ba..262a299f324 100644
--- a/Build/source/texk/dvipng/ft.c
+++ b/Build/source/texk/dvipng/ft.c
@@ -19,7 +19,7 @@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
- Copyright (C) 2002-2005 Jan-Åke Larsson
+ Copyright (C) 2002-2006 Jan-Åke Larsson
************************************************************************/
@@ -44,7 +44,7 @@ void LoadFT(int32_t c, struct char_entry * ptr)
glyph_i = FT_Get_Char_Index( currentfont->face, c );
if (FT_Load_Glyph( currentfont->face, /* handle to face object */
glyph_i, /* glyph index */
- FT_LOAD_RENDER | FT_LOAD_NO_HINTING ))
+ FT_LOAD_RENDER | FT_LOAD_TARGET_LIGHT ))
/* load flags */
Fatal("cannot load FT char %d",c);
ptr->xOffset = -currentfont->face->glyph->bitmap_left*shrinkfactor;
@@ -84,11 +84,15 @@ bool InitFT(struct font_entry * tfontp)
}
# ifdef DEBUG
else {
+# ifdef HAVE_FT_LIBRARY_VERSION
FT_Int amajor, aminor, apatch;
-
+
FT_Library_Version( libfreetype, &amajor, &aminor, &apatch );
- DEBUG_PRINT(DEBUG_FT,("\n FREETYPE VERSION: FreeType %d.%d.%d",
+ DEBUG_PRINT(DEBUG_FT,("\n LIBFT VERSION: %d.%d.%d",
amajor, aminor, apatch));
+# endif
+ DEBUG_PRINT(DEBUG_FT,("\n FREETYPE VERSION: %d.%d.%d",
+ FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH));
}
# endif
}