Run-time selection of FreeType DLL, to let the user decide whether to enable glyph hinting

This was SVN commit r960.
This commit is contained in:
Ykkrosh 2004-08-10 16:01:18 +00:00
parent 023592d23f
commit bd5690def7
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,3 @@
//*
FUNC(FT_Error, FT_Init_FreeType, ( FT_Library *alibrary ));
FUNC(FT_Error, FT_Done_FreeType, ( FT_Library Library ));
FUNC(FT_Error, FT_Open_Face, ( FT_Library library, const FT_Open_Args* args, FT_Long face_index, FT_Face *aface ));
@ -9,5 +8,3 @@ FUNC(FT_Long, FT_MulFix, ( FT_Long a, FT_Long b ));
FUNC(void, FT_Set_Transform, ( FT_Face face, FT_Matrix* matrix, FT_Vector* delta ));
FUNC(FT_Error, FT_Load_Glyph, ( FT_Face face, FT_UInt glyph_index, FT_Int32 load_flags ));
FUNC(FT_Error, FT_Render_Glyph, ( FT_GlyphSlot slot, FT_Render_Mode render_mode ));
//*/
//FUNC(FT_Error, FT_Init_FreeType, ( FT_Library* ));

View File

@ -1,4 +1,4 @@
// $Id: wxapp.cpp,v 1.3 2004/06/19 12:56:09 philip Exp $
// $Id: wxapp.cpp,v 1.4 2004/08/10 16:01:18 philip Exp $
#include "stdafx.h"
@ -31,8 +31,12 @@ bool FontBuilderApp::OnInit()
return true;
}
extern void FreeDLLs();
int FontBuilderApp::OnExit()
{
ConfigDestroy();
FreeDLLs();
return 0;
}