diff -r 000000000000 -r 1fb32624e06b fontservices/referencefonts/utils/ttf2bdf.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fontservices/referencefonts/utils/ttf2bdf.cpp Tue Feb 02 02:02:46 2010 +0200 @@ -0,0 +1,49 @@ +/* +* Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* +*/ + + +#include +#include +#include +#include + +#include "bdfharn.h" + +CTrapCleanup* TrapCleanup; + + +TInt E32Main() + { + FbsStartup(); + TrapCleanup = CTrapCleanup::New(); + + TInt error = 0; + + __UHEAP_MARK; + + CBDFHarness* bdfHarness; + + TRAP(error, + bdfHarness = CBDFHarness::NewL(_L("MAKEBDF"),_L("TTF2BDF v2 - Make bitmap BDF font from scaleable font")); + bdfHarness->MakeBDFFont(); + delete bdfHarness; + __UHEAP_MARKEND; + ); + + delete TrapCleanup; + return error; + }