fontservices/referencefonts/utils/ttf2bdf.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 02:02:46 +0200
changeset 0 1fb32624e06b
child 41 ea44a32a96bc
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* 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 <e32std.h>
#include <e32test.h>
#include <fbs.h>
#include <graphics/fbsdefs.h>

#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;
    }