Author: tkreuzer
Date: Mon May 16 15:28:46 2011
New Revision: 51788
URL:
http://svn.reactos.org/svn/reactos?rev=51788&view=rev
Log:
[GDI FONT DRIVER]
Remove obsolete function
Modified:
branches/GSoC_2011/GdiFontDriver/drivers/video/font/ftfd/tttables.c
Modified: branches/GSoC_2011/GdiFontDriver/drivers/video/font/ftfd/tttables.c
URL:
http://svn.reactos.org/svn/reactos/branches/GSoC_2011/GdiFontDriver/drivers…
==============================================================================
--- branches/GSoC_2011/GdiFontDriver/drivers/video/font/ftfd/tttables.c [iso-8859-1]
(original)
+++ branches/GSoC_2011/GdiFontDriver/drivers/video/font/ftfd/tttables.c [iso-8859-1] Mon
May 16 15:28:46 2011
@@ -363,50 +363,6 @@
return TRUE;
}
-ULONG
-NTAPI
-FtfdGetNumberOfKerningPairs(
- PFTFD_FACE pface)
-{
- PFTFD_FILE pfile = pface->pfile;
- PTT_KERNING_TABLE pKerning;
- PTT_KERNING_SUBTABLE pSubTable;
- ULONG i, nPairs = 0;
-
-__debugbreak();
-
- /* Get the kern table for the face */
- pKerning = FtfdFindTrueTypeTable(pfile->pvView,
- pfile->cjView,
- pface->iFace,
- 'nrek',
- NULL);
- if (!pKerning)
- {
- WARN("Couldn't find kerning table\n");
- return 0;
- }
-
- if (pKerning->usVersion != 0)
- {
- WARN("Found unknown version %lx\n", pKerning->usVersion);
- return 0;
- }
-
- /* Start with the first subtable */
- pSubTable = &pKerning->subtable;
-
- /* Loop all subtables */
- for (i = 0; i < pKerning->nTables; i++)
- {
- nPairs += GETW(&pSubTable->format0.nPairs);
- pSubTable = (PVOID)((PCHAR)pSubTable + pSubTable->usLength);
- }
-
- TRACE("Got %ld kerning pairs\n", nPairs);
- return nPairs;
-}
-
INT
__cdecl
CompareKernPair(