Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: source/test/perf/leperf/cfonts.cpp

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « source/test/perf/leperf/cfonts.h ('k') | source/test/perf/leperf/cmaps.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/test/perf/leperf/cfonts.cpp
diff --git a/source/test/perf/leperf/cfonts.cpp b/source/test/perf/leperf/cfonts.cpp
deleted file mode 100644
index a2e5d309754151589452260eb163bbf98f02e303..0000000000000000000000000000000000000000
--- a/source/test/perf/leperf/cfonts.cpp
+++ /dev/null
@@ -1,69 +0,0 @@
-/*
- *
- * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
- *
- */
-
-#include "LETypes.h"
-#include "loengine.h"
-#include "PortableFontInstance.h"
-#include "SimpleFontInstance.h"
-
-U_CDECL_BEGIN
-
-le_font *le_portableFontOpen(const char *fileName,
- float pointSize,
- LEErrorCode *status)
-{
- return (le_font *) new PortableFontInstance(fileName, pointSize, *status);
-}
-
-le_font *le_simpleFontOpen(float pointSize,
- LEErrorCode *status)
-{
- return (le_font *) new SimpleFontInstance(pointSize, *status);
-}
-
-void le_fontClose(le_font *font)
-{
- LEFontInstance *fontInstance = (LEFontInstance *) font;
-
- delete fontInstance;
-}
-
-const char *le_getNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language)
-{
- PortableFontInstance *pfi = (PortableFontInstance *) font;
-
- return pfi->getNameString(nameID, platform, encoding, language);
-}
-
-const LEUnicode16 *le_getUnicodeNameString(le_font *font, le_uint16 nameID, le_uint16 platform, le_uint16 encoding, le_uint16 language)
-{
- PortableFontInstance *pfi = (PortableFontInstance *) font;
-
- return pfi->getUnicodeNameString(nameID, platform, encoding, language);
-}
-
-void le_deleteNameString(le_font *font, const char *name)
-{
- PortableFontInstance *pfi = (PortableFontInstance *) font;
-
- pfi->deleteNameString(name);
-}
-
-void le_deleteUnicodeNameString(le_font *font, const LEUnicode16 *name)
-{
- PortableFontInstance *pfi = (PortableFontInstance *) font;
-
- pfi->deleteNameString(name);
-}
-
-le_uint32 le_getFontChecksum(le_font *font)
-{
- PortableFontInstance *pfi = (PortableFontInstance *) font;
-
- return pfi->getFontChecksum();
-}
-
-U_CDECL_END
« no previous file with comments | « source/test/perf/leperf/cfonts.h ('k') | source/test/perf/leperf/cmaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698