equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <e32test.h> |
|
21 #include <fbs.h> |
|
22 #include <graphics/fbsdefs.h> |
|
23 |
|
24 #include "bdfharn.h" |
|
25 |
|
26 CTrapCleanup* TrapCleanup; |
|
27 |
|
28 |
|
29 TInt E32Main() |
|
30 { |
|
31 FbsStartup(); |
|
32 TrapCleanup = CTrapCleanup::New(); |
|
33 |
|
34 TInt error = 0; |
|
35 |
|
36 __UHEAP_MARK; |
|
37 |
|
38 CBDFHarness* bdfHarness; |
|
39 |
|
40 TRAP(error, |
|
41 bdfHarness = CBDFHarness::NewL(_L("MAKEBDF"),_L("TTF2BDF v2 - Make bitmap BDF font from scaleable font")); |
|
42 bdfHarness->MakeBDFFont(); |
|
43 delete bdfHarness; |
|
44 __UHEAP_MARKEND; |
|
45 ); |
|
46 |
|
47 delete TrapCleanup; |
|
48 return error; |
|
49 } |